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 |
#12
|
|||
|
|||
Hello StarBug,
Thank you for the tweaks you suggested. The tborder and color settings for the Google ads are now perfect and goes well with the style I use in my site. I need one more help...if I may ask! The ads showing up in between the blog entry and the comments (using the code in blog_show_entry) is either getting wrapped or the ad link is missing. I tried this in Firefox - the ad link (URL) is not showing up. I also tried in IE - the ad is getting wrapped and is incomplete. I am attaching screenshots below. Please help! Many thanks in advance. |
#13
|
||||
|
||||
I have no clue what you mean.
|
#14
|
|||
|
|||
Please visit this link http://www.indusladies.com/forums/blog.php
using Internet explorer & Firefox browsers. Please refere the Google ads below recent entries and recent comments section at the end of the page. You will see that the Google ads (when viewed in IE) are displaying one after the other and the 2nd ad is cut off. The height of the ad box isn't enough to fit. If you see the same set of ads (when viewed in Firefox), the ads are displaying side by side within the box, but still the URL is cut off in the ads because of the height of the box. Please can you help in this regards. Many Thanks! |
#15
|
||||
|
||||
The box has no height.
It is defined by the ad inside. It looks ok to me. Some ads don't display URLs if the ad text uses 2 lines. It is a standard 468x60px banner. |
#16
|
|||
|
|||
StarBug,
I too don't see the issue with all the ads. The wrapping or cut-off of the ads happen only at certain instances. If you do a refresh repeatedly, you will notice one such instance for the ad showing up. I know this might not be a problem with your hack, but jsut want to know if any tweaking in the code can fix the issue. I have also written to Google. Many thanks. |
#17
|
||||
|
||||
There is no tweak, it is a browser problem of yours.
|
#18
|
|||
|
|||
i knew it was a waste not having a banner in the blogs home and you solved that, thank you very much, i'm gonna check your adsense series
|
#19
|
|||
|
|||
It was assumed that one could automatically add AdSense in the CMS blog section in admincp. Is there a plugin that is needed additionally? Please advise.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|