• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Show both regular title and custom title

abdfahim

Active member
#1
Hi,
Is it possible that I can show "Custom Title" below the regular title? At present, if I give any custom title to anybody, it just replaces the regular one. For example, I want to give custom title "Networking Expert" to one of my moderator, but then it does not show the title "Moderator". Can I show both, like below?
USER_X
Moderator
Networking Expert


Thanks,
 

abdfahim

Active member
#3
Thanks Jake. It'll serve my purpose.

Though it'd be better if it was showing like#2 instead of #1


#1
Code:
xxx
Moderator
 
Likes Received: 
1
 
Trophy Points:
18
 
Rank:
Expert, Networking

#2
Code:
xxx
Moderator
Expert, Networking
 
Likes Received: 
1
 
Trophy Points:
18
 

Jake Bunce

XenForo moderator
Staff member
#4
You can edit this template directly:

Admin CP -> Appearance -> Templates -> message_user_info

And use this variable to output a specific field anywhere you want (you must enter the field_id of your custom field):

Code:
{$user.customFields.field_id}