show content if selected yes in private field?
I want to show certain content in user info/user profiles.
I have a field with yes or no options, If selected yes I want it to show certain content (a box with content etc.) and if selected no for it to show nothing.
How would I do this? I remeber a code for this but I dont know it exactly.
Doesnt matter I found my own answer :
<if condition="$vbulletin->userinfo['fieldx'] == 'Yes'">
Users can see this only if selected yes.
</if>
|