• 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


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?


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}