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

How can I check to see if the poster is a certain usergroup?

Discussion in 'XenForo Development Discussions' started by matthewalan, Jan 23, 2011.

  1. matthewalan

    matthewalan Active Member

    I remember this being suggested way before XF was release, but I'd like to see if there was a simple way of checking someone's usergroup when they post.

    For example, I want the postbit for all my staff members a different color. I have a specific usergroup called "Staff" and ALL of my staff members are put into there. How would I check to see if a user is a member of that usergroup and then apply different colors to the postbit alone?

    Here is an example:

    ^ The posts on this page are different than those on this page:


    Is there any simple way to do this?
  2. Shadab

    Shadab Well-Known Member

Share This Page