R rdn Well-known member Jan 30, 2025 #1 I'm using this code: PHP: <xf:if is="$post.position % $xf.options.messagesPerPage == 0"> On message_macros template, but it only works for normal thread type, not for article, poll, or question.
I'm using this code: PHP: <xf:if is="$post.position % $xf.options.messagesPerPage == 0"> On message_macros template, but it only works for normal thread type, not for article, poll, or question.
R rdn Well-known member Jan 30, 2025 #2 This code doesn't work also for other thread types. PHP: <xf:if is="{$__globals.thread} AND {$__globals.post} AND {$__globals.thread.first_post_id} == {$__globals.post.post_id}"> Upvote 0 Downvote
This code doesn't work also for other thread types. PHP: <xf:if is="{$__globals.thread} AND {$__globals.post} AND {$__globals.thread.first_post_id} == {$__globals.post.post_id}">