The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello all,
I am trying to add a few custom profile fields into the memberinfo (profile) templates. For example if I have a custom field 2 called hometown and I would like to add it to the ministat section. What is the variable name here? I tried user, userinfo, prpare, none would work... Code:
<vb:if condition="$user['field2']"> Hometown: {vb:raw user.field2} </vb:if>
<vb:if condition="$userinfo['field2']"> Hometown: {vb:raw userinfo.field2} </vb:if>
<vb:if condition="$prepare['field2']"> Hometown: {vb:raw prepare.field2} </vb:if>
Code:
<vb:if condition="$user['field2']"> Hometown: {vb:raw user.field2} </vb:if>
<vb:if condition="$userinfo['field2']"> Hometown: {vb:raw userinfo.field2} </vb:if>
<vb:if condition="$prepare['field2']"> Hometown: {vb:raw prepare.field2} </vb:if>
![]() WC |
![]() |
|
|