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>
Place this in your postbit or postbit_legacy template, at the VERY BOTTOM.
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)