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


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?