MyBB Community Forums

Full Version: My Admin Permissions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
My Admin Permissions have disappeared.
I have been re-seted back to Registered Member group.
Did you changed your Usergroup settings ?
Nope, Only added a Group Promotion.
Ive done nothing for my permissions to be removed.
Run this query in phpMyAdmin:
UPDATE `mybb_users` SET `usergroup` = '4' WHERE `uid` = 'X'

Replace X with your UserID.
Do you have your id as a super id? If you do then it won't be possible to change the permissions on that account:

inc/config.php

$config['super_admins'] = '1';

Make sure your user id is in there.

Matt had a nice write out on what to do if you get hacked and how to prevent it. His site's not loading at the moment but check it out from google's cache:
http://webcache.googleusercontent.com/se...google.com
I did what you told me to do.
I did it and it worked. Now at this minute my group permissions have changed back to registered member.

I have to keep doing that phpmyadmin code.

$config['super_admins'] = '1'; is in the config.php file.
'1' is my user ID.
Check all your files under Admincp >> Tools & Maintenance >> File Verification to make sure non of them have changed.

Deactivate all your plugins.

Your permissions should not change when you are a superadmin.

Make sure your sql passwords are secure and no one other than you have access to your database.
If i do change the MySQL passwords the forum will get a MySQL error.
Thank you.
(2011-04-08, 08:29 PM)Ashley S Wrote: [ -> ]If i do change the MySQL passwords the forum will get a MySQL error.
Thank you.

Then just update the password in inc/config.php as well! Undecided
Well i used
UPDATE mybb_users SET usergroup = '4' WHERE uid = '1'
In my phpmyadmin and it works but now it's not giving me back my admin permissions on the forum.

It worked twice now it's not.
So i think I'm officially getting hacked.

I cannot do anything.
Pages: 1 2 3