Back to vBulletin 4.x Add-ons

Google Adsense after first post (or other advertisements)
Mod Version: 1.00, by Allan

vB Version: 4.0.0 Rating: (18 votes - 4.39 average) Installs: 148
Released: 02 Jan 2010 Last Update: Never Downloads: 0
Not Supported Template Edits  

With this mod, you can add an advertisement as Google Adsence or other advertisements.
  • In the "postbit" or "postbit_legacy", add to the end:
Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')">
  <div class="attachments">
        <div style="width: 100%; text-align: center">
       Your text here
      </div>
</div>
</vb:if>
  • 2nd method, in the "ad_showthread_firstpost" template, add:
Code:
  <div class="attachments">
        <div style="width: 100%; text-align: center"> 
Your text here       
        </div>
  </div>
PS: I use class "attachments", it's just for the fun ^^

Download

No files for download.

Screenshots

Click image for larger version
Name:	pub1.jpg
Views:	4910
Size:	80.6 KB
ID:	108770   Click image for larger version
Name:	pub2.jpg
Views:	3801
Size:	72.7 KB
ID:	108771  

Similar Mods

phpAdsNew Banner Ads integration (advertisements, classified ads, Adsense, etc.) vBulletin 3.5 Add-ons
Forum Display Enhancements Google AdSense (or other) after post... vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024