I am trying to make this old conditional work in a a new style
Code:
<if condition="$userinfo[field5]">
</if>
This is what I have but it done work.
Code:
<vb:if condition="$userinfo[$bbrfield1]">
testing
</vb:if>
I have this in my plugin:
Code:
$bbrfield1 = $vbulletin->options['bbr_plugin_profile_field1'];
$bbrfield1 = field5 from vbulletin options.
I am trying to show a field on the profile if it is filled out. Any help would be much appreciated.