Show Adsense After post number "x" and "x"
This modification is in the archives.
Works With Vbulletin V3.7.2 This is a very simple template modification have similar to absence hack and the random postbit advert hack. But you have more control with this hack as you change the option for where the adverts will appear "after which message" Add one of these codes to the bottom of your postbit template. Here are the codes: Code:
<if condition="$post[postcount]==1"> <p align="center"> [AD CODE GOES HERE] </p> </if> Code:
<if condition="$post[postcount]==1"> <p align="center"> [AD CODE GOES HERE] </p> </if> <if condition="$post[postcount]==10"> <p align="center"> [AD CODE GOES HERE] </p> </if> <if condition="$post[postcount]==20"> <p align="center"> [AD CODE GOES HERE] </p> </if> Also there is another way for doing this: Code:
<if condition="in_array($post['postcount'], array(1, 5, 10, 15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100))"> <if condition="in_array($bbuserinfo['usergroupid'], array(1, 2, 3, 4,5,6,7,8, 9))"> $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 (<a href=/payments.php>No Ads</a>)</td> </tr> <tr> <td class="alt1" align="center"> [AD CODE GOES HERE] </td> </tr> </table> </div> $spacer_close </if></if> ![]() Download
This modification is archived, downloads are still allowed. Supporters / CoAuthors
|
Similar Mods
Show Thread Enhancements Show Adsense After post number "x" and "x" | vBulletin 3.7 Add-ons |
Show Ads After post number "x" and "x" | vBulletin 3.5 Template Modifications |