Back to vBulletin 4.x Template Modifications

Google Adsense (or other) in a Block like an Individual Post
Mod Version: 1.00, by Leo Brazil

vB Version: 4.0.x Rating: (3 votes - 5.00 average) Installs: 30
Released: 19 Feb 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

This is for you that don't like how vB standard ad management works as a matter of delivery ads inside the posts in a thread. You know, it may looks disrespectful for someone that posted a great material in a thread but have to share its space with adsenses.

I've tested it only on Postbit Legacy so far but I don't think that's a reason for not working on Postibit as well.

It's a pretty simple template edit.

Just find your Postbit Legacy or Postbit Template and add the code below, right at the end of the template, click save and it's done.

Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1">
<div class="postbit">
<h3 class="posthead">&nbsp; &nbsp;Sponsored Links</h3>
<div class="postbody">--YOUR ADSENSE CODE GOES HERE --</div>
</div>
<br />
</vb:if>
Just don't forget to replace "--YOUR ADSENSE CODE GOES HERE --" with your own adsence code before saving your postibit template. Work also with images or whatever you want.

I'm still trying to figure out how vB conditionals work and so far I've did it only to show it after the first post everywhere. I'm sure if you are familiar with that and use different ones on the first line of the code, you can be able to show this on specific forums, different positions, etc.
If you know how to do it, please share what you tried with others here.

If you like it, mark it as Installed please !

Download

No files for download.

Screenshots

Click image for larger version
Name:	postbitlegacy.jpg
Views:	2005
Size:	41.8 KB
ID:	113610  

Similar Mods

Show Thread Enhancements Google Adsense after first post (or other advertisements) vBulletin 4.x Add-ons
Forum Display Enhancements Google AdSense (or other) after post... vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024