|
Google Custom Search Engine Integration [AdSense capable]
This modification is in the archives.
NOTE: This works only on vBulletin 3.6.7+ as it's using one of the new navbar hooks introduced in 3.6.7.
Google Custom Search Engine Integration v1.0.0 http://www.andreas-kraus.net/blog -|- http://www.seo-vault.de If you don't have a Google Custom Search Engine yet, get one here: https://www.google.com/coop/cse/overview (Free Google Account required) With the GCS you have the ability to let Google just search the sites you specify, no other sites.
Instructions: 1) Download the plugin and install the plugin by importing the XML file 2) Edit the new template: navbar_GoogleCustom_Search 3) Go to the https://www.google.com/coop/cse/overview, navigate to your custom search engine control panel, click on "Code", choose the last Layout with the note "Watermark requires Javascript", now you see something like this: Code:
<!-- Google CSE Search Box Begins -->
<form id="searchbox_123412344xxxx672729:-gj4xxodxro" action="http://google.com/cse">
<input type="hidden" name="cx" value="00309xxxxxxxxx12672729:-gjxxxodxxo" />
<input type="hidden" name="cof" value="FORID:1" />
<input name="q" type="text" size="40" />
<input type="submit" name="sa" value="Search" />
</form>
<script type="text/javascript" src="http://google.com/coop/cse/brand?form=searchbox_00309026xxxxxx2729%3A-gj4q4od4ro"></script>
<!-- Google CSE Search Box Ends -->
Code:
<!-- Google CSE Search Box Begins -->
<form id="searchbox_123412344xxxx672729:-gj4xxodxro" action="http://google.com/cse">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Google Custom Search</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="cx" value="00309xxxxxxxxx12672729:-gjxxxodxxo" />
<input type="hidden" name="cof" value="FORID:1" />
<div><input class="bginput" name="q" type="text" size="25" /><input type="submit" name="sa" class="button" value="Go" /></div>
</td>
</tr>
</table>
</form>
<script type="text/javascript" src="http://google.com/coop/cse/brand?form=searchbox_00309026xxxxxx2729%3A-gj4q4od4ro"></script>
<!-- Google CSE Search Box Ends -->
. Copy it back into the vBulletin template, save it and that's it! If you want to have your google custom search engine associated to your AdSense Account hit "Make Money" in the GCS Panel and fill in your AdSense ID.Enjoy! Download
This modification is archived, downloads are still allowed. Screenshots |
|||||||||
Similar Mods
| Add-On Releases GTSearch: Google Custom Search Engine | vBulletin 3.6 Add-ons |
| Integration with vBulletin vB Google Adsense for Search plus Integration | vBulletin 3.7 Add-ons |
| Integration with vBulletin CFM: Google AdSense for Search Integration | vBulletin 3.6 Add-ons |
| Add-On Releases vB Google Adsense for Search plus Integration | vBulletin 3.6 Add-ons |
| Integration with vBulletin google adsense search automatic integration | vBulletin 3.6 Add-ons |