MyBB Community Forums

Full Version: Removed AdminCP access for admins
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey im owner of a MyBB forum so i don't want to be admin, but owner. so i made a Owner group and gave them access to AdminCp. Then i went to the admin group and removed access to adminCp for them. But i forgot to move myself to the Owner group. So now im still a part of the Admin group but i don't have access to admincp. i know that i should run some code in phpMyAdmin. but what do i need to run?


Boards.craftingdreamznetwork.com
UPDATE `mybb_usergroups` SET `cancp` = '1' WHERE `gid` = '4';

Then:

DELETE FROM `mybb_datacache` WHERE `title` = 'usergroups';

Then you'll be able to login.
run this query with your phpmyadmin

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

1 = your user id
6 = owner groupe id
That'll put them in the Moderator usergroup...
(2012-05-27, 05:16 PM)MattRogowski Wrote: [ -> ]That'll put them in the Moderator usergroup...

yes, he should change the 6 with the owner group id Smile
i have no idea what id my Owner group have, so i ran the first one. it works now. Thx for the help