Back to vBulletin 3.5 Template Modifications

Google FREE (Non Adsense) Search in Search Drop Down
Mod Version: 1.00, by vBulletin THEN DAYLIGHT

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 5.00 average) Installs: 22
Released: 19 May 2006 Last Update: Never Downloads: 92
Not Supported Template Edits  

Add Google Search to 'Search' Drop Down Menu

Unlike other Google Search codes that have been submitted here under 3.5, this one uses the free 'Google on your site' search, so everyone can use it easily. The code has also been modified a bit so it integrates fully with the design your forum, and results will open in a new window so users don't inconvieniently have to leave your site to view results.

Template Mods: 1
Install Time: Just a minute or two

------------------------------
Installation

You can download a copy of these instructions. See the attached txt file.

1) Open 'navbar' template.

2) FIND:-
Code:
$vbphrase[advanced_search]</a></td>
		</tr>
3) UNDERNEATH, ADD:-
Code:
<tr>
			<td class="thead">Google Search</td>
		</tr>
<!-- Search Google -->
<tr><td class="vbmenu_option" title="nohilite">
<FORM method=GET action="http://www.google.com/search" TARGET=_blank>
<input type=hidden name=ie value=ISO-8859-1>
<input type=hidden name=oe value=ISO-8859-1>
<A HREF="http://www.google.com/" target="_blank">
<IMG SRC="http://img220.imageshack.us/img220/9867/googlesearch2yn.gif"" 
border="0" ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q class=bginput size=10 maxlength=255 value="">
<INPUT type=submit class="button" name=btnG VALUE="Search">
</FORM></td></tr>
<!-- Search Google -->
4) Enjoy.

-----------------------------------

For the Google Icon (which must be included, Google will be grumpy if it isn't) I have hosted it on Imageshack for this mod. If you wish to host it yourself, just download the attached image, upload it to your server and edit the URL in the code accordingly. I had to change the image because the original is rather too large.

You may also want to change the size of the input box for forum search from '20' to '25' so it is the width of the menu once the Google Search is included.

Download

This modification is archived and cannot be downloaded.

Screenshots

 

Similar Mods

Integration with vBulletin Google/Adsense Site Search Integrated into Advanced Search Page vBulletin 3.6 Template Modifications
Adding Google AdSense for Search to search.php vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024