The Arcive of vBulletin Modifications Site. |
|
Google Adsense In Navbar Details »»
|
|||||||||||||||||||||||||||||
![]() How To: Go to http://www.google.com/adsense and create your own account there and replace the blue text below in the code with your PUB ID. Description: To have Google Adsense in your navbar! Installation Time: < 1 minute Installation: Step 1: Find this code in your Navbar template: Styles and Templates > Style Manager > Your style > Navigation/Breadcrumb Templates > Navbar. Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> Code:
<!--<Adsense Start>-----------> <td class="alt2"> <div align="center"> <p align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-YOUR PUB ID HERE"; /* 468x60, created 12/26/09 */ google_ad_slot = "2895235903"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </p> </div> </td> <!--<Adsense End>------------------------------> If you want only registered members to view it, use this code: Code:
<!--<Adsense Start>-----------> <td class="alt2"> <div align="center"> <if condition="$show['member']"> <p align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-YOUR PUB ID HERE"; /* 468x60, created 12/26/09 */ google_ad_slot = "2895235903"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </p> </if> </div> </td> <!--<Adsense End>------------------------------> In the blue area, enter your own PUB ID!! DONE! NOTE: Someone pointed out a mod similar to this one for the 3.7 series. So, he gets credit for his work also. If you use this mod, please CLICK INSTALL!!! Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Reserved for later use.
|
|
#3
|
||||
|
||||
|
Mmmmm, doesn't work for me! I see where it should go, and when I refresh my page I just see a white box for a second where it should be.
|
|
#4
|
|||
|
|||
|
I've the same problem. I know the Problem. You must use your own google ad slot number
|
|
#5
|
||||
|
||||
|
Yes, you need to have your own PUB ID from http://www.google.com/adsense. It is free to create an account. Just replace the blue text with your new PUB ID and you should be good.
|
|
#6
|
|||
|
|||
|
applied by my own its great work thank you
|
|
#7
|
||||
|
||||
|
I entered my own code, but it is still not showing.
|
|
#8
|
||||
|
||||
|
Did you create your own 468x60 horizontal ad unit at http://www.google.com/adsense and input that code where mine is and take mine out?
|
|
#9
|
|||
|
|||
|
" Step 1: Find this code: "
Where do I find this code? |
|
#10
|
||||
|
||||
|
Sorry. Updated.
Styles and Templates > Style Manager > Your style > Naviagation/Breadcrumb Templates > Navbar. |
![]() |
|
|