Author |
Topic  |
|
web guy
Starting Member
21 Posts |
Posted - 03 December 2009 : 10:07:57
|
I did a search but didn't find exactly what I am loooking for.
I run a forum and want to pass the admin rights to another user. How can I promote a regular user to administrator and lower myself to a regular user?
I read something about superadmin but I don't see where in the panel to set this. A "New" button seems to be missing from the admin_members.asp page. |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 03 December 2009 : 10:25:27
|
when you are logged in as admin, edit the members profile who you wish to make an admin, and then set their user level as administrator.
If you want that same user to be superadmin then you will need to set the superadmin variable in config.asp to be the same as the members userid |
 |
|
Etymon
Advanced Member
    
United States
2396 Posts |
Posted - 03 December 2009 : 11:06:21
|
By superadmin he means to look for the intAdminMemberID variable. Well, in this case, I guess you could say "constant". I am thinking that's correct. Anyway, you will have to change the numeric value below to the numeric value of member id of the new superadmin ... if that is ever what you want to do.
Const intAdminMemberID = 1
|
Edited by - Etymon on 03 December 2009 11:08:14 |
 |
|
web guy
Starting Member
21 Posts |
Posted - 03 December 2009 : 11:45:50
|
Thanks guys - the fix HuwR suggested did the trick  |
 |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 03 December 2009 : 11:48:54
|
quote: Originally posted by Etymon
By superadmin he means to look for the intAdminMemberID variable. Well, in this case, I guess you could say "constant". I am thinking that's correct. Anyway, you will have to change the numeric value below to the numeric value of member id of the new superadmin ... if that is ever what you want to do.
Const intAdminMemberID = 1
I must try and remember the name of that  |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 03 December 2009 : 12:54:57
|
Don't forget to get the new superadmin to demote you to a regular member if you no longer need access to the administrative sections of the forums.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
bshaw
Starting Member
17 Posts |
Posted - 04 December 2009 : 17:48:52
|
Is it possible to have two simultaneous Administrators (without designating one as Superadmin)?
If it's possible that would allow me (a potential outgoing admin) to bring in and "train" the incoming admin rather than just dumping the job onto someone else. |
Thinking about a classic car? Think Studebaker. www.studebakerdriversclub.com |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 04 December 2009 : 18:16:29
|
You have to designate one (and only one) as the Superadmin, but other than that you can have more than one regular admin. There's a very small number of functions that require Superadmin privileges - mostly those dealing with database changes if I remember right.
So, yes you can be an admin at the same time as your protégé. |
Edited by - AnonJr on 04 December 2009 18:17:26 |
 |
|
Etymon
Advanced Member
    
United States
2396 Posts |
Posted - 04 December 2009 : 18:24:13
|
Your question and my reply should be in the "MOD Add-On Forum (W/O Code)" forum. To answer your question though, you could modify your files to achieve what you are asking.
You could have two or more superadmins at the same time.
Say your member id is 1 and your new admin's member id is 67 ... you could do the following:
In config.asp add an apostrophe in front of Const intAdminMemberID = 1 like this:
'Const intAdminMemberID = 1
Then add this to the bottom of both inc_header.asp and inc_header_short.asp:
if MemberID = 1 or MemberID = 67 then
intAdminMemberID = MemberID
end if What this means is that if either the member with the member id of 1 is logged in or the member with the member id of 67 is logged in, then either of these members is interpreted as being the superadmin.
|
Edited by - Etymon on 04 December 2009 18:44:45 |
 |
|
|
Topic  |
|