Different messageUserInfo for premium members?

sifuhall

Active member
I would love to have a different messageUserInfo block for my premium members so their user info stands out in threads.

Has this been done before and is it difficult to do?

I appreciate any help getting me started with this.
 
I guess premium members are members of specific group. Then you can use ismemberof helper to add custom style.

Use code like this in message_user_info template (change 10 to user group id):
Code:
<xen:if is="{xen:helper ismemberof, $user, 10}">
  code for premium members
<xen:else />
  code for usual members
</xen:if>
 
Back
Top Bottom