The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Is there a nicer way to output multiselect inputs?
is there a more practical way to output multi select profile fields?
Code:
<vb:if condition="$post['field7']"> <vb:if condition="$post['field7'] & 1">Option1, </vb:if> <vb:if condition="$post['field7'] & 2">Option2, </vb:if> <vb:if condition="$post['field7'] & 4">Option3, </vb:if> <vb:if condition="$post['field7'] & 8">Option4, </vb:if> <vb:if condition="$post['field7'] & 16">Option5, </vb:if> <vb:if condition="$post['field7'] & 32">Option6, </vb:if> <vb:if condition="$post['field7'] & 64">Option7, </vb:if> <vb:if condition="$post['field7'] & 128">Option8, </vb:if> <vb:if condition="$post['field7'] & 256">Option9, </vb:if> <vb:if condition="$post['field7'] & 512">Option10, </vb:if> </vb:if> |
#2
|
|||
|
|||
hello?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|