MyBB Codes

Full Version: New Admin Tabs Problem.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just promoted one of my good friend to Admin on my forum and he was supposed to be in charge of our "betting" section (using MyBet and MYPS from Lex- and Labrocca) but he seems to have a problem with the tabs in the the Admin CP.

on my account it shows the tabs just like in this picture bellow.

[Image: myadmin.jpg]

but the other admin that was supposed to be in charge of adding all the bets sees it like this.

[Image: otheradmin-1.jpg]

it's almost impossible for him to work with tabs not showing, any idea how to fix this ?
any help would be really appreciated.
thanks

PS: It's not only with the MYBet tabs.. most of the Admin CP tabs i see are not showing on his account.
This is a known issue, some administration functions are not available to "promoted admins" they will be visible only to "super-admins".

You can promote your friend to super-admin using the $config['super_admins'] value in your inc/config.php file. But be aware that your friend will have all the powers you already have... Wink
I've known that guy for like 20yrs, i trust him 100%
and how can i do this ? i just download/edit the config.php file

i was the first user so i guess this is me
$config['super_admins'] = '1';


so i would have to put my new super admin friend's number there instead of the 1 right ? lets say he's user number 200
$config['super_admins'] = '200;
No, you have to follow the directives, just over that field, mentioning :

Quote:[Highlight]/**
* Super Administrators
* A comma separated list of user IDs who cannot
* be edited, deleted or banned in the Admin CP.
* The administrator permissions for these users
* cannot be altered either.
*/

So it would be : $config['super_admins'] = '1,200';

Otherwise you will loose your own admin privileges... Wink
oh crap.. thanks
but it actually worked the other way too, he just gave me the thumbs up that it was working but i will change it to '1,200';

the way i did it was

$config['super_admins'] = '1';
$config['super_admins'] = '200';
Doing this :

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

Is equivalent to this :

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

Because you just replaced the variable value with a new one.

So you excluded yourself from the "super_admins"... Wink
oh i see.. not a good move Smile
it's fixed now


thanks exdio
THankhs you alow

Merci friends for every
Reference URL's