The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Adding comma when needed in custom profile (postbit legacy)
I have created two custom profile fields.
the first one includes 20 teams and the user can choose only one the second has also 20 teams and the user can choose only one. This is my code : Code:
<if condition="$post['field11']"><div class="CommUserInfo">team : $post[field11] , $post[field12]</div></if> The problem with my code is that it always puts the comma , I want it to add the comma only if the user chooses two teams ( one from each group) , while if the user chooses only one team , it does not add the comma. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|