Adding icon next to username in message_user_info

shawn

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:

Code:
<xen:username user="$user" itemprop="name" rich="true" />
Code:
<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">
</xen:if>
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...?
 
Top