MyBB Community Forums

Full Version: postbit first post only?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm running xthreads, and I have 2 extra fields that I would like to show on the first post only of the postbit. Both fields are optional, one is for source links and the other for article images.

Currently every post to a topic includes the code, even though the feilds do not show when posting a reply?
I don't know about xthreads, but if you install the template conditionals plugin you can try using this;

<if $post['pid'] == $thread['firstpost'] then>
put your code here
</if>
Excellent, forgot all about template conditionals...