The Arcive of vBulletin Modifications Site. |
|
Add Google adsense search to your navbar dropdown Details »»
|
|||||||||||||||||||||||||||
|
Add Google adsense search to your navbar dropdown
Developer Last Online: Feb 2022
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> </tr> Code:
<tr> <td class="thead">Search Google</td> </tr> <!-- SiteSearch Google --> replace this text with your adsense search code <!-- SiteSearch Google --> Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
What an awsome idea! Thanks for sharing this!
|
|
#3
|
||||
|
||||
|
Sure
It's a boring Sunday and it's snowing out so I decided to share some of my template mods with the group.
|
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
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.
|
|
#6
|
||||
|
||||
|
installed and works great, thank you
![]() [high]* The Chief clicks install[/high] |
|
#7
|
|||
|
|||
|
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>
<td class="thead"><a style="float:right" href="#top" onclick="return toggle_collapse('navbar_google')"><img id="collapseimg_navbar_google" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_navbar_google].gif" alt="" border="0" /></a>Google Suche</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" id="collapseobj_navbar_google" style="$vbcollapse[collapseobj_navbar_google]">
<div align="center">
<!-- SiteSearch Google -->
<!-- GOOGLE ADSENSE CODE HERE -->
<!-- SiteSearch Google -->
</div>
</td>
</tr>
|
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
||||
|
||||
|
Ahh Gotcha, not sure how that would be done myself.
|
![]() |
|
|