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

Is there a way of colourising the user title?

Discussion in 'XenForo Questions and Support' started by Alex, Feb 24, 2011.

  1. Alex

    Alex Active Member

    As above really can it be done? In VB you could do it by using the code in the user title box, but just wondered how/if it can be done in XF
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You can use HTML in the user title:

    Admin CP -> Users -> List User Groups -> [click a group] -> User Title Override

    For example:

    Code:
    <span style="color: red;">Administrator</span>
    
    That will create a red title called Administrator.

    You can also use HTML titles in the default ladder of titles:

    Admin CP -> Users -> Trophy User Titles
     
  3. Alex

    Alex Active Member

    Can it be done on a per user basis though as there are only a couple of users that have it?
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Unfortunately not. HTML doesn't work when you specify a custom title for an individual user. I tested it.

    You could create a new group with the title and then assign those two users to that group.
     
  5. Alex

    Alex Active Member

    Hmm, will have to have a think on that as would be a bit pointless for only a couple of users
     
  6. onthefly

    onthefly Active Member

    That didnt work! www.flytyingbug.com

    utitle.png
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  8. onthefly

    onthefly Active Member

    How come it doesn't show up on the home page?
     
  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The title isn't working for RickB at all. That means Rick is not in the admin group, or maybe he has a custom title set in his profile.
     
    onthefly likes this.
  10. onthefly

    onthefly Active Member

    Thanks Jake, you the man! Now how would you make the RickB red?
     
  11. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The red title is already working, it's just not working for Rick.

    Did you check to see if Rick has a custom title specified in his profile? That would override the group title.
     

Share This Page