The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
conditional statement not working.
Does anybody have an idea why this is not working?
Code:
<if condition="$post[field7] == 'Yes!'"> I initially tried it leaving out condition, but that doesn't seem to work either. |
#2
|
||||
|
||||
<if condition="$post['field7'] == 'Yes!'">
<if condition="$post['field7'] == Yes!"> In order of best guess. |
#3
|
|||
|
|||
Thanks, it turns out that my version should work (works in postbit), but when included in the header template it fails.
I guess I have to include certain php files into the header for it to function as the values cannot be retreived. |
#4
|
||||
|
||||
Try $bbuserinfo instead of $post.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|