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

XF 1.1 UserName styling in Profile and UserTab/Popup.

Discussion in 'XenForo Questions and Support' started by fataldragon59, Oct 28, 2013.

  1. fataldragon59

    fataldragon59 Member

    Last edited: Oct 28, 2013
  2. Amaury

    Amaury Well-Known Member

    I'm tagging @mistypants because she did this on KH-Vids and will be able to help.
    fataldragon59 likes this.
  3. mistypants

    mistypants Well-Known Member

    You're going to have to edit templates. The easiest way would probably be to conduct a search in the templates for instances of:
    Find which ones you want. I'll use the member card template as an example. Edit that template and find where the xen:username code is...
    <xen:username user="$user" class="NoOverlay" />
    Then just set it to use the rich username styling.
    <xen:username user="$user" class="NoOverlay" rich="true" />
    If I recall correctly, XenForo 1.2 adds rich username styling in certain places, so upgrading could save you a couple of template edits. Otherwise, this should do the trick.
    Amaury likes this.
  4. fataldragon59

    fataldragon59 Member

    Ok, so I got the profile card, but I cannot find where I am supposed to edit for the Userbar and Profile page.

    Userbar (Assuming this is the Userbar):
    Profile Page:
  5. mistypants

    mistypants Well-Known Member

Share This Page