The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Editing user profile fields in postbit legacy
I've created a custom field in the user profile which I want to display under the avatar in the postbit_legacy (under the "location" field)
In the template I have found: <vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> I have a field5 (named Car) that I want to add. So under the above code I insterted: <vb:if condition="$post['field5']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field5}</dd></vb:if> This works but the field name on the forum is picked up as "Location" so I have two Location fields with different information. Is it the vb:rawphrase I need to edit somehow? --------------- Added [DATE]1271227207[/DATE] at [TIME]1271227207[/TIME] --------------- Fixed. I'll write a tutorial on this later as I cant find any info anywhere on the net that covers VB4 |
#2
|
|||
|
|||
was gonna say edit:
<vb:if condition="$post['field5']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field5}</dd></vb:if> location_perm = what ever you want it to be called |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|