FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


how to add admin In database





assee
ok here comes another question.

my question is .

if u have access on database (PHPMYADMIN)

and dont have access in forum .

is there any query which add u as administrator without going to forum (through mysql databse).

just asking i think there should be any ...
mathiaus
That would depend on the forum you are using but have failed to mention.
You should also say why you don't have access to your forum, either you removed the user from the admin group, removed admin group permissions, banned the user etc.
assee
ye.. we had two admin user the other one deleted me / forum was Vbulletin . and only things available for mysql is PHPMYADMIN.

can u tell?
JJGY
Personally, I'm not familiar with the database queries Vbulletin uses, but there should be a table for all of your members. Just find your username in there, and check the status. I'm sure more detailed instructions could be obtained with a quick google search as well.
assee
ye . waiting for mathiaus . or anyone else? please tell
Manofgames
do a search in the db for the rouge admins userid/username.
ignore any table results which you know are wrong, ie the posts table.
in the tables, there should be a status row, or rank etc.
then compare his rows to yours, and change the neccascery things.

I dont know why your asking here though.

Try VB's forum next time.
AOP Web Development
i don't know know about in Vbulletin since im not familiar with it.. but In PHPBB if you want to add as a administrator in the forum just create a ordinary username on the forum and then goto the database and change your user level into 1 and that's all that is how i do in phpbb.. i don't know in VBulletin.. hope it can help.... Laughing Laughing Laughing Laughing Laughing
assee
yEp, I didnt try it ,, But i'll tahnks alot . all who tried to help Very Happy
Related topics
Mysql And PHP HELP PLZ
help add admin in phpbb forum
Mod's Installed and Custom PHP Scripts Made
[RESOLVED] Need Help with pphlogger
Help me please...frontpage help needed!
hosting error......help
Connecting to a mysql DB
Trying to move SQL database
Xitami help needed, please
problem with registration notify mod
News system
Highlighting Search Terms
Templates to the php forum help me
Wordpress: Php is not running
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.