MyBB Community Forums

Full Version: a plugin i can use or something?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there anyway i can put a search bar at the top of my page? or do i need a plugin? i want an actual search bar, not a link for a search.
ACP -> Templates and Styles -> Templates -> Defaults -> Default Templates -> 
Header templates -> header (where within the code you insert this depends on where you want the search bar) 
<a name="top" id="top"></a>
<div style="float:right;">
<td class="trow1" align="center">
<form method="post" action="{$mybb->settings['bburl']}/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" class="textbox" name="keywords" value="" />
<!-- start: gobutton -->
<input type="submit" class="button" value="Go" />
<!-- end: gobutton -->
</form>
</td>
</div>