![]() |
Add Google adsense search to your navbar dropdown
For any of you running adsense, using the adsense search on your site will generate more revenue. If you don't already have it setup, log into your adsense account and click on the "AdSense for Search" link then customize it to your liking. More so to make it fit better in the dropdown box. You may also add your site to the search, it will generate more clicks.
Now add it do your Search dropdown, in the navbar template find: Code:
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td> Code:
<tr> |
What an awsome idea! Thanks for sharing this!
|
Sure :) It's a boring Sunday and it's snowing out so I decided to share some of my template mods with the group.
|
Hello,
Since I added this in the other modification (same thing as this) I figure I will add it here too. This attachment explains how to give the google search its own dropmenu which gives it more attention and more revenue for you. This is the other thread that does the same thing as this one: https://vborg.vbsupport.ru/showthrea...ghlight=google |
Thanks for this. The reason I decided to add this to the existing search is because that's the one I think most people will use, that's just me though :) Additionally, I was thinking about adding this to the search dropdown in the forum and thread views as well.
|
installed and works great, thank you :)
[high]* The Chief clicks install[/high] |
hey there!
thanks for that great idea. i wanted to add that to my boards but i came across some more requirements i also worked out. i added the function to minimize the google form and stuff like that. you can take a look at what i mean by taking a quick visit on my forums here. here's the code if you like it: Code:
<tr> |
Quote:
|
Quote:
|
Ahh Gotcha, not sure how that would be done myself.
|
Yeah I was ++++ed up once for asking people to click on my banner. They kicked my account and I tried to argue with them. They copied & pasted their f*ckin TOS everytime. I thought I was mailing with a computer. You really have to be careful there.
Don't think that this is possible. Even if it was possible they might say anything is forbidden that changes the appearance of their banners. They get like M$! ;) |
Yeah, even though it technically wouldn't be changing their source code, it's still an alteration to the end result.
|
Great idea. Thanks.
|
Thanks! Great mod! My only wish would be to make the text box and button the exact same size as the vB to match (so I'm a little anal), but none the less a worthwhile mod.
|
Code:
<tr> |
This is designed for 3.5.x are you still using 3.0.7? If so it's probably a matter of messing with it a little bit to get the format right in your template. I would look for you but my server is crashed at the moment.
|
I am sorry, i haven't updated my profile. I am using 3.5.2 since today :)
|
Okay, lets make sure that where it says:
replace this text with your adsense search code is only replaced with the google code itself, no other. So you will want to start at <script> and end at </script> when pasting your code in. |
http://forum.scooterforum.net/forum/
I have inserted the code, without the google script. As you can see, it looks like the table doesn't close correctly. I have this code: Code:
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td> |
On your forum it looks like it's above the default search when it should be below.
|
You are right, and that is the problem. The code i have pasted here above shows that i have c/p it on the right spot right? It's underneath
Code:
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td> |
Hmm.. without being able to look at my templates at the moment it's hard to tell but this does look suspect:
Code:
<tr> |
This is Great, Thanks for sharing.
Installed. |
Quote:
[high]* LBSources clicks install[/high] |
I use the Adsense RevShare hack, I dont think I can use this.. I wish I could :(
Nice Mod ericgtr :) |
I am having a strange problem. I add the code to the proper place and my forums become centered. I have no idea what is causing this.
never mind..... Thanks |
Quote:
|
Well the revshare hack only works when its shown right below the first users post.. I cant seem to make it work elsewhere.. :(
|
Installed and works great!
|
I had to remove "</table>" from the Google code to allow "New Posts: and
Todays Posts:" to not get cut off from the drop down menu. Is it OK to remove that from the google code? </td></tr></table> </form> <!-- SiteSearch Google --> |
guitars 101 lol:banana:
|
It works great but how can I remove the vbulletin search and only have the google search there?
|
Yes good...Thanks. :)
|
Quote:
Code:
<tr> |
Remove it from where? forumhome, postbit, etc?
Quote:
|
Thank you . INstalled.
|
Thanks for the tip. I have it installed!
|
Nice idea. thanks
|
<font color="DarkGreen">installed </font>
|
I'd like to add it to my "Search this Forum" and "Search this Thread" as well
I thought I found where to edit in FORUMDISPLAY, but unfortunately whenever I attempt to search through it, it gripes at me about searching for an invalid user or some such :( Any help would be appreciated. nm, fixed it. |
All times are GMT. The time now is 04:08 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|