C Case Well-known member Jan 1, 2014 #1 You can use {xen:number $thread.reply_count} to get the number of replies to a thread. Is there similar code to get the number of posts in a thread. So the replies + 1, basically.
You can use {xen:number $thread.reply_count} to get the number of replies to a thread. Is there similar code to get the number of posts in a thread. So the replies + 1, basically.
P Paul B XenForo moderator Staff member Jan 1, 2014 #2 {xen:number {xen:calc '{$thread.reply_count} +1'}} Upvote 0 Downvote
A Aivaras Well-known member Feb 19, 2016 #3 Is this still the correct way to do it in v1.5? Or is there something similar to: $thread.message_count ? Upvote 0 Downvote
Is this still the correct way to do it in v1.5? Or is there something similar to: $thread.message_count ?
P Paul B XenForo moderator Staff member Feb 19, 2016 #4 Nothing has changed, it's still the same as I posted previously. Upvote 0 Downvote