MyBB Community Forums

Full Version: Super-Administrator
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to give someone super administrator rank?

Because when I was on the 2nd account give myself an administrator,and try to delete account i make when i install myBB,it says that i'm not a super administrator and that i cant make changes to that account.

So i need to hive my self a super-administrator,but i dont know how,any help? Smile
Open config.php (located in inc folder) and find

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

Replace 1 with your second account user id.

Thanks,it works Big Grin
(2012-01-11, 08:28 PM)Boban198 Wrote: [ -> ]Thanks,it works Big Grin

Was wondering can you add more than 1 admin as super admin
You can,just separate user id's with comma. (example below,replace 1,2,3 with your user id's)
$config['super_admins'] = '1,2,3';
This worked for me also, thanks for the tip!
I know it's a old thread but can we get this added as a feature for 2.0
(2012-12-24, 12:46 AM)david-w Wrote: [ -> ]I know it's a old thread but can we get this added as a feature for 2.0

I assume this is a more secure method of dealing with super admins, so probably not, but with 2.0 being a complete code re-write, who knows.
(2012-12-24, 12:46 AM)david-w Wrote: [ -> ]I know it's a old thread but can we get this added as a feature for 2.0

No. This is the correct way to define the super administrators. It would be insecure to allow someone from the ACP to edit them.