Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Google/Adsense Site Search Navbar Integration Details »
Google/Adsense Site Search Navbar Integration
Mod Version: 1.00, by davidw (Contributor) davidw is offline
Developer Last Online: Apr 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.7 Rating: (11 votes - 4.73 average) Installs: 101
Released: 04 Oct 2006 Last Update: 16 Jun 2007 Downloads: 377
Not Supported  

Since the vbadvanced google/adsense integration I came out with a while back I had wanted to think of a way to do this to the navbar, but I didn't really care for the old navbar's search - until the 3.6 version came out. I like this new version and I've now decided to come write my own based on what I did with my original for vbadvanced.

It's fairly simple...

Go to your admincp => Styles & Templates => Style Manager => look for your style to do this to and under All Style Options click Edit Templates

In your navigation bar, find


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

and replace with


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

Replace pub-1234567890123456 with your pub- number
In the line <input name="cof" type="hidden" value="GALT:">, Replace value="GALT:" with your information (this contains information that controls how your search results are displayed - this won't necessarily start with GALT.
Replace www.yoursite.com with your website in both places
Replace Yoursite.com with your website

I have updated this for 3.6.7 - there is a small change, but enough for an update.
There is a hook as well, $template_hook[navbar_search_menu], which I have a product that you can just install, but for some reason ibproarcade is conflicting with this new product.

Download Now

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

Screenshots

Click image for larger version

Name:	screenshot.gif
Views:	3399
Size:	9.7 KB
ID:	54281  

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
Integration with vBulletin vB Google Adsense for Search plus Integration davidw vBulletin 3.7 Add-ons 267 08 Apr 2013 20:49
Integration with vBulletin CFM: Google AdSense for Search Integration Throtex vBulletin 3.6 Add-ons 80 05 Aug 2011 22:42
Add-On Releases vB Google Adsense for Search plus Integration davidw vBulletin 3.6 Add-ons 171 27 May 2008 12:53
Integration with vBulletin google adsense search automatic integration Delphiprogrammi vBulletin 3.6 Add-ons 28 09 May 2008 00:02

Comments
  #2  
Old 04 Oct 2006, 18:54
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
WOOHOO I am first!
__________________
CommanderTalk.com --> www.commandertalk.com
Reply With Quote
  #3  
Old 04 Oct 2006, 18:58
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
LOL spoke too soon...what is GALT?
__________________
CommanderTalk.com --> www.commandertalk.com
Reply With Quote
  #4  
Old 04 Oct 2006, 19:01
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
It looks something like this:

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

I'm not sure exactly what it is used for, or if it is directly related to the adsense (or if it is just part of the form).
__________________
Former vBulletin.org Staff Member

Christianboards.org * Web Design * CIW Certified * My hacks

Check my hacks to see which ones are marked as re-usable.

Please do not contact me through my site for vBulletin matters. These issues should be handled on vBulletin sites. I am not the only person who handles the contact us mail for my site.
Reply With Quote
  #5  
Old 04 Oct 2006, 19:06
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Originally Posted by christianb
It looks something like this:

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

I'm not sure exactly what it is used for, or if it is directly related to the adsense (or if it is just part of the form).
Ahhhh there it is...thanks, looks great!
__________________
CommanderTalk.com --> www.commandertalk.com
Reply With Quote
  #6  
Old 04 Oct 2006, 19:07
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
Don't forget to click install

Edit, now that I think about it - I believe it has everything to do with what the page looks like when you click the Go button - on the search results.
__________________
Former vBulletin.org Staff Member

Christianboards.org * Web Design * CIW Certified * My hacks

Check my hacks to see which ones are marked as re-usable.

Please do not contact me through my site for vBulletin matters. These issues should be handled on vBulletin sites. I am not the only person who handles the contact us mail for my site.

Last edited by davidw; 04 Oct 2006 at 19:10.
Reply With Quote
  #7  
Old 04 Oct 2006, 20:34
GoTTi GoTTi is offline
 
Join Date: Jun 2002
i have a custom style and when i put the code in the navbar it doesnt show up.

this isnt the only time this has happend. i think something is not letting me edit the search drop down in this 1 style. any ideas where i can look to edit the search field?
Reply With Quote
  #8  
Old 04 Oct 2006, 21:09
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
it may be in your header - I've had styles that did that before.
__________________
Former vBulletin.org Staff Member

Christianboards.org * Web Design * CIW Certified * My hacks

Check my hacks to see which ones are marked as re-usable.

Please do not contact me through my site for vBulletin matters. These issues should be handled on vBulletin sites. I am not the only person who handles the contact us mail for my site.
Reply With Quote
  #9  
Old 04 Oct 2006, 21:19
mattyk72 mattyk72 is offline
 
Join Date: Mar 2004
very nice, thanks!
__________________

Reply With Quote
  #10  
Old 04 Oct 2006, 23:02
Endurer's Avatar
Endurer Endurer is offline
 
Join Date: Sep 2006
Thank you so much Christianb.
Reply With Quote
  #11  
Old 05 Oct 2006, 00:36
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Originally Posted by christianb
it may be in your header - I've had styles that did that before.
thats where it was. thanks.
Reply With Quote
  #12  
Old 05 Oct 2006, 10:32
Greek76's Avatar
Greek76 Greek76 is offline
 
Join Date: Sep 2006
I installed the hack works great but what is the GALT and where do I find it?
Reply With Quote
  #13  
Old 05 Oct 2006, 11:29
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
Months ago, when I first signed on to the Google Adsense for search [ those who have never used Google Adsense - here's a link - https://www.google.com/adsense/ws-overview ], it went through a wizard (one part was a customization of the display on how things looked whenever someone used the search feature) and when I was done it gave me several items including the GALT - seeing how the galt contains hex figures, I assume this controls how your search displayed results look once the search is completed. The original adsense for search code you received should have this information, however if it doesn't feel free to use what I have and modify it for your own. As long as you have your own adsense information for your revenue, that is what matters.

Now that I think about it, it probably isn't even called GALT, but its just that mine started with that.

This may also help: https://www.google.com/support/adsen...f&topic=&type=
__________________
Former vBulletin.org Staff Member

Christianboards.org * Web Design * CIW Certified * My hacks

Check my hacks to see which ones are marked as re-usable.

Please do not contact me through my site for vBulletin matters. These issues should be handled on vBulletin sites. I am not the only person who handles the contact us mail for my site.
Reply With Quote
  #14  
Old 06 Oct 2006, 17:11
gauravseth gauravseth is offline
 
Join Date: Aug 2006
*Installed*

Nice hack
Reply With Quote
  #15  
Old 10 Oct 2006, 04:56
ang2el ang2el is offline
 
Join Date: Oct 2005
Seems like a nice hack.

Originally Posted by christianb
=> Styles & Templates => Style Manager => look for your style to do this to and under All Style Options click Edit Style Options
then where to go... I just stucked after this because

Edit Syles Options conatins
Edit Setting
Add Child styles
Download
Delete style
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 14:53.

Layout Options | Width: Wide Color: