The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#7
|
|||
|
|||
![]() Code:
<if condition="$post[postcount] == 1"> <if condition="$bbuserinfo[usergroupid] == 1 || $bbuserinfo[usergroupid] == 2 || $bbuserinfo[usergroupid] == 6"> <center> ***** PLACE YOUR ADSENSE CODE HERE ***** <br> <if condition="$bbuserinfo[usergroupid] == 2"><span class="smallfont">These ads suck... Why dont you become a <a href="http://www.your-domain.com/donating-members">donating member</a>?</span><br></if> </center> </if> </if> The first if statement will place that ad below the first post in showthread. The second if statement will show ads to all in thoes usergroups. I have it set to show ads to guests, registered members, and admins. My donating members and moderators dont see the ads. The third if statement is only shown to my registered members. Its a reminder for them to donate to the forums and become ad free. (Orginally created by a member steel) |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|