Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Custom Search Box Help
#1
Not Solved
I am having issues implementing a custom search box that searches the entire posts. Currently, it is only searching the titles and I do not know how to change that.

the code in the header_welcomeblock_ templates looks as follows:

<div id="search">
			<form action="{$mybb->settings['bburl']}/search.php" method="post">
				<div class="search_input_wrap"><input name="keywords" class="nav_search_input" title="Enter your search keywords" type="text" /></div>
				<input value="" name="submit-search" class="nav_search_button" type="submit" />
				<input type="hidden" name="action" value="do_search" />
			</form>
			</div>

Here you can look at the forum yourself.

I already found this post on how to create a basic search box, however I do not see the value that changes the search from 'titles only' to 'entire posts'.

Thanks so much in advance!
All about the Dressing Gown - now at the Gentleman's Gazette
#2
Not Solved
http://community.mybb.com/thread-46114.html
#3
Not Solved
I added

<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
and it works fine now.
All about the Dressing Gown - now at the Gentleman's Gazette


Forum Jump:


Users browsing this thread: 1 Guest(s)