Back to vBulletin 3.5 Add-ons

Randomly positioned ad in between postbits in showthread
Mod Version: 1.01, by UK Jimbo

This modification is in the archives.
vB Version: 3.5.3 Rating: (5 votes - 4.80 average) Installs: 237
Released: 10 Oct 2005 Last Update: Never Downloads: 138
Not Supported Uses Plugins Template Edits  

Inspired by this hack.

The ad is positioned randomly after one of the postbits. We use this for positioning adsense ads on https://www.visordown.com/forums/.

Install the attached plugin then add the following code to your postbit or postbit_legacy template:

HTML Code:
<if condition="$GLOBALS['adsense_position'] == $post['postcount'] && $GLOBALS['adsense_position'] > 0">
$spacer_open 
<div style="padding:0px 0px $stylevar[cellpadding]px 0px"> 
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
<tr> 
	<td class="thead" align="left">Sponsored Links</td> 
</tr> 
<tr> 
	<td class="alt1" align="center">
<!-- ad code goes here -->
	</td> 
</tr> 
</table> 
</div> 
$spacer_close 
</if>

Changelog

v1.01
Bug fix: The ad code shouldn't appear on PMs any more (template change)

Donations

Hopefully this plugin will earn you provide you with some good revenue. If you'd like to show your appreciation please donate as little or as much as you like.

https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=james%2epaypal%40jump%2daround%2ecom&item_name=vBulletin%2eorg%3a%20Random%20Google%20AdSense%20ads&no_shipping=0&no_note=1&tax=0&currency_code=GBP&bn=PP%2dDonationsBF&charset=UTF%2d8

Download

This modification is archived and cannot be downloaded.

Supporters / CoAuthors

  • UK Jimbo

Screenshots

 


vblts.ru supports vBulletin®, 2022-2024