The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Username --> Profile Field on Postbit display
Hi there,
Would someone be able to tell me how I can swap the Username being displayed on the Postbit_Legacy to, say, Profile Field 7? I've tried swapping several bits of the template around but the best I can get is {Field7}{Username}. When you hover over the Avatar with my changes, it says {Field7}'s Avatar, just as it does for {Field7}'s Reputation however the username remains unchanged. Any ideas? |
#2
|
||||
|
||||
Easy. Are you using postbit or postbit_legacy? Link me to your forum.
|
#3
|
|||
|
|||
Legacy; 4.0.x
|
#4
|
||||
|
||||
Within memberaction_dropdown:
PHP Code:
|
#5
|
|||
|
|||
I couldn't get the above to work so it displays. The displayed username remained the same.
|
#6
|
||||
|
||||
Replace this line:
Code:
<vb:if condition="$memberinfo['musername']">{vb:raw memberinfo.musername}<vb:else />{vb:raw memberinfo.username}</vb:if></strong></a> Code:
<vb:if condition="$memberinfo['musername'] OR $memberinfo['field7']"><vb:if condition="$memberinfo['field7']">{vb:raw memberinfo.field5}<vb:else />{vb:raw memberinfo.musername}</vb:if><vb:else />{vb:raw memberinfo.username}</vb:if></strong></a> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|