Back to vBulletin 3.7 Template Modifications

Google Search Box BBCode
Mod Version: 1.00, by TheInsaneManiac

This modification is in the archives.
vB Version: 3.7.x Rating: (0 vote - 0 average) Installs: 20
Released: 20 Jun 2008 Last Update: Never Downloads: 91
Not Supported External Content  

Instead of pointing new people to google, how about putting it right in front of them?

Title: Google

Tag: google

Replacement:
Code:
<form method="get" action="http://www.google.com/search">
<div style="border:1px solid black;padding:4px;width:20em;">
<table border="0" cellpadding="0">
<tr><td>
<input type="text"   name="q" size="25"
 maxlength="255" value="{param}" />
<input type="submit" value="Google Search" /></td></tr>
<tr><td align="center" style="font-size:75%">
<input type="checkbox"  name="sitesearch"
 value="http://yourwebsite.com" /> Only search Website Title<br />
</td></tr></table>
</div>
</form>
Example: [google]VBulletin[/google]

Description: Point members in the correct direction

Use option: No

Button image (Optional): images/google.gif

Remove Tag If Empty: Yes

Disable BB Code Within This BB Code: Yes

Disable Smilies Within This BB Code: Yes

Disable Word Wrapping Within This BB Code: No

Additional: If you wish for "Only search" to be checked first then:

Replace:
Code:
<input type="checkbox"  name="sitesearch"
 value="http://yourwebsite.com" /> Only search Website Title<br />
With:
Code:
<input type="checkbox"  name="sitesearch"
 value="http://yourwebsite.com" checked /> Only search Website Title<br />


Final Step
Now just find this in the replacement code:
Code:
<input type="checkbox"  name="sitesearch"
 value="http://yourwebsite.com" /> Only search Website Title<br />
Put your website link in the "Value" field and the website title in the "Only search" area.

NOTE: If you are going to use an image, download the Google BBCode Image and extract the google.gif. Upload it to your forum's images folder and you are set.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s BBCode Image.zip (1.1 KB, 102 downloads)

Screenshots

Click image for larger version
Name:	Google Search Box.jpg
Views:	896
Size:	9.4 KB
ID:	82643  

Similar Mods

Integration with vBulletin Google/Adsense Site Search Integrated into Advanced Search Page vBulletin 3.6 Template Modifications
Google FREE (Non Adsense) Search in Search Drop Down vBulletin 3.5 Template Modifications
Adding Google AdSense for Search to search.php vBulletin 3.5 Template Modifications
BBcode Search specific site with Google vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024