![]() |
Adsense Banner below Blog Entry and above Comments
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 a Blog Entry and above the Comments. Install: In Template blog_show_entry search for: Code:
<else /> Code:
<br /> <!-- 468x60 Banner after Blog Entry --> 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?b=2 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. |
Superbly done! I can't wait to see other creative ideas you may get about integrating Adsense into the framework of vBulletin software.
|
nice, I already added an Ad on the main blog page, hadn't had time to search for the comment page :)
Thanks ps.. whats the plugin for ? can't this be done with template edits ? |
What do you mean by "plugin for ?" ??
|
Very nice! I'll have use for this!
|
Quote:
|
Thanx so much for sharing ;)
Jacquii. |
You're welcome ;)
|
This too is a great one like your other 2 hacks for displaying ads in blog pages.
Thank you. |
many thx
|
Quote:
|
Great, thanks
|
This is great. I want to take it a step further as I do within my board, and allow the blooger to own the adsense ads. From another mod, in the postbit template I say:
script type="text/javascript"><!-- if('$post[field6]' == '') { google_ad_client = "pub-xxxxxxxxxxxxxxxx"; google_ad_channel = ""; } else { google_ad_client = "$post[field6]"; google_ad_channel = "$post[field7]"; } ....blah, blah.... ...where $post[field#] gets the users google_ad info from his profile, otherwise it uses mine. Any idea what the variable name I would use in the blog_show_entry, instead of $post? Or, will this have to be a plugin? Thanks |
All times are GMT. The time now is 03:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|