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

Can we embed XenForo into our website?

Discussion in 'XenForo Pre-Sales Questions' started by gail, Oct 4, 2016.

  1. gail

    gail Member

    Good Morning,

    We're thinking of getting XenForo for our forum. Can we embed our forum into a page of our website that is not our home page?

    Thank you
     
  2. Mouth

    Mouth Well-Known Member

  3. Tracy Perry

    Tracy Perry Well-Known Member

    Yes, it can be embedded directly.. but you will need to make some specific allowances in the config.php for that. It's not really recommended to embed it.
    As Mouth stated - it's better to locate it in a sub-directory and then just have a link to it as a menu option on your site.
     
  4. gail

    gail Member

    Thanks for your quick replies!

    We're working with a developer for our website. Could you please let me know why it's not recommended to embed it directly? I'd like to relay the info to him. You could give a technical reply if it's needed. Thank you.
     
  5. Tracy Perry

    Tracy Perry Well-Known Member

    https://xenforo.com/community/threads/embed-into-wordpress-page.95482/#post-916668
    https://xenforo.com/community/threads/is-iframing-possible.115848/#post-1065044
    https://xenforo.com/community/threads/iframe.113234/#post-1044113

    It's nothing earth shattering.. you basically (from what I understand) lose the responsive ability of the forum. Disabling clickjacking could cause some other issues also for security.
     
  6. RobParker

    RobParker Well-Known Member

    I'm not sure you're both talking about the same thing when you say "embed".

    XenForo can be made to look like your website and integrate seamlessly. I think that's more what you're interested in.
     
    Last edited: Oct 4, 2016
  7. gail

    gail Member

  8. gail

    gail Member

    Yes, we'd like it to look like the forum is part of the page. So when visitors go to the page, the forum will be right out front on it. Not just a link to it.

    Also, if the forum is embedded into the page, the header, footer and margins can have our website's design rather than a XenForo theme?

    And just to be sure, we wouldn't lose the responsiveness of the forum? And we wouldn't have to disable clickjacking and cause some other issues for security as Tracy Perry mentioned?
     
    Last edited: Oct 4, 2016
  9. RobParker

    RobParker Well-Known Member

    With a custom theme you can certainly make XenForo match your website and integrate into it. @Russ / @Steve F are great at this but there are lots of theme designers who could do it well.
     
    Russ likes this.
  10. gail

    gail Member

    Thank you - you've all been a great help!
     
  11. gail

    gail Member

    Just wondering - when you say integrate, do you mean we'd have the forum in a subdirectory like Mouth suggested?
     
  12. RobParker

    RobParker Well-Known Member

    Not necessarily. The forum can run in the same root as your website if you want it to (with a little configuration).

    You can set it up how you want. Having it in a subdir is often tidier but there might be reasons why you don't want to do that.
     
  13. gail

    gail Member

    Thank you so much - you've all been a great help!
     

Share This Page