MyBB Community Forums

Full Version: Admin Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I accidentally deleted a usergroup that I administratored under totally erasing my administrator access. Now I cannot go to the Admin panel. How can I edit it manually to get back on it?
Try running these SQL codes in phpMyAdmin

UPDATE mybb_users SET usergroup=4 WHERE uid=1

Replace 1 with your user id and replace mybb_ with your database table prefix if it's different.

Then you recreate your admin usergroup and change yourself to that usergroup.
I noticed this when I upgraded that all user profile pictures and everything were deleted, is there a way to keep those during upgrade process? Maybe the upgrade script should have an option to keep it?
The upgrade script doesn't touch user profile pictures or anything like that.
So it would be okay, not to delete images and stuff? That can just stay on there?
Yeh... Just make sure you have a theme for the version your upgrading too otherwise it might be incompatible.