1. 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?

Discussion in 'Styling and Customization Questions' started by sifuhall, Sep 15, 2012.

  1. sifuhall

    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.
     
  2. Arty

    Arty Well-Known Member

    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>
     
  3. sifuhall

    sifuhall Active Member

  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

Share This Page