The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help: Adding Custom User Profiles in Memberinfo template {vb:raw userinfo.field2} ?
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 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|