MyBB Community Forums

Full Version: Template conditionals question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
can someone tell me the code for showing something in firstpost of every page in a thread using the template conditionals,
thanks
<if $GLOBALS['thread']['tid'] && $GLOBALS['thread']['firstpost'] == $post['pid'] then>
First post
</if>

In the postbit* templates.
thanks sir omar + rep

Edit:
sir omar its only showing in the first post of first page,but its not showing in other pages 2,3,4 etc.