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

Statement to exclude conversations for ads

kingston

Well-known member
#1
I need a statement to add to this to not show ads in a conversation. So

<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND !{xen:helper ismemberof, $visitor, 20} AND statementthatsaysnotoconvesations">

Not sure what it is?

And, besides asking, how do I find out what it is?
 

Lawrence

Well-known member
#2
This is what you are looking for:

<xen:if is="!{$message.conversation_id}">

</xen:if>

Normally by searching the templates you can see what IF statements are in use to check for content. eg, for your question a search for conversation.