MyBB Codes
New Admin Tabs Problem. - Printable Version

+- MyBB Codes (http://www.mybbcodes.com)
+-- Forum: Mods Database (/forumdisplay.php?fid=4)
+--- Forum: Plugins for 1.4.x and 1.6.x (/forumdisplay.php?fid=5)
+---- Forum: Support For 1.4.x and 1.6.x (/forumdisplay.php?fid=27)
+---- Thread: New Admin Tabs Problem. (/showthread.php?tid=860)


New Admin Tabs Problem. - Chainzs - 03-01-2010 12:33 AM

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.


RE: New Admin Tabs Problem. - exdiogene - 03-01-2010 09:58 AM

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


RE: New Admin Tabs Problem. - Chainzs - 03-01-2010 11:52 AM

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;


RE: New Admin Tabs Problem. - exdiogene - 03-01-2010 12:07 PM

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


RE: New Admin Tabs Problem. - Chainzs - 03-01-2010 12:28 PM

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';


RE: New Admin Tabs Problem. - exdiogene - 03-01-2010 12:39 PM

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


RE: New Admin Tabs Problem. - Chainzs - 03-01-2010 01:06 PM

oh i see.. not a good move Smile
it's fixed now


thanks exdio


RE: New Admin Tabs Problem. - Sniper4Dz - 06-08-2010 07:26 PM

THankhs you alow

Merci friends for every