The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Search this Forum above threads Details »» | |||||||||||||||||||||||||||
This mod allows you to add a search by forum above threads list.
Included: a dropdown menu to go on advanced search or to search unanswered threads in the forum. https://vborg.vbsupport.ru/vborg_mis...hreadid=214987 In the template "forumdisplay" Find and delete: HTML Code:
<form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform"> <input type="hidden" name="url" value="$url" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="forumid" value="$forumid" /> HTML Code:
<if condition="$show['forumsearch']"> <td class="vbmenu_control" id="forumsearch" nowrap="nowrap"><if condition="$show['quicksearch']"><a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script><else /><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a></if></td> </if> Find: HTML Code:
<!-- / controls above thread list --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> <tr> <td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal"> : $foruminfo[title]</span></td> <td class="vbmenu_control" id="forumtools" nowrap="nowrap"><a href="$show[nojs_link]#goto_forumtools" rel="nofollow">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script></td> <if condition="$show['forumsearch']"> <td class="vbmenu_control" id="forumsearch" nowrap="nowrap"><if condition="$show['quicksearch']"><a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script><else /><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a></if></td> </if> </tr> </table> HTML Code:
<!-- search this forum --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> <if condition="$show['popups'] AND $show['forumsearch']"> <!-- forum search menu --> <form action="search.php?do=process" method="post"> <tr> <td class="thead">$vbphrase[search_this_forum]</td> </tr> <tr align="center"> <td class="alt1" title="nohilite"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="process" /> <input type="hidden" name="forumchoice[]" value="$forumid" /> <input type="hidden" name="childforums" value="1" /> <input type="hidden" name="exactname" value="1" /> <input type="text" class="bginput" name="query" size="25" tabindex="1001" /> <select name="titleonly"> <option value="0" $titleonlyselected[0]>Search Entire Posts</option> <option value="1" $titleonlyselected[1]>$vbphrase[search_titles_only]</option> </select><if condition="$show['nocache']"> <label for="cb_nocache"><input type="checkbox" name="nocache" value="1" id="cb_nocache" />$vbphrase[do_not_use_cached_results]</label></if> <input type="submit" class="button" value="Search" accesskey="s" tabindex="1004" /> <a href="search.php" accesskey="4" rel="nofollow" id="search_forum_h" class=""><img src="$stylevar[imgdir_misc]/menu_open.gif" alt="" title="Advanced Search" border="0" /></a> <script type="text/javascript"> vbmenu_register("search_forum_h",1); </script> </div> <div class="vbmenu_popup" id="search_forum_h_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead" align="left">Search Options</td></tr> <tr><td class="vbmenu_option" align="left"><a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a></td></tr> <tr><td class="vbmenu_option" align="left"><a href="search.php?$session[sessionurl]do=process&forumchoice[]=$forumid&replyless=1&replylimit=0&exclude=30&nocache=1" rel="nofollow">Unanswered Threads</a></td></tr> </table> </div> </td> </tr> </form> </if> </table> <!-- / search this forum --> <form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform"> <input type="hidden" name="url" value="$url" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="forumid" value="$forumid" /> Screenshots
Show Your Support
|
Comments |
#2
|
||||
|
||||
Very nice Sofia. Thank you for this
|
#3
|
||||
|
||||
Another nice one Sofia! :up:
Could I add this above all forum pages? Would I include this code in the header or something? |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
Nominated rated installed
Thanks |
#6
|
||||
|
||||
Quote:
|
#7
|
|||
|
|||
|
#8
|
||||
|
||||
very nice sofia thans installed
|
#9
|
|||
|
|||
Can someone create a TMS file?
|
#10
|
||||
|
||||
Thans Sofia..
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|