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

XF 1.2 XenForo Test Environment (Sandbox)

Discussion in 'XenForo Questions and Support' started by sgr, Jan 3, 2014.

  1. sgr

    sgr Active Member

    Hi,

    How do I create a sandbox for my forum? I'd like to play around with the changes before they go live on my forum. Is it possible to do that with one instance of XenForo which I have purchased?

    I couldn't find anything on it in the XenForo website, there was just a PayPal sandbox in the resources.

    Any help would be appreciated.


    Thanks! :)
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    To create a sandbox'd environment, you would need to copy the files to a new directory as well as import the database into a copy of itself. You would then need to update the configuration file so it points to the new database. Once you lock down the test site (per the license agreement), you'll be able to make any changes necessary.
     
  3. sgr

    sgr Active Member

    That sounds good. Thanks @Jeremy . So I could have my live site up and running, and the sandbox running side by side with the same license which I have purchased. I could have a URL for the sandbox and test the add-ons and other changes there, and then put them up on the live site.. ?
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Yes, per the license agreement:
     
    sgr likes this.
  5. sgr

    sgr Active Member

    Thanks!

    So I'll create another instance of XenForo on my server, which would be password protected and accessed only by the admin staff (which includes the owner). The other instance would be the licensed one, and the one running on the live site. That fits in the agreement I think.
     
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    Yes, it does.
     
  7. sgr

    sgr Active Member

    Thanks :)
     
  8. sgr

    sgr Active Member

    My XenForo installation is at such a URL: xyz.com/forums

    I've seen some sandbox environments which are at a completely different URL than the website. I want to place mine at: xyz.com/forums/sandbox or xyz.com/forumsandbox

    Will this be fine as per the agreement? It will be password protected and accessed by the website admins only.
     
  9. Jeremy

    Jeremy XenForo Moderator Staff Member

    Yes.
     
  10. sgr

    sgr Active Member

    Cool. Thanks! :)
     
  11. cdub

    cdub Well-Known Member

    Once you have your sandbox set up how you like it... how then do you apply the changes to the live site?
     
  12. rainmotorsports

    rainmotorsports Well-Known Member

    Depends on what it is. In one sense you don't lol.

    If its theme changes export and import. Other stuff? Duplicate by hand. If its permissions you can try exporting via SQL and delicately importing but its only for those knowing exactly what they are doing and even then anyone will say don't.
     
  13. cdub

    cdub Well-Known Member

    Is there a way to make it so a certain user sees a certain style? That way I can work on my customizations and only have one user (myself) see the design changes and everyone else just sees the regular site.
     
  14. Amaury

    Amaury Well-Known Member

    Disable the style you're working on to the public and only admins will be able to see it.
     
  15. cdub

    cdub Well-Known Member

    Nevermind I just figured it out. I can create another style and make it user select-able and then choose that style. Awesome.
     
  16. cdub

    cdub Well-Known Member

    Thanks - just figured it out. :) Sometimes I answer my own question just by asking it. :)

    I'm still nervous about changing too much on the admin in fear that I might break something. I guess I need to get over that fear. :)
     
  17. Amaury

    Amaury Well-Known Member

    If you mess up on a style and don't know how to fix the issues, you can always revert it back to the default settings / colors or create a new default style.
     

Share This Page