The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Adsense below Recent Comments List on Blog Home Details »» | |||||||||||||||||||||||||||
Adsense below Recent Comments List on Blog Home
Developer Last Online: Nov 2022
Hi
To continue my Adsense modification series I decided to make my blog placements public. What this hack does: This hack adds a standard 468x60px Adsense Banner below the Recent Comments List on the Blog start page. Install: In template blog_home find: Code:
<td class="alt2 smallfont" align="$stylevar[right]"><a href="blog.php?$session[sessionurl]do=comments">$vbphrase[find_more]</a></td> </tr> </table> </div> Code:
<br /> <!-- 468x60 Banner after Recent Comments List on Blog Home --> <div style="border: 2px dashed rgb(11, 25, 140); padding: 8px; background: rgb(245, 245, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; font-size: 80%;"> <center> <script type="text/javascript"><!-- google_ad_client = "YOUR PUB ID HERE"; google_alternate_color = "E5EAEB"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text"; google_color_border = "F5F5FF"; google_color_bg = "F5F5FF"; google_color_link = "22229c"; google_color_text = "22229c"; google_color_url = "22229c2"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </center> </div><br /> <!-- 468x60 Banner after Recent Comments List on Blog Home --> <!-- 468x60 Banner after Recent Comments List on Blog Home --> replace "YOUR PUB ID HERE" with your pub-ID and change the colors to fit your forum colors If you have the "Template Modification System" (TMS) installed, I have attached a TMS XML for you. Remember to do the changes! DEMO: http://www.patientenfragen.net/blog.php Please click install and leave feedback, if you use this mod. THX 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 |
#2
|
||||
|
||||
Great - Thanx again for the sharing
JAcquii. |
#3
|
||||
|
||||
hmm - thanks for sharing, but I did the manual edits indicated in blog_home and instead of coming out under the comments it is below the "recent entries" box on /forum/blog.php. When I go to /forum/blog.php?b=1#comment2 I don't see any adsense code listed
|
#4
|
||||
|
||||
it is on the blogs homepage not the comments of one specific entry.
Maybe my description is a little imprecise |
#5
|
||||
|
||||
ok - then it works perfectly I was a bit confused by the description...
|
#6
|
|||
|
|||
Hello StarBug,
Thanks for this hack as well as the other hacks in blog navigation and blog show entry. They seem to be really good. I have tried them in my test forums and yet to implement in live for want of some help. My forum style color is a little purplish. I am attaching screenshots of my blog pages with your hacks installed. The hacks display Google ads in blue color that doesn't go very well with my style color. Is it possible for you to help me with the following tweaking: 1. How do I change the dotted lines around Google ads box into normal black line? 2. How do I change the background color, surrounding color of the ads to merge with the color of my style? I am attaching screenshots of my test site showing the ads displayed by your hacks. I am not very good in programming and need help. Thank you. |
#7
|
||||
|
||||
Quote:
This would be one possibility: Code:
<table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%"> <tbody> <tr> <td class="thead" align="center"> </td> </tr> <tr> <td class="alt1" colspan="2"> <span class="smallfont"> <center> Google Adsense here </center> </td> </tr> </tbody> </table> Quote:
or replace the color part with this: Code:
google_color_border = "705C99"; google_color_bg = "F5F5FD"; google_color_link = "0C108B"; google_color_text = "2F251C"; google_color_url = "2F251C"; StarBuG |
#8
|
|||
|
|||
Just curious on what the purpose would be to add Adsense to your forum? Is there a benefit to it. This really has nothing to do with the templete file but was curious why it would be done.
SVT |
#9
|
||||
|
||||
to make $
|
#10
|
|||
|
|||
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|