Navbar: Search Members
This modification is in the archives.
This template edit will add a "Search Members" search box taken from the Memberlist, directly below the "Search Forums" search box.
Edit your navbar template, find: HTML Code:
<if condition="$show['searchbuttons']"> <!-- header quick search form --> <div class="vbmenu_popup" id="navbar_search_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[search_forums]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <form action="search.php" method="post"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="showposts" value="0" /> <input type="hidden" name="quicksearch" value="1" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="text" class="bginput" name="query" size="20" />$gobutton<br /> </form> </td> </tr> <tr> <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td> </tr> </table> </div> <!-- / header quick search form --> </if> HTML Code:
<if condition="$show['searchbuttons']"> <!-- header quick search forms --> <div class="vbmenu_popup" id="navbar_search_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[search_forums]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <form action="search.php" method="post"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="showposts" value="0" /> <input type="hidden" name="quicksearch" value="1" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="text" class="bginput" name="query" size="20" />$gobutton<br /> </form> </td> </tr> <tr> <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td> </tr> </table> <if condition="!$show['usergroup']"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">Search Members</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <form action="memberlist.php" method="post"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="getall" /> <input type="text" class="bginput" name="ausername" size="20" value="" title="$vbphrase[username]" />$gobutton </form> </td> </tr> <tr> <td class="vbmenu_option"><a href="memberlist.php?$session[sessionurl]do=search">$vbphrase[advanced_search]</a></td> </tr> </table> </if> </div> <!-- / header quick search forms --> </if> SQL Query: (how to run queries)
UPDATE `phrase` SET `phrasetypeid` = '1' WHERE `varname` = 'search_members' LIMIT 1; Screenshot attached.. Download This modification is archived and cannot be downloaded. Screenshots
|
Similar Mods
End-User Options Search Social Groups Link On Navbar Search | vBulletin 3.7 Add-ons |
Boolean Search in Search Drop-Down Menu Option in Navbar | vBulletin 3.5 Template Modifications |
Search For Members In Navbar Dropdown | vBulletin 3.0 Template Modifications |