Site in read-only mode

This site is now read-only following the release of MyBB 1.8 and the new mods site.

If you are looking for MyBB 1.8 mods please click here to visit the new mods site.

You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.

Search box in header

Add a stylish, simple and short search box in header.


This tutorial would help you adding nice, simple and sweet search box in your header without requirement of any additional images.

Find in header template:

PHP Code:
<div id="header"


After it, add:

PHP Code:
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<
tr>
<
td class="thead"><strong>Search</strong> <span class="smalltext"><a href="search.php">(advanced search)</a></span></td>
</
tr>
<
tr>
<
td class="trow1" align="center">
<
form method="post" action="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="textboxse" name="keywords" value="" />
<
input type="submit" class="button" value="Go" />
</
form>
</
td>
</
tr>
</
table


Done. You should now have a search box like below:

[img]http://img507.imageshack.us/img507/5759/d83e5061038b4bf79838478.png[/img]