hello
Add search in this forum to forumhome
you can search in the forum about threads and posts in one forum
How to do this ??
1- open the forumhome_forumbit_level2_post template
2- find this
PHP Code:
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}
3- add this after it
PHP Code:
<li class="popupmenu nohovermenu forumsearch menusearch" id="forumsearch">
<h6><a href="javascript://" class="popupctrl" title="search in this ({vb:raw forum.title}) forum about Threads and posts" >{vb:rawphrase search_this_forum}</a>search</h6>
<form action="search.php?do=process" method="get">
<ul class="popupbody popuphover">
<li>
<input type="text" class="searchbox" name="q" value="{vb:rawphrase search_dots}" />
<input type="submit" class="button" value="{vb:rawphrase search}" />
</li>
<li class="formsubmit" id="popupsearch">
<div class="submitoptions">
<label><input type="radio" name="showposts" value="0" checked="checked" /> {vb:rawphrase show_threads}</label>
<label><input type="radio" name="showposts" value="1" /> {vb:rawphrase show_posts}</label>
</div>
<div class="advancedsearchlink"><a href="search.php?{vb:raw session.sessionurl}search_type=1&contenttype=vBForum_Post&forumchoice[]={vb:raw forumid}" rel="nofollow">{vb:rawphrase advanced_search}</a></div>
</li>
</ul>
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="contenttype" value="vBForum_Post" />
<input type="hidden" name="forumchoice[]" value="{vb:raw forumid}" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
</form>
</li>
save and enjoy