The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Please help with this.
I have a custom field, (field5) Which I would like to show on the member's profile. I am totally changing the profile layout so I need the line of code, that will show the contents of field 5 to all users that visit the users profile. Field 5 is Customer Reference Number and I have it next to the username at the top of the memberinfo page. Code:
<span class="member_username">{vb:raw prepared.musername}</span>
<span class="member_status">{vb:raw prepared.onlinestatus}</span>
<vb:if condition="$prepared['field5']"><span class="usertitle">( $prepared['field5']) </span></vb:if>
Sorted it. For anyone who needs to know how, here's the code that worked for me: Code:
<span id="userinfo">
<span class="member_username">{vb:raw prepared.musername}</span>
<span class="member_status">{vb:raw prepared.onlinestatus}</span>
<vb:if condition="$userinfo['field5']"><span class="usertitle">({vb:raw userinfo.field5}) </span></vb:if>
|
| Благодарность от: | ||
| Lynne | ||
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|