MyBB Community Forums

Full Version: I removed myself from the admin group!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was testing a subscription plugin and I accidentally removed myself from the admin group. Now my board has no admins and I am just a regular user.

What do I do to fix this?
Run this query:

UPDATE `mybb_users` SET usergroup='4' WHERE uid='YOUR_USER_ID'

Make sure you change YOUR_USER_ID to your user id, usergroup 4 is by default admin, so that's fine set at 4 unless you've changed that.
How do I run it, I am using visual studios to manage my files etc.
Run in PHPMyAdmin

UPDATE mybb_users SET usergroup=4 WHERE uid=x

Replace x with your user id.
You'd run that query in PHPMyAdmin, usually supplied with servers that have cPanel installed.