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

XF 1.2 What XenForo Conditional ?

Discussion in 'XenForo Questions and Support' started by RoldanLT, Sep 7, 2013.

  1. RoldanLT

    RoldanLT Well-Known Member

    To detect a thread with only 1 and 2 post on it?
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    In which template?
     
    RoldanLT likes this.
  3. RoldanLT

    RoldanLT Well-Known Member

    thread_view :)

    I mean ad_message_below or ad_thread_view_below_messages
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    $thread.reply_count
     
    Jeremy likes this.
  5. Jeremy

    Jeremy XenForo Moderator Staff Member

    You'll want to check if reply_count is less than 2.
     
  6. RoldanLT

    RoldanLT Well-Known Member

    Solved already, just yesterday, Thanks !
     

Share This Page