The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have a small bit of code someone helped me out with do display multiple choices in a profile field on my site. The only problems is that we cannot figure out how to remove the spaces in between the words. For example, it will be dipslay like this:
Straight , Attatched , Looking insead of: Straight, Attatched, Looking Any help is appreciated!!! Code:
<if condition="$post['field13'] & 1"> $comma Gay <if condition="$comma = ','"></if> </if> <if condition="$post['field13'] & 2"> $comma Straight <if condition="$comma=','"></if> </if> <if condition="$post['field13'] & 4"> $comma Bi <if condition="$comma = ','"></if> </if> <if condition="$post['field13'] & 8"> $comma Single <if condition="$comma = ','"></if> </if> <if condition="$post['field13'] & 16"> $comma Attached <if condition="$comma = ','"></if> </if> <if condition="$post['field13'] & 32"> $comma Looking <if condition="$comma = ','"></if> </if> <if condition="$post['field13'] & 64"> $comma Not Looking <if condition="$comma = ','"></if> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|