RaymondCC
Member
I've placed the conditional code below in "message" template to show an Ad on the last line of the first post.
The conditional only shows an Ad on the first post.
How can I modify the conditional so that the Ad shows on the first, second and third post? (Google only allows 3 AdSense unit per page)
Thanks.
Code:
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND !{$message.conversation_id} AND !{$visitor.user_id} AND {$thread.reply_count} > 0">
The conditional only shows an Ad on the first post.
How can I modify the conditional so that the Ad shows on the first, second and third post? (Google only allows 3 AdSense unit per page)
Thanks.