XF 1.5 Breaking xen:username and xen:avatar linking

dethfire

Well-known member
How do you stop xen:username and xen:avatar from automatically making a link to the users profile?
 
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.
 
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}: " />
 
Back
Top Bottom