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

XF 1.5 Breaking xen:username and xen:avatar linking

Jake Bunce

XenForo moderator
Staff member
#2
Use template helpers for the raw values:

Code:
{xen:helper avatar, $user, m}

{xen:helper richusername, $user}
avatar will return just the avatar location for use in a href.

richusername will return a marked up version with group styling but no hyperlink.
 

dethfire

Well-known member
#3
How would this work with <xen:username user="$forum.lastPost" />?

Also how to unlink
<xen:datetime time="$forum.lastPost.date" class="muted lastThreadDate" data-latest="{xen:phrase latest}: " />