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

XF 1.3 Importing with preset super admin

Discussion in 'Installation, Upgrade, and Import Support' started by Neil E., Feb 5, 2015.

  1. Neil E.

    Neil E. Active Member

    From the guidelines:
    Does mean no users at all? Not even the administrator? Let's say my username in the imported data is the same as what I have in the destination forum. What happens?

    I'm thinking that a super admin with a unique username should exist so that this super admin will not acquire anything during the import. The super admin is then possibly accessible if anything goes wrong.

    I see that a super admin can only be created using myforum/library/config.php
    It currently contains $config['superAdmins'] = '1';
    Does the comma separated list go on a new line directly after this? What is the correct syntax?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Neil E.

    Neil E. Active Member

    Thanks, Brogan. This raises another question. Since I am the only user at present, I have to assume that I am user ID 1 and thus a super admin. Where is the user number displayed? When I check my info, it only shows "administrator" as highlighted (not super administrator).

    Edit User.jpg
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Click on the user name and check the URL in the browser address bar.
    The id is shown after the user name.

    Administrator links to the admin permissions.
     
  5. Neil E.

    Neil E. Active Member

    OK I see it. It appears there is no super admin group, so the only way to know who is a super admin is to access config.php, correct?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Click on the Administrators link.

    They are denoted there.

    upload_2015-2-5_23-0-46.png
     
  7. Neil E.

    Neil E. Active Member

    Thanks, haven't used that link for quite a while. One other thing, I'm going import into the test forum only at this time. In this case I do NOT want the automatic redirects to be applied. Is there a simple way to prevent this during the import?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    What automatic redirects?
     
  9. Neil E.

    Neil E. Active Member

    In the Importing section of the XF manual, under Redirecting URLs, there is a statement: Currently, forums, threads, posts and attachments are redirected. Also, "An important aspect of importing is being able to automatically redirect any traffic from the old pages to the new ones."

    I don't want search engines to follow a change in the content location. Perhaps I'm not grasping the intent of these statements.
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    You have to implement the redirects.
    If you don't nothing will be redirected.
     
  11. Neil E.

    Neil E. Active Member

    Great, thanks.
     

Share This Page