1. 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

Discussion in 'XenForo Questions and Support' started by abdfahim, Oct 13, 2012.

  1. abdfahim

    abdfahim Active Member

    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,
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    abdfahim likes this.
  3. abdfahim

    abdfahim Active Member

    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
    
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    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}
    
     
    Mendo and abdfahim like this.
  5. abdfahim

    abdfahim Active Member

    thanks ! :)
     

Share This Page