Add donation icons after username and below user avatar similar to CSGO Lounge

#1
Hello all,

I am looking to reward my users for donating to help with server costs and I am looking to change an already implemented system on my forums to show icons depending on how much they have donated (different usergroups).

The code I am looking at slightly changing to implement this is the following:
PHP:
                                 <xen:if is="{$thread.user_id} == {$user.user_id}">
            <br />
            <dl class="pairsInline">
                <b><p style="color:blue; text-align:center;">[OP]</p></b>
            </dl>
            </xen:if>
I am already aware how to change the fourth line to allow images (custom .svg icons from one of our moderators), I am just unsure of how to change xen:if statement to only apply it to certain group IDs.

If anyone can help me with this, I would be very grateful.

Thanks,
~Fox
 
Top