1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 how to add another user to "Super Administrator" ?

Discussion in 'XenForo Questions and Support' started by erich37, Jun 29, 2012.

  1. erich37

    erich37 Well-Known Member

    I would like to add another user-account to be a Super-Administrator.
    So literally when I setup the Forum, I had my first created account being the Super-Administrator, but now I would like to change all Administrator-rights from the current user-account to another user-account.

    I have set the new user to be in the user-group of "Administrator", but I can not log-in into the ACP with this account.

    How to do this properly please ?

    Appreciate your help!
  2. Nasr

    Nasr Well-Known Member

    You should add that user-account to adminstrators through the admin control panel. Then in your config.php in your library directory, edit
    $config['superAdmins'] = 'user id'; to include the user id of that user-account.
    erich37 likes this.
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Add him here (as opposed to just adding him to the group):

    Admin CP -> Users -> Administrators

    Super admins are defined in the library/config.php file:

    $config['superAdmins'] = '1,2,3';
  4. CyclingTribe

    CyclingTribe Well-Known Member

  5. CyclingTribe

    CyclingTribe Well-Known Member

    Damn ... Super-Ninja'd ... lol :ROFLMAO:
  6. erich37

    erich37 Well-Known Member

    thanks a lot guys!!! Worked perfectly fine :)

    one more question, please:
    will this config.php file get overwritten when I upgrade to the latest version of XenForo or will my changes to this file stay in place?

  7. Nasr

    Nasr Well-Known Member

    No. It will not change.
    erich37 likes this.
  8. erich37

    erich37 Well-Known Member

    I have done all this now, but I am having troubles.

    For the new "Super-Admin" user, I can log-in into the ACP. But I am not able to administer the threads via the user-interface.
    Meaning, for example I am not able to "Move Threads" or "Merge Threads" or use any other Admin-function via the user-interface.

    Is there any other thing I am missing? :confused:
  9. Nasr

    Nasr Well-Known Member

    Note: A XenForo administrator has privileges to access systems within the ACP, and is not necessarily a moderator. If you need a user to be able to perform privileged duties in the ACP and the public-facing side of the application, you will need to set up that user as a moderator as well.
    CyclingTribe and erich37 like this.
  10. erich37

    erich37 Well-Known Member

    oooops..... o.k.

    Thanks a lot! :coffee:
  11. Vali

    Vali New Member

    Just needed this.
    Nice and easy.
    Thanks for the help!
  12. Owen Rubin

    Owen Rubin New Member

    So no problem finding the right file, but how do I know what "id" to use there? Which ID? And where do I find a user's ID (if not the Unix ID, as that I know where to find.)
    Also, do I have to restart the forum after editing this file?

  13. whynot

    whynot Well-Known Member

    Click on the user's avatar > Profile page > you will see it in the URL
  14. Owen Rubin

    Owen Rubin New Member

    Excellent. Thank you. So to be clear, I am user #100606 here?
  15. whynot

    whynot Well-Known Member

  16. Danita

    Danita Member

    I hate to sound stupid, AGAIN but how do I find the library/config.php file?
    I went here Admin CP -> Users -> Administrators
    But can't find anything that looks like library?
  17. Brogan

    Brogan XenForo Moderator Staff Member

    It's a file on the server.

    You need to use an FTP application or file manager in cPanel to access it.
  18. Owen Rubin

    Owen Rubin New Member

    Hi Danita,

    Did you understand Brogan's answer? You cannot get to the file via the forum itself. You will need to log into the server that the forum runs on, and use an editor via a terminal program, or an FTP program to download, edit, and replace that file. I had to poke through the directories to find it, but it is there.
    Danita likes this.
  19. Brogan

    Brogan XenForo Moderator Staff Member

    It's the file highlighted in this screenshot.

    Danita likes this.
  20. Danita

    Danita Member

    No, I didn't, thanks for asking though! Let me post a pic of what it looks like and maybe someone can tell me where it is.

Share This Page