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

mistypants

Well-known member
#3
You're going to have to edit templates. The easiest way would probably be to conduct a search in the templates for instances of:
Code:
xen:username
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...
Code:
<xen:username user="$user" class="NoOverlay" />
Then just set it to use the rich username styling.
Code:
<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.
 
#4
You're going to have to edit templates. The easiest way would probably be to conduct a search in the templates for instances of:
Code:
xen:username
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...
Code:
<xen:username user="$user" class="NoOverlay" />
Then just set it to use the rich username styling.
Code:
<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.
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):
http://i.imgur.com/JK1udXi.jpg
Profile Page:
http://i.imgur.com/eZcyHJN.jpg