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

XF 1.5 Searching forum from search form hosted outside install?

Discussion in 'XenForo Questions and Support' started by MarkMark, Apr 16, 2016.

  1. MarkMark

    MarkMark Member

    I'd like to put a search form on my main page, which is hosted outside the XF dir.

    From the looks of things, the search functionality makes use of a token, so external calls result in a security error.

    Is there any easy way around this?
     
  2. Mike

    Mike XenForo Developer Staff Member

    You could submit the form over GET, which may resolve the issue. Otherwise, any POST request requires an anti-CSRF token. Disabling that for searches would require an add-on (or code modifications).
     
  3. MarkMark

    MarkMark Member

    Sadly the Get method doesn't resolve the issue. Hmm... shame.
     

Share This Page