• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Conditional - advert after first unread post

abdfahim

Active member
#1
I can add an Advert after first post using below
Code:
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND {$thread.reply_count} > 0">
I want to add it after first unread post, is there a conditional statement for that?