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

XF 1.4 Conversation Ads (Need message id condition in conversations)


Active member

I want to show an advertisement just in conversations.

When i write the ad_message_body template this:

<xen:if is="{$message.conversation_id}">
ad code here

This code shows the ads, every post of conversations. I want just ads on first 3 posts of conversation.

Is there any condition for this?


XenForo moderator
Staff member
Ah yes, so there is.

I never thought to check for a differently named param.

(I deleted my previous post to avoid causing confusion.)