Back to vBulletin 3.0 Add-Ons

Google search in Navbar
Mod Version: 1.00, by attroll

This modification is in the archives.
vB Version: 3.0.1 Rating: (0 vote - 0 average) Installs: 2
Released: 30 Jun 2005 Last Update: Never Downloads: 0
Not Supported Template Edits  

At the request from a couple others I am posting this. This hack that lets you put a Google search bar in your navagation bar. It gives you the options of Google searching your site or the intire web.

To add your site you will have to replace "your-site.com" with your sites domain name in the code that you need to add below.

Go to navagation / breadcrumb templates and go to navbar.

Find:
Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>
After that add:
Code:
<!-- SiteSearch Google -->
<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<form method="get" action="http://www.google.com/custom" target="google_window">
<table border="2" cellspacing="0" cellpadding="0" style="border-collapse: collapse" height="1" width="100%" bgcolor="#F0F0F0" bordercolor="#336600">
<td bgcolor="#D6D6D6"><center>
<input type="hidden" name="domains" value="your-site.com"></input>
<input type="text" name="q" size="40" maxlength="255" value=""></input>
<input type="radio" name="sitesearch" value="" checked="checked"></input>
<font size="-1" color="#000000">Web</font>
<input type="radio" name="sitesearch" value="your-site.com"></input>
<font size="-1" color="#000000">your-site.com</font>
<input type="submit" name="sa" value="Google"></input>
<input type="hidden" name="client" value="pub-2871740088182458"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="safe" value="active"></input> 
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>
<input type="hidden" name="hl" value="en"></input>
</center>
</td>
</TABLE>
</form>
</div>
</td>
<!-- SiteSearch Google -->

Download

No files for download.

Screenshots

 

Similar Mods

Add-On Releases Google/Adsense Site Search Navbar Integration vBulletin 3.6 Template Modifications
Add Google adsense search to your navbar dropdown vBulletin 3.5 Template Modifications
Google Search in navbar vBulletin 3.5 Template Modifications
Google search of your site in navbar vBulletin 3.0 Template Modifications

vblts.ru supports vBulletin®, 2022-2024