![]() |
Admin permissions via db?
one of my well-intentioned but poorly executed admins messed up everyone's admin status and messed up some configurations and opened up our private area. no, we weren't hacked. lol.
now I'm a moderator status access only and can't get into admin to fix things. I can access our host, ftp and db... .I just don't know what to do about once I do. How I do change my admin status via the db or files ? I'm sure there is a way, but I'm not a programmer so... http://images.vbulletin.com/images_v...lies/frown.gif HELP!! |
Looking at my database, I can tell you some things I would try to do, but I don't know if I'd be going about it in the correct way or not...
Are you familiar with getting around your database? queries and such? |
nope. :( I can look at it via phpmyAdmin...
but no idea what to do from there. :/ |
ok... I'll do my best to help in case noone else gets to you tonight...
in phpmyadmin, get to an SQL tab so that you can enter a query and type this: Code:
SELECT usergroupid, title FROM usergroup then, run another query (change the 'you' in the query to YOUR username): Code:
SELECT usergroupid, userid FROM user WHERE username = 'you' Code:
UPDATE user SET usergroupid = 1 where username = 'you' |
Code:
update user |
Agreed.
|
thanks! ..
<< goes to try and proceeds with cautioun. :/ |
Quote:
in your config.php file (which for me is in my includes directory) look for the following: Code:
// ****** UNDELETABLE / UNALTERABLE USERS ****** hth |
Quote:
man heads are gunna roll!! :mad: :dead: :pirate: Quote:
|
All times are GMT. The time now is 06:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|