medicalforums
10-15-2009, 06:16 PM
Ok I have this at the end of my postbit template
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
Adsense Code
</if>
<if condition="$post[postcount] % $vboptions[maxposts] == 7">
Adsense Code
</if>
<if condition="$post['islastshown']">
Adsense Code
<if>
What code should I use so that the last (third) Adsense code does not show up when there's no replies to the thread?
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
Adsense Code
</if>
<if condition="$post[postcount] % $vboptions[maxposts] == 7">
Adsense Code
</if>
<if condition="$post['islastshown']">
Adsense Code
<if>
What code should I use so that the last (third) Adsense code does not show up when there's no replies to the thread?