|
Page 1 of 2
|
toledo 
Joined: May 2007
Posts: 79
|
 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!?!?!
|
#1 Fri 25 May, 2007 14:18 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
| |
Zuker 
Joined: August 2006
Posts: 2134
Location:  BA
|
 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 - EDDB - LPM - Sharefields
|
#2 Fri 25 May, 2007 14:37 |
|
toledo 
Joined: May 2007
Posts: 79
|
 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 
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...
|
#3 Fri 25 May, 2007 19:22 |
|
Zuker 
Joined: August 2006
Posts: 2134
Location:  BA
|
 Re: Make Main Admin User #1
There is no user id #1, it starts from 2 and for guest is set to -1
____________ ? Zuker - EDDB - LPM - Sharefields
|
#4 Fri 25 May, 2007 19:32 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: 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!?!?!
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.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#5 Sat 26 May, 2007 03:36 |
|
toledo 
Joined: May 2007
Posts: 79
|
 Re: 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!?!?!
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!
|
#6 Sat 26 May, 2007 18:51 |
|
tonyf12
Joined: March 2007
Posts: 204
Location:
|
 Re: 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!?!?!
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?
|
#7 Sun 27 May, 2007 16:03 |
|
toledo 
Joined: May 2007
Posts: 79
|
 Re: Make Main Admin User #1
[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?
|
#8 Sun 27 May, 2007 21:08 |
|
Zuker 
Joined: August 2006
Posts: 2134
Location:  BA
|
 Re: Make Main Admin User #1
There is no #1 So u can't be #1
____________ ? Zuker - EDDB - LPM - Sharefields
|
#9 Sun 27 May, 2007 21:12 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 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.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#10 Thu 31 May, 2007 18:07 |
|
Vortex 
Joined: October 2006
Posts: 412
Location:  Prato, Italy
|
 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.
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?
|
#11 Thu 31 May, 2007 18:31 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 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.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#12 Thu 31 May, 2007 18:40 |
|
Vortex 
Joined: October 2006
Posts: 412
Location:  Prato, Italy
|
 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.
With SQL access I can reactivate myself or set myself as admin, but another admin can still erase my user... no?
|
#13 Thu 31 May, 2007 18:48 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Make Main Admin User #1
You can hardcode this including your ID in common.php...
Try to have a look at it.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#14 Tue 05 Jun, 2007 02:16 |
|
Vortex 
Joined: October 2006
Posts: 412
Location:  Prato, Italy
|
 Re: Make Main Admin User #1
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
|
#15 Tue 05 Jun, 2007 10:18 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
| Link this topic |
| URL |
|
| BBCode |
|
| HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|