The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Adsense Link Unit in Navbar Details »» | |||||||||||||||||||||||||
I made this template mod for my medical Forum and I decided to share this with you.
This is a very efficient placement for an adsense link unit, maybe the most efficient one for a vBulletin forum What this hack does: This modification displays the adsense Link Unit below the forum navigation so that it looks like a second row of navigation options. See screenshots I have this code running for nearly a year now on my forum and google said it was ok. But to make sure you should contact google and ask them if it complies with their ToS NO WARRANTIES How to install: In template navbar search: Code:
<!-- / nav buttons bar --> Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <td class="vbmenu_control"> <!-- Adsense Link Unit Code 725x15 - 5 Ads --> <script type="text/javascript"><!-- google_ad_client = "YOUR PUB ID HERE"; google_ad_width = 728; google_ad_height = 15; google_ad_format = "728x15_0ads_al_s"; google_color_border = "738FBF"; google_color_bg = "738FBF"; google_color_link = "ffffff"; google_color_text = "000000"; google_color_url = "000000"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <!-- Adsense Link Unit Code 725x15 - 5 Ads --> </td> </tr> </table> <!-- Adsense Link Unit Code 725x15 - 5 Ads --> replace "YOUR PUB ID HERE" with your pub-ID and fit the colors of adsense to your color scheme Demo: www.elternfragen.net I hope you like it. For another good adsense placement check out my mod: Adsense as second post. 2 Sizes - Big for guests, small for members Please click install if you use this mod. I also would like some feedback about how it is working out for you Changelog: v1.00 - 2007/07/22: NO CHANGES, just removed my Pub-ID from the hack! StarBuG If you did not register for an Adsense account yet but you plan to, feel free to contact me. If you register via my referral I am willing to help you get the most out of your adsense placement by assisting you during the setup process and implementing the best adsense modifications. Just write me a Private message. Show Your Support
|
Comments |
#12
|
||||
|
||||
the domain eyesbehind.com is a parking site which only takes the domain name into account.
Normaly you can define keywords in your parking setup to better reflect the type of site you want to run on the parked domain. |
#13
|
|||
|
|||
Thank You
|
#14
|
||||
|
||||
|
#15
|
|||
|
|||
This is perfect.Installed
|
#16
|
||||
|
||||
well it doesnt work for my site, no matter what i do with it.
|
#17
|
||||
|
||||
i'd like to retract my statements. i finally got an email from google stating that my ads dont show up because my account was apparently suspended because i had a google-clone lol.
my account has been reinstated and so i will try this hack again. im sure it will actually work for me now... im sorry. |
#18
|
||||
|
||||
actually, i already have this hack installed and that's how i knew my account was reinstated lol. god i need sleep...
|
#19
|
|||
|
|||
When I tried to search the </div> and <!-- / nav buttons bar -->, I only found the <!-- / nav buttons bar -->, I don't see </div> though (see below).
I tried to insert the code above the <!-- / nav buttons bar --> but below </table>, the google ad does not show. Am I doing anything wrong? <!-- nav buttons bar --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> $template_hook[navbar_buttons_left] <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> <td class="vbmenu_control"><a href="arcade.php?$session[sessionurl_q]">Arcade</a></td> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td> </if> <if condition="$show['member']"> <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> </if> <else /> <if condition="$show['searchbuttons']"> <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=n o,menubar=no,toolbar=no,scroll bars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td> </if> </if> $template_hook[navbar_buttons_right] <if condition="$show['member']"> <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td> </if> </tr> </table> <!-- / nav buttons bar --> |
#20
|
||||
|
||||
just add it below the last </table> and before <!-- / nav buttons bar -->
the DIV was from an older template version which I forgot to remove. StarBuG |
#21
|
||||
|
||||
Very tasty. Thanks!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|