MyBB Community Forums

Full Version: by mistake
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello

by mistake i tried to edit my profile from acp and i loosed my administrator status and also i m not able to login acp now so what do now?

help please
Run this in phpMyAdmin:

UPDATE `mybb_users` SET `usergroup` = '4' WHERE `uid` = '1';

Make sure your UID is correct before running this.
do i have to put this code in mybb_users

UPDATE `mybb_users` SET `usergroup` = '4' WHERE `uid` = '1';
Yeah, when you're in phpMyAdmin, choose your database from the list on the left, then the SQL tab at the top of the page, paste the code in, and click Go.
yes i did now.

thank you sir.

is it possible in other way if i click mybb_user-->browse and then if i edit my nickname then it will show username,password,userid,salt.......... usergroup.

if i put value 4 in usergroup,then does it makes me administrator?
Yeah, that'll work too Smile
ok thank you sir Smile