The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Custom Profile Field Multiple Selection Checkbox
Hello,
I have a multiple selection checkbox user field where I have 10 options. I have limited maximum 5 options can be checked. Now, I want to show only the checked options (even if the number of checked options are below 5) in postbit. How can I do that? Code:
<vb:if condition="$post['field9'] & 1">Option 1</vb:if> <vb:if condition="$post['field9'] & 2">Option 2</vb:if> <vb:if condition="$post['field9'] & 3">Option 3</vb:if> <vb:if condition="$post['field9'] & 4">Option 4</vb:if> <vb:if condition="$post['field9'] & 5">Option 5</vb:if> <vb:if condition="$post['field9'] & 6">Option 6</vb:if> <vb:if condition="$post['field9'] & 7">Option 7</vb:if> <vb:if condition="$post['field9'] & 8">Option 8</vb:if> <vb:if condition="$post['field9'] & 9">Option 9</vb:if> <vb:if condition="$post['field9'] & 10">Option 10</vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|