1. 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

Discussion in 'XenForo Questions and Support' started by kingston, Jan 13, 2011.

  1. kingston

    kingston Well-Known Member

    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?
     
  2. Lawrence

    Lawrence Well-Known Member

    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.
     
    kingston likes this.

Share This Page