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

Help with conditionals

Discussion in 'XenForo Questions and Support' started by Ray, Nov 10, 2010.

  1. Ray

    Ray Active Member

    I would like to show a notice in the first post of every thread, what is the conditional to use so that the notice doesn't show on every post of the same thread?

    Btw, I only want guests to see this notice.

    Thanks
     
  2. Ray

    Ray Active Member

    Solved
     
  3. steven s

    steven s Well-Known Member

    Thanks for sharing.
     
  4. Lawrence

    Lawrence Well-Known Member

    Open Message template, and at the very bottom add this:

    HTML:
    <xen:if is="!{$post.position} AND !{$visitor.user_id}">
    
        My words of wisdom here for non-logged in users
    
    </xen:if>
     
    steven s and Floris like this.
  5. Floris

    Floris Guest

    Thank you Lawrence for posting the answer to this, that makes this thread a good resource. +1.
     
  6. steven s

    steven s Well-Known Member

    Thanks Lawrence.
    In trying to help another member I came across this thread.
    Now it has purpose. :)
     

Share This Page