Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Promote User to Admin
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

web guy
Starting Member

21 Posts

Posted - 03 December 2009 :  10:07:57  Show Profile
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  Show Profile  Visit HuwR's Homepage
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
Go to Top of Page

Etymon
Advanced Member

United States
2396 Posts

Posted - 03 December 2009 :  11:06:21  Show Profile  Visit Etymon's Homepage
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
Go to Top of Page

web guy
Starting Member

21 Posts

Posted - 03 December 2009 :  11:45:50  Show Profile
Thanks guys - the fix HuwR suggested did the trick
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 03 December 2009 :  11:48:54  Show Profile  Visit HuwR's Homepage
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
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 03 December 2009 :  12:54:57  Show Profile
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.”
Go to Top of Page

bshaw
Starting Member

17 Posts

Posted - 04 December 2009 :  17:48:52  Show Profile
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
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 04 December 2009 :  18:16:29  Show Profile  Visit AnonJr's Homepage
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
Go to Top of Page

Etymon
Advanced Member

United States
2396 Posts

Posted - 04 December 2009 :  18:24:13  Show Profile  Visit Etymon's Homepage
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07