PDA

View Full Version : Know if it's a locked thread?


dreamygirl
12-29-2012, 08:34 PM
In the threadbit template, there is
<vb:if condition="$thread['sticky']">

I wanted to do something similar like
<vb:if condition="$thread['locked']">
but it doesn't work. 'Closed' also doesn't work.

I just want to put text for each locked thread.

kh99
12-29-2012, 08:42 PM
Maybe try:

<vb:if condition="$thread['open'] == 0">

dreamygirl
12-29-2012, 08:55 PM
That works. Thank you!