Back to vBulletin 3.5 Template Modifications

Navbar: Search Members
Mod Version: 1.0, by Oblivion Knight

This modification is in the archives.
vB Version: 3.5.1 Rating: (1 vote - 5.00 average) Installs: 29
Released: 09 Oct 2005 Last Update: 09 Oct 2005 Downloads: 15
Not Supported Template Edits  

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>
Replace it with:
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>
OPTIONALLY, if you want to remain fully phrased then run this query:
SQL Query: (how to run queries)
UPDATE `phrase` SET `phrasetypeid` = '1' WHERE `varname` = 'search_members' LIMIT 1;
Then in the navbar template, replace Search Members with $vbphrase[search_members] and you're done.

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

vblts.ru supports vBulletin®, 2022-2024