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

XF 1.3 conditinal for locked thread

Discussion in 'XenForo Questions and Support' started by Blue, Apr 19, 2015.

  1. Blue

    Blue Well-Known Member

    Can't find the critera to display a notice when someone is viewing a locked thread so is there a conditional that will allow me to display a message when someone is viewing a locked thread?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    <xen:if is="!{$thread.discussion_open}">
    If you want to see which params are available, add this to the thread_view template:
    {xen:helper dump, $thread}
    Blue likes this.

Share This Page