The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
template condition problem
I want to modify the postbit to show some content based on the user custom field's content.
Here is my code. <if condition="$post['field2'] == XXXX"> <div class="smallfont">Message1</div> <else /> <if condition="$post['field2'] == YYYY"> <div class="smallfont">Message2</div> <else /> Message3 </if> </if> but it only shows Message3 in all conditions. Can anyone help me? FYI, I can show the content of $post[field2] by using <p>$post[field2]</p> Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|