• 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?

#1
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?
 

Mike

XenForo developer
Staff member
#2
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
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).
Sadly the Get method doesn't resolve the issue. Hmm... shame.