PDA

View Full Version : First post conditional


Phoebes
06-21-2011, 04:20 AM
In the postbit template, which conditional can I use to find the first post of a thread? Not the first post on each page of that thread, but just the first post.

LifesGreatestGift
06-21-2011, 10:21 PM
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')">
CONTENT
</vb:if>

That will only display CONTENT in post #1 not first post on each page. Place in your postbit or postbit_legacy template.

Phoebes
06-22-2011, 03:23 AM
Thanks :)