![]() |
If condition for open thread?
If i want to show some message for "closed thread" i use this code:
Code:
<if condition="$threadinfo[open] == 0"> I try using this code for "open thread" but dont work. Code:
<if condition="$threadinfo[open] != 0"> What is condition for open thread??? Thank you |
Which template are those in? Are you saying the one for closed works but the one for open doesn't?
|
In postbit_legacy
can you tell to me, if condition for "open thread" and "closed thread" please! |
And you're putting that in the same template? Seems like it should work - a value has got to be either == 0 or not.
|
Dear kh99,
I using vb 3.8.x In postbit_legacy can you tell to me, if condition for "open thread" and "closed thread" please! I try this code and dont work in postbit_lagacy: Code:
<if condition="$threadinfo[open] == 0">code </if> |
Oh, OK - try this:
Code:
<if condition="$thread[open] != 0">code </if> |
Thank you so much Kh99 for help me.
The code work perfectly for me :) |
All times are GMT. The time now is 01:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|