MyBB Community Forums

Full Version: Default search parameters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The default search box on my forum only searches through thread titles. In order to search through full threads, users must go through the "advance search" page.

I'd like the search box to search through threads, not just thread titles, without users having to first click on "advanced search".

I hope there is a way to do this?

Thank-you

Forum url: ontarioshorefishing.com/forum
admin panel >> configuration >> settings >> Search System >> Search Type --> select full text and save settings.
try search system with above setting.
(2013-06-05, 04:50 PM).m. Wrote: [ -> ]admin panel >> configuration >> settings >> Search System >> Search Type --> select full text and save settings.
try search system with above setting.

I have tried this already and I just tried again. It makes no difference unfortunately.
add <input type="hidden" name="postthread" value="1" /> to your search box code (ref.)
There should be a hidden input field in your searchbox code:

<input type="hidden" name="postthread" value="1" />
will return the search result searching keywords through "entire post".

<input type="hidden" name="postthread" value="2" />
will return the search result searching keywords through "titles only".

Edit: ninja'd :p