Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Google Custom Search Engine Integration [AdSense capable] Details »
Google Custom Search Engine Integration [AdSense capable]
Mod Version: 1.00, by reteep (Member) reteep is offline
Developer Last Online: Dec 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.7 Rating: (1 vote - 4.00 average) Installs: 15
Released: 17 May 2007 Last Update: 17 May 2007 Downloads: 213
Not Supported Uses Plugins Template Edits  

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: http://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.

Place a search box and search results on your website.
Specify or prioritize the sites you want to include in searches.
Customize the look and feel to match your website.
Invite your community to contribute to the search engine.
AdSense Integration with the Custom Search Engine possible!


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 Google Coop Site , 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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Copy this code into notepad or some other text editor as you need to make a couple of changes to this code, basically you have to wrap a table around it with the standard vbulletin style classes. The changes are pretty straight forward, that's how it should look like:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I marked some attributes red so you don't forget them . 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 Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	gcs.jpg
Views:	974
Size:	25.8 KB
ID:	64426  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases GTSearch: Google™ Custom Search Engine Princeton vBulletin 3.6 Add-ons 287 30 Jun 2015 08:33
Integration with vBulletin vB Google Adsense for Search plus Integration davidw vBulletin 3.7 Add-ons 267 08 Apr 2013 19:49
Integration with vBulletin CFM: Google AdSense for Search Integration Throtex vBulletin 3.6 Add-ons 80 05 Aug 2011 21:42
Add-On Releases vB Google Adsense for Search plus Integration davidw vBulletin 3.6 Add-ons 171 27 May 2008 11:53
Integration with vBulletin google adsense search automatic integration Delphiprogrammi vBulletin 3.6 Add-ons 28 08 May 2008 23:02

Comments
  #2  
Old 17 May 2007, 13:30
Legende Legende is offline
 
Join Date: Jan 2006
seems not to work with vb 3.6.5? it doesn't appear?
Reply With Quote
  #3  
Old 17 May 2007, 13:36
Legende Legende is offline
 
Join Date: Jan 2006
ok made the changes in navbar by myself *clicks install*
Reply With Quote
  #4  
Old 17 May 2007, 13:49
reteep reteep is offline
 
Join Date: Mar 2004
Hi,

as stated above :
NOTE: This works only on vBulletin 3.6.7+ as it's using one of the new navbar hooks introduced in 3.6.7.
As soon as you update to 3.6.7 it will appear and it's integrated cleanly.
Reply With Quote
  #5  
Old 26 Oct 2007, 20:05
induslady induslady is offline
 
Join Date: Jul 2006
Great hack

Hello Reteep,

Great Plugin!

I have installed this in my forum. I am running vB 3.6.8 and I have also implemented blogs. So the search in the forum, includes drop down for searching threads and posts, as well as for searching the blogs.

Implementing your plugin, added Google Custom search in between the forum search and blog search. The style appearance for the blog search got removed on implementing this one.

I am attaching images of how it was before implementing and after implementing the plugin.

Please let me know how I can fix this issue. Thank you for your support.
Attached Images
File Type: jpg Before GCSE_integration.jpg (43.2 KB, 106 views)
File Type: jpg After GCSE_integration.jpg (45.1 KB, 108 views)
Reply With Quote
  #6  
Old 26 Oct 2007, 20:17
reteep reteep is offline
 
Join Date: Mar 2004
Hi IndusLady, did you include the blogsearch also by using a plugin? If this is the case please drop me the link to the plugin so I can test it out.

If you implented that Blog Search Box manually, try moving it above the Hook in the template.
Reply With Quote
  #7  
Old 26 Oct 2007, 23:39
induslady induslady is offline
 
Join Date: Jul 2006
Hello Reteep,

Thanks for the quick response and support. The blog search box appeared when I implemented the vbulletin blog add-on. I didn't implement a separate hack or implement it manually.
Reply With Quote
  #8  
Old 29 Oct 2007, 18:20
reteep reteep is offline
 
Join Date: Mar 2004
Originally Posted by induslady View Post
Hello Reteep,

Thanks for the quick response and support. The blog search box appeared when I implemented the vbulletin blog add-on. I didn't implement a separate hack or implement it manually.
Ahhh, ok. Unfortunately I don't use the blog add-on anywhere yet. I would have to see the code to provide you with a fix as the code of my plugin looks just fine.

Could u provide me with the (HTML) source code which is produced by the complete popup or post the URL where you implented it?

Sorry for the delay, this time I didn't receive an e-mail notifaction of the reply..
Reply With Quote
  #9  
Old 29 Oct 2007, 21:49
induslady induslady is offline
 
Join Date: Jul 2006
Hello Reteep,

I have implemented the blogs in both my test and live forums.
URL of my live forum - http://www.indusladies.com/forums
If you click on the search menu you will see the blog search there.

But I haven't yet implemented your Google CSE plugin in the live forum. It's just there in my test forum. Not sure you will be able to access my test forum (for it is not available to public).

So, I am providing the code in the template...

blog_navbar_search
<tr>
<td class="thead">$vbphrase[search_blogs]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="blog_search.php?$session[sessionurl]do=dosearch" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dosearch" />
<input type="hidden" name="quicksearch" value="1" />
<div><input type="text" class="bginput" name="title" size="25" tabindex="2003" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="2004" /></div>
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="blog_search.php?$session[sessionhash]do=search">$vbphrase[advanced_search]</a></td>
</tr>
Is this what you were looking for? If yes, I can also provide you codes in the template blog_search_results and blog_advanced_search, if required.

Thank you and look forward to your help.
Reply With Quote
  #10  
Old 01 Nov 2007, 16:53
induslady induslady is offline
 
Join Date: Jul 2006
Hello Reteep,

I see that you are calling the below line in 'navbar_search' , which cause the Google Custom search box to appear below the forums search.

$template_hook[navbar_search_menu]

Blogs have got a template 'blog_navbar_search' that displays the blog search option in the drop down.

Is there by any chance the template for your hook Google custom search is called in the blog search template? So that in the search drop down, the forum search appears 1st, the blog search is 2nd and then we have the Google custom search.

What say you?

Advance thanks for your help.
Reply With Quote
  #11  
Old 06 Nov 2007, 16:26
induslady induslady is offline
 
Join Date: Jul 2006
Originally Posted by induslady View Post
Hello Reteep,

Great Plugin!

I have installed this in my forum. I am running vB 3.6.8 and I have also implemented blogs. So the search in the forum, includes drop down for searching threads and posts, as well as for searching the blogs.

Implementing your plugin, added Google Custom search in between the forum search and blog search. The style appearance for the blog search got removed on implementing this one.

I am attaching images of how it was before implementing and after implementing the plugin.

Please let me know how I can fix this issue. Thank you for your support.

Finally, I fixed this background color issue in the search menu on integrating Google Custom search. It works awesome now.

Thanks for this mod.
Reply With Quote
  #12  
Old 15 May 2008, 13:30
Jah-Hools Jah-Hools is offline
 
Join Date: Jul 2007
I would like the custom search to be the first search option, so at the top of the drop down.. How would I do this please?
Reply With Quote
  #13  
Old 22 May 2008, 10:21
imported_predatorkill imported_predatorkill is offline
 
Join Date: May 2005
I've done everything as stated in the guide but i do not see "Make Money" and the GCS Panel and fill in your AdSense ID anywhere. Where is it located exactly?

Ignore the above, this info must be filled in Google Custom Search page. Thanks!

Last edited by imported_predatorkill; 22 May 2008 at 10:30.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:51.

Layout Options | Width: Wide Color: