MyBB Community Forums

Full Version: reset admin group permission?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Usually admin user is user id 1
and Group ID 4

But, sadly.. due to some testing..
I wrongly change the group id 4 permission to a moderator only.
And change the Moderator group to admin, but..
No user belongs to admin already Sad

I tried this:

To put you back into the Admin usergroup if you get changed to a different group (Assuming that the admins user ID is "1"):
UPDATE `mybb_users` SET `usergroup` = '4' WHERE `uid` = '1' 


Amusing I want the user id 5 to be the admin, and the moderator ID is 3:

UPDATE `mybb_users` SET `usergroup` = '3' WHERE `uid` = '5' 

I can access admincp now, but just home tab Sad
How to enable all the tabs for admin area ?
Just go to PhPMyAdmin and proceed to mybb_users table and in the row of your username, change the usergroup number to the one's of admin.

^Do that if the query is not working by any chance or if feeling difficulty to do it.
I can access admincp now, but just home tab Sad
How to enable all the tabs for admin area ?
Enable all admin permissions to a user?
NVM Closed.
It does all if you've changed from PhPMyAdmin.