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 / Current Version (Old)
 Developers: How do I change admin's user/pass?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RDoGG2k1
Starting Member

6 Posts

Posted - 20 June 2001 :  14:43:15  Show Profile
i am wondering...is there a way to change the admin's username and password? Please respond. Thanks.

===================
RDoGG2k1.
===================

big9erfan
Average Member

540 Posts

Posted - 20 June 2001 :  14:45:13  Show Profile
You can change the pass:

Login with an admin account ( admin if need be ) go to go to edit profile and change the password





http://www.ugfl.net/forums
Go to Top of Page

RDoGG™
Junior Member

USA
329 Posts

Posted - 20 June 2001 :  14:46:33  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message


quote:

You can change the pass:

Login with an admin account ( admin if need be ) go to go to edit profile and change the password


http://www.ugfl.net/forums



(i tried that)
and the username?

i want it to be something like this username (Admin™).

will that work?



Go to Top of Page

RDoGG™
Junior Member

USA
329 Posts

Posted - 20 June 2001 :  14:56:07  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
quote:



quote:

You can change the pass:

Login with an admin account ( admin if need be ) go to go to edit profile and change the password


http://www.ugfl.net/forums



(i tried that)
and the username?

i want it to be something like this username (Admin™).

will that work?







ok...i figured it out...

i examined the admin_login.asp code and found this:

strSql = "SELECT MEMBER_ID "
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS "
strSql = strSql & " WHERE M_NAME = '" & Name & "' AND "
strSql = strSql & " M_PASSWORD = '" & Password & "' AND "
strSql = strSql & " M_LEVEL = 3"


all you have to do is edit the record from the FORUM_MEMBERS table that has "M_LEVEL" of 3.

You can also create a new record in the FORUM_MEMBERS table as long as M_LEVEL is 3. it appears that 3 is the level for administration.

Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 20 June 2001 :  16:15:09  Show Profile
If you open up the table ( in Access ) you can change the name to anything you want, but this is NOT advised by myself or the Snitz Developers.

Why not LOCK the Admin account after creating a new account ( with admin level ) and make that admin ( with the TM )

FYI

mLev meanings
0 - not logged in
1 - logged in
2 - author of specific post
3 - Moderator
4 - Admin




http://www.ugfl.net/forums
Go to Top of Page

dssww
Junior Member

USA
182 Posts

Posted - 20 June 2001 :  16:30:33  Show Profile  Visit dssww's Homepage
Make sure you always have a member called Admin! If not anyone can go to your board & register as admin and have admin privledges!


Go to Top of Page

RDoGG™
Junior Member

USA
329 Posts

Posted - 21 June 2001 :  15:42:38  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
oh thanks. what i'll do is create a javascript function that runs when the signup form is submitted.

it will check whether the fields required are filled in and whether the username field is "admin". if the user field is admin or any of the fields aren't filled in, the form will alert the user about the problem.



quote:

Make sure you always have a member called Admin! If not anyone can go to your board & register as admin and have admin privledges!








Edited by - RDoGG™ on 21 June 2001 15:44:38
Go to Top of Page

RDoGG™
Junior Member

USA
329 Posts

Posted - 22 June 2001 :  15:12:13  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
quote:

oh thanks. what i'll do is create a javascript function that runs when the signup form is submitted.

it will check whether the fields required are filled in and whether the username field is "admin". if the user field is admin or any of the fields aren't filled in, the form will alert the user about the problem.



quote:

Make sure you always have a member called Admin! If not anyone can go to your board & register as admin and have admin privledges!








Edited by - RDoGG™ on 21 June 2001 15:44:38



or should i find the code in the register file that makes users w/ username of ADMIN administrators?

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 22 June 2001 :  23:16:57  Show Profile
quote:
or should i find the code in the register file that makes users w/ username of ADMIN administrators?
The forum is not going to make anyone admin when they sign up. He just meant not to delete the "Admin" account that is thier by default. So you don't need any javascript function.

- David
Go to Top of Page

RDoGG™
Junior Member

USA
329 Posts

Posted - 06 July 2001 :  18:27:34  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
quote:

quote:
or should i find the code in the register file that makes users w/ username of ADMIN administrators?
The forum is not going to make anyone admin when they sign up. He just meant not to delete the "Admin" account that is thier by default. So you don't need any javascript function.

- David



so i don't need an account named "Admin"? cool.

RDoGG™
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 07 July 2001 :  00:48:26  Show Profile
He just meant not to delete the "Admin" account that is thier by default.

No, I didn't say that. I said if you do delete or rename the "Admin" account, (which is not recommended), that if someone registered with the username "Admin", they won't get admin privileges.

- David
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