View Full Version : User Profile Conditional
atrl
Wed 9th Apr '08, 9:47am
I created a custom profile field a drop down menu with 3 options, I was wondering how can I create a conditional so that if the 1st option is selected it display a certain code, and if it is the 2nd option then it displays another code, and if it is the 3rd then it displays the another different code. I have tried several combinations and still cant get it to work. I am going to do this on the FORUMHOME template so any help would be great.
Thanks
Steve Machol
Wed 9th Apr '08, 1:52pm
Sorry, there is no function to do this. This requires modifying the code. We cannot officially support code modifications or forums running modified code, however you can try searching or asking for help with this over at www.vbulletin.org.
lazyindian
Wed 23rd Apr '08, 5:52pm
in vbulletin 3.7 this can be done like this
<if condition="($vbulletin->userinfo['field5'] == 'Yes')">
Testing
</if>
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.