The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Which template are those in? Are you saying the one for closed works but the one for open doesn't?
|
|
#3
|
|||
|
|||
|
In postbit_legacy
can you tell to me, if condition for "open thread" and "closed thread" please! |
|
#4
|
|||
|
|||
|
And you're putting that in the same template? Seems like it should work - a value has got to be either == 0 or not.
|
|
#5
|
|||
|
|||
|
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> |
|
#7
|
|||
|
|||
|
Thank you so much Kh99 for help me.
The code work perfectly for me
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|