The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
{$vbulletin->userinfo['field5']}
How would i go about making it so:
Code:
if ({$vbulletin->userinfo['field5'] = option 1'}) { option 1 } else if ({$vbulletin->userinfo['field5'] = option 2'}) { option 2 } What would be the correct way of writing this? |
#2
|
||||
|
||||
Templates or Plugins?
|
#3
|
|||
|
|||
Plugins
But both would be helpful. |
#4
|
||||
|
||||
Template:
Code:
<if condition="$bbuserinfo[field5] == 'option 1'">Option 1</if> <if condition="$bbuserinfo[field5] == 'option 2'">Option 2</if> PHP Code:
|
#5
|
|||
|
|||
Cheers mate
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|