Quote:
Originally Posted by KiraLove
This didn't work for me.
<if condition="$post['fieldX] == 'Yes'">
it was yes
</if>
never prints "it was yes" no matter the setting.
AHA! I found the problem. Everyone always uses $post in your examples but that is WRONG. it's bbuserinfo.
this works:
<if condition="$bbuserinfo[field25]=='Yes'">Code</if>
Thank you vbulletin.org!
|
No, $post is correct here because $post will check the profile field of the user
posting the message, $bbuserinfo checks that profile field of the user
viewing it.