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

XF 1.2 Super Admin

Discussion in 'XenForo Questions and Support' started by LuvMeSumZen, Oct 27, 2013.

  1. LuvMeSumZen

    LuvMeSumZen Active Member

    I keep getting a message telling me I cannot do certain things because I'm not a super admin. I am the site owner, how do I make myself a SA?
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    In your config.php file, is this line:

    PHP:
    $config['superAdmins'] = '1';
    That is created by default. The user with user ID 1 is by default a Super Admin.

    You can change that to the user ID of any other user.

    Or you can add additional users:

    PHP:
    $config['superAdmins'] = '1,2,3';
     
  3. LuvMeSumZen

    LuvMeSumZen Active Member

    Thanks for that answer - but it kind of goes without saying if I don't know that, then I have no clue where to do it lol. Is this something I can do from the acp or do I need to do it in cpanel or from myphpadmin etc.? Thanks for all your help on all my issues Chris I really appreciate it. (y)
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

  5. Brogan

    Brogan XenForo Moderator Staff Member

    The config.php file is in the /library directory on your server.

    Connect to the server using an FTP application.
    Download the file to your PC.
    Edit it using a suitable application such as Notepad++.
    Upload it again to the /library directory using the FTP application.
     
    AndyB and LuvMeSumZen like this.
  6. LuvMeSumZen

    LuvMeSumZen Active Member

    Thank you Brogan that was a big help.
     
  7. LuvMeSumZen

    LuvMeSumZen Active Member

    Is it one or both of these files with the red dots? I hope this isn't something that's not really supposed to be asked here, if so just let me know.

    phpfile.jpg
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    The lower one - the file type is PHP File.
    The other one is config.php.default.

    Drag the column to make it wider and you will see the full name.
     
    LuvMeSumZen likes this.
  9. Liam W

    Liam W Well-Known Member

    The .php one. One has the .php.default extension, one has the .php extension :)

    Liam
     
    LuvMeSumZen likes this.
  10. LuvMeSumZen

    LuvMeSumZen Active Member

    Thanks for bearing with me. I draged but did not show more. So you want me to copy the file or actually move it to edit? because if I move it, that will not effect the performance of my forum while it's gone?
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    Copy it to your PC.
    Edit it.
    Upload it again.
     
    LuvMeSumZen likes this.
  12. LuvMeSumZen

    LuvMeSumZen Active Member

    Thanks all for the excellent help. I right clicked the file and an edit window popped up in notepad. Saved after the edit and it asked if I wanted to reload to the server. Checked my status and I am now SA. Thanks very much for the help and for those links to the manuals too - I am reading them. Trying to anyway ha . . .
     
    Alien likes this.

Share This Page