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

XF 1.4 Ads after first post

Jens1986

Active member
#1
Hi,

I want an ad after the first post. I use the ad_message_below, and use the following code:

Code:
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND {$thread.reply_count} > 0">
ADSENSE</xen:if>
Problem is that the ad shows up inside the first post, I want it between the first post and the 2nd post. See my attachment for clarification.

Can someone please tell me what I have to add to the code?

Thank you :)
Untitled-2.jpg