Announcement

Collapse
No announcement yet.

SUPERAdmins?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mandable
    replied
    Dammit, why cant they just make it easy Super admins and Admins user group :/

    Leave a comment:


  • SharkMatt
    replied
    Thanks Nemon!

    Originally posted by Nemon
    File: admincp/index.php
    Line: 604
    Find:
    Code:
    if ( $debug == 1 )
    {
    // we'll move this out of $debug when the system is all ready
    construct_nav_option(construct_phrase($vbphrase['x_permissions'], vbphrase['administrator']), 'adminpermissions.php?do=modify');
    }
    Replace With:
    Code:
    if ( in_array($bbuserinfo['userid'], preg_split('#\s*,\s*#s', $superadministrators, -1, PREG_SPLIT_NO_EMPTY)) )
    {
    // fixord
    construct_nav_option(construct_phrase($vbphrase['x_permissions'], $vbphrase['administrator']), 'adminpermissions.php?do=modify');
    }

    Leave a comment:


  • Nemon
    replied
    Originally posted by SharkMatt
    can you please help me with it? thx
    File: admincp/index.php
    Line: 604
    Find:
    Code:
    if ( $debug == 1 )
    {
      // we'll move this out of $debug when the system is all ready
      construct_nav_option(construct_phrase($vbphrase['x_permissions'], vbphrase['administrator']), 'adminpermissions.php?do=modify');
    }
    Replace With:
    Code:
    if ( in_array($bbuserinfo['userid'], preg_split('#\s*,\s*#s', $superadministrators, -1, PREG_SPLIT_NO_EMPTY)) )
    {
       // fixord
       construct_nav_option(construct_phrase($vbphrase['x_permissions'], $vbphrase['administrator']), 'adminpermissions.php?do=modify');
    }

    Leave a comment:


  • SharkMatt
    replied
    Originally posted by LoveShack
    Go back and reread the instructions for the fix. The part to be removed involved the $debug check and subsequent closing brace.
    can you please help me with it? thx

    Leave a comment:


  • Paul
    replied
    Go back and reread the instructions for the fix. The part to be removed involved the $debug check and subsequent closing brace.

    Leave a comment:


  • SharkMatt
    replied
    i removed this line and added my userid to config.php3 and it still doesnt show the admin permissions....why?? can someone please help me. thanks

    removed:
    // we'll move this out of $debug when the system is all ready
    construct_nav_option(construct_phrase($vbphrase ['x_permissions'], $vbphrase['administrator']), 'adminpermissions.php?do=modify'
    );

    Leave a comment:


  • jamslam
    replied
    yea i love this feature! i've always wanted it to be able to restric admin access like this... o thanx a lot!

    Leave a comment:


  • Freddie Bingham
    replied
    Originally posted by Exodus
    i dont see the "Admin Permissions" link, i added my user id into the config.php
    Follow the link in my last post.

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Originally posted by freddie
    The "Admin Permissions" link appears in the 'Usergroups' section. Are you not seeing it?
    i dont see the "Admin Permissions" link, i added my user id into the config.php

    Leave a comment:


  • Flack Jacket
    replied
    I commented out the if debug stuff and it shows up for me now.

    that'll teach me to not look hard in the scripts huh

    thanks for all the help

    **thanks for the link...I was fixing it as you were posting that**

    Leave a comment:


  • Freddie Bingham
    replied
    Oh right, someone left it in debug.

    http://www.vbulletin.com/forum/showt...threadid=73509

    Leave a comment:


  • Flack Jacket
    replied
    do I need to turn debug on to see that link?

    I looked in the admin/index.php and it mentions something about it being in debug

    Leave a comment:


  • jamslam
    replied
    Originally posted by drives_fast
    freddie...that link does not appear in my admincp....had that link been there....I would feel extremely stupid
    i too do not see it.. strange...

    whats the difference between a super admin, and a regular admin..?

    Leave a comment:


  • Flack Jacket
    replied
    freddie...that link does not appear in my admincp....had that link been there....I would feel extremely stupid

    Leave a comment:


  • Flack Jacket
    replied
    okay...I got it now

    thank you very much.......that was said above but for somereason that info didn't register before.

    thanks again

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X