• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Different messageUserInfo for premium members?

sifuhall

Active member
#1
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.
 

Arty

Well-known member
#2
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>