Quote:
Originally Posted by djbaxter
Your code:
PHP Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')">
<div class="attachments">
<div style="width: 100%; text-align: center">
Your text here
</div>
</div>
</vb:if>
places the ad ONLY after Post#1.
How to modify it so that if the thread spans multiple pages the ad appears after the first post on each page?
|
Instead of
Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')">
Use
Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND !$GLOBALS['FIRSTPOSTID']">
Works for me