Multiple Super Administrators in config.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tsuehpsyde
    Member
    • Aug 2005
    • 34
    • 3.6.x

    Multiple Super Administrators in config.php

    Obviously, to set super administrators, you need to do so in the config.php file. However, I'm not sure what syntax the config file requires to specify multiple super admins. I've tried a couple, but the wrong syntax and it breaks the forum. I'm sure it's something simple, but a quick Google didn't provide any results.

    Thanks.
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    Separate the userids with commas:

    $config['SpecialUsers']['superadministrators'] = '1, 2, 3';
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • tsuehpsyde
      Member
      • Aug 2005
      • 34
      • 3.6.x

      #3
      Yeah I just figured this out as you responded. Thanks for the reply! I did it without spaces, however:

      $config['SpecialUsers']['superadministrators'] = '1,2,3';

      Comment

      • MikeGeorge
        New Member
        • Sep 2007
        • 6
        • 3.6.x

        #4
        Originally posted by Steve Machol
        Separate the userids with commas:

        $config['SpecialUsers']['superadministrators'] = '1, 2, 3';
        I specified two superadministrators but only one userid has SA privileges. I set userid: admin as SA during setup. I went back in and added Michael to config.php but I can't access SA menues when logged in as Michael. Oddly enough, I tried removing admin from the SA line in config.php and only listing Michael. I tried logging into the admin CP again. admin still had SA privileges and Michael didn't. I tried editing config.php on the server and also overwriting the server copy of config.php with an uploaded copy. When I view config.php locally or on the server it looks fine.

        // page, which controls the permissions of other administrators
        $config['SpecialUsers']['superadministrators'] = 'Michael, admin';

        I'm lost. ):

        Michael

        Comment

        • Zachery
          Former vBulletin Support
          • Jul 2002
          • 59097

          #5
          No, as stated USERID's which are numbers like 1 2 3, you entered usernames.

          Comment

          • MikeGeorge
            New Member
            • Sep 2007
            • 6
            • 3.6.x

            #6
            Usernames v. USERIDs

            Originally posted by Zachery
            No, as stated USERID's which are numbers like 1 2 3, you entered usernames.
            Okay. At this point I can figure out USERIDs because I'm just starting the board. How can I determine a USERID once I have a larger member base? I'm looking at the Users section in Admin and I can't find any way to look up a USERID.

            Thanks,

            Mike

            Comment

            • Zachery
              Former vBulletin Support
              • Jul 2002
              • 59097

              #7
              Look up a user in the admincp and a tthe top of the page it will tell you his userid next to his name.

              You can also do

              member.php?u=X where ix is an ID

              Comment

              • MikeGeorge
                New Member
                • Sep 2007
                • 6
                • 3.6.x

                #8
                Re: Look up a user in the admincp

                Originally posted by Zachery
                Look up a user in the admincp and a tthe top of the page it will tell you his userid next to his name.

                You can also do

                member.php?u=X where ix is an ID
                I'm in the admin cp. Whether I use the Quick User Finder in the Quick Administrator Links or if I go to the Users menu and search that way I'm still not seeing USERIDs either before or after I click on a username.

                I must be looking in the wrong place?

                Mike

                Comment

                • Zachery
                  Former vBulletin Support
                  • Jul 2002
                  • 59097

                  #9
                  Search for a username, view their profile via the admincp

                  For exmaple a user from one of my sites: User: IT'S A LION! (id: 431) from the top of the admincp's user profile.

                  Comment

                  Related Topics

                  Collapse

                  Working...
                  😀
                  😂
                  🥰
                  😘
                  🤢
                  😎
                  😞
                  😡
                  👍
                  👎