Adding icon next to username in message_user_info


Well-known member
I hoped this would add an icon next to the username in a thread. No luck so far.

Here's what I currently have. After:

<xen:username user="$user" itemprop="name" rich="true" />
<xen:if is="{xen:helper ismemberof, $user, 14}">
<img src="path/to/image1.png">
<xen:elseif is="{xen:helper ismemberof, $user, 3,5,9}" />
<img src="path/to/image2.png">
I also added HTML comments within the if clauses, figuring maybe there was a problem with loading the images, or maybe that I couldn't call images that way from a template... but the comments aren't showing up, either. Maybe I've got the wrong template...?