• 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

Blue

Well-known member
#1
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?
 

Brogan

XenForo moderator
Staff member
#2
Code:
<xen:if is="!{$thread.discussion_open}">
If you want to see which params are available, add this to the thread_view template:
Code:
{xen:helper dump, $thread}