Icy Phoenix

     
 

Make Main Admin User #1

Make Main Admin User #1

Article
Reply with quote    Download Post  
Post Make Main Admin User #1 
 
The main admin is user # 2 is there any way to make him no # 1 ?? without any problems
cuz in memberlist it shows 1 and in the post, 2

cuz i tried changing with phpmyadmin....but after that....the main admins posts didnt show in the forum at all!?!?!



 
toledo - View user's profile Send private message  
toledo [ Fri 25 May, 2007 14:18 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


Make Main Admin User #1

Comments
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
Don't change user id's!

Almost all the features are associed with user_id. So if u change it, you'll cause only trouble



 
Zuker - View user's profile Send private message  
Zuker [ Fri 25 May, 2007 14:37 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
Zuker wrote: [View Post]
Don't change user id's!

Almost all the features are associed with user_id. So if u change it, you'll cause only trouble


Thanks for the advice Zuker. I think when we start fresh (ie 0 posts and users) ...then we can change user ID...but too bad...



 
toledo - View user's profile Send private message  
toledo [ Fri 25 May, 2007 19:22 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
There is no user id #1, it starts from 2 and for guest is set to -1



 
Zuker - View user's profile Send private message  
Zuker [ Fri 25 May, 2007 19:32 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
toledo wrote: [View Post]
The main admin is user # 2 is there any way to make him no # 1 ?? without any problems
cuz in memberlist it shows 1 and in the post, 2

cuz i tried changing with phpmyadmin....but after that....the main admins posts didnt show in the forum at all!?!?!

Memberlist shows a progressive counter starting from one... that is not the real ID.

In viewtopic you have the real ID.


Forget to change ID to one... you'll have many problems.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sat 26 May, 2007 03:36 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
Mighty Gorgon wrote: [View Post]
toledo wrote: [View Post]
The main admin is user # 2 is there any way to make him no # 1 ?? without any problems
cuz in memberlist it shows 1 and in the post, 2

cuz i tried changing with phpmyadmin....but after that....the main admins posts didnt show in the forum at all!?!?!

Memberlist shows a progressive counter starting from one... that is not the real ID.

In viewtopic you have the real ID.


Forget to change ID to one... you'll have many problems.


Thanx mighty!



 
toledo - View user's profile Send private message  
toledo [ Sat 26 May, 2007 18:51 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
toledo wrote: [View Post]
Mighty Gorgon wrote: [View Post]
toledo wrote: [View Post]
The main admin is user # 2 is there any way to make him no # 1 ?? without any problems
cuz in memberlist it shows 1 and in the post, 2

cuz i tried changing with phpmyadmin....but after that....the main admins posts didnt show in the forum at all!?!?!

Memberlist shows a progressive counter starting from one... that is not the real ID.

In viewtopic you have the real ID.


Forget to change ID to one... you'll have many problems.


Thanx mighty!


Why do you want to change it?



 
tonyf12 - View user's profile Send private message  
tonyf12 [ Sun 27 May, 2007 16:03 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
tonyf12 wrote: [View Post]
toledo wrote: [View Post]
Mighty Gorgon wrote: [View Post]
[quote user="toledo" post="15068"]The main admin is user # 2 is there any way to make him no # 1 ?? without any problems
cuz in memberlist it shows 1 and in the post, 2

cuz i tried changing with phpmyadmin....but after that....the main admins posts didnt show in the forum at all!?!?![/quote]
Memberlist shows a progressive counter starting from one... that is not the real ID.

In viewtopic you have the real ID.


Forget to change ID to one... you'll have many problems.


Thanx mighty!


Why do you want to change it?


I mean come on....shouldnt the main admin be No. 1? instead of 2?



 
toledo - View user's profile Send private message  
toledo [ Sun 27 May, 2007 21:08 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
There is no #1 So u can't be #1



 
Zuker - View user's profile Send private message  
Zuker [ Sun 27 May, 2007 21:12 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
He can be number one, but all the codes and mods based on main admin id = 2 won't work fine.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Thu 31 May, 2007 18:07 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
Mighty Gorgon wrote: [View Post]
He can be number one, but all the codes and mods based on main admin id = 2 won't work fine.



Sometimes ago I raised the same question... is it possibile to have a list of where to find the admin id = 2 related mods in order to changing them?


For example, I am a secondary admin but the previous admin is selling me the domain and the site, I'd like to set myself as main admin... is it a problem to list at least the files involved?



 
Vortex - View user's profile Send private message  
Vortex [ Thu 31 May, 2007 18:31 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
I haven't a list, you should try to search in all the files.

What is the problem on being admin with a different id? If you have access to FTP and MySQL it's not important the id you have... what is important is just that you have admins privileges.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Thu 31 May, 2007 18:40 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
Mighty Gorgon wrote: [View Post]
I haven't a list, you should try to search in all the files.

What is the problem on being admin with a different id? If you have access to FTP and MySQL it's not important the id you have... what is important is just that you have admins privileges.



With SQL access I can reactivate myself or set myself as admin, but another admin can still erase my user... no?



 
Vortex - View user's profile Send private message  
Vortex [ Thu 31 May, 2007 18:48 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
You can hardcode this including your ID in common.php...

Try to have a look at it.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Tue 05 Jun, 2007 02:16 ]
Reply with quote    Download Post  
Post Re: Make Main Admin User #1 
 
Mighty Gorgon wrote: [View Post]
You can hardcode this including your ID in common.php...

Try to have a look at it.



I have an examination on thursday, I'll try just after it



 
Vortex - View user's profile Send private message  
Vortex [ Tue 05 Jun, 2007 10:18 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next