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 |
#22
|
|||
|
|||
I'm confused about something maybe someone can help me out, we are allowed 3 ads per page right ? well when this is added by the way great codes, now this will go to every pages when members are browsing and i got more adds there so when this follows it will bring it to 4 but in the main forum I'm 3 as it should be.. any advice to how to avoid the TOS
Same with the inside posts, when does the count starts ? so we got one on the nav one below nav and on my forum one on the footer which no matter where u go those will go with u.. Footer / Nav so do these 2 count for pages or since they are solid they dont count ?????? you see in the forum we have so many pages, but same headers and same footer and this is what makes the 3 ads per page confusing... |
#23
|
||||
|
||||
You are allowed to have:
3 banner ads 3 link units and unlimited referrals per page |
#24
|
|||
|
|||
Thanks a lot. Marked installed.
I do have a question. Please see attached screen shot. There is a blue line between navbar menu and google ads (where the arrow points). Could you help me remove it? I used the 4 ads unit instead of 5 because the font size are the same as menu. I have to change the google ad width from 728 to 770 so the 4 ad unit will spread evenly (1 under 'new post' and 1 under 'quick links'. Thanks again. Michelle www.hipgirlclips.com/forums |
#25
|
||||
|
||||
You can't change the google ad width, that is not allowed!
They have a fixed width |
#26
|
|||
|
|||
Thank you. I changed the width back.
In your snap shot, there is no line between nav bar menu and the adsend link unit. But I have a blue line. I'm not sure how to remove it. Could you help? Thanks a lot. Michelle |
#27
|
||||
|
||||
I think that this is defined by the border color you set in your style.
I have the exact same code implemented into my forum. StarBuG |
#28
|
|||
|
|||
When i put this code in for some reason it centers the everything on the forum
i cant have everything centered is there away to change this |
#29
|
||||
|
||||
You probably forgot to close my table.
Check the code again you entered. Or you removed a </div> If everything fails, restore the template to its original and try it again. |
#30
|
|||
|
|||
This is where I put mine.
http://2kfreak.com/forums/index.php I dont' see why I would need to contact google of TOS. This is clearly a "read" issue. If the use his/her eyes, no reason to get punished for wrongful clicking. |
#31
|
|||
|
|||
Is this safe ?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|