Log in

View Full Version : If conditional: postbit background based on usergroup


imageconstrux
09-29-2009, 08:07 PM
I'm launching a forum that I want to delineate posts from professionals in the industry from those who aren't pros, and I'd like to do it via a different background color in the postbit (.alt3, if you will). But I'm having trouble figuring out the if condition for each post.

Anyone have any ideas?

HMBeaty
09-29-2009, 08:16 PM
I believe a modification has been released here for having a different background per usergroup, then just modify that if you need to to suit your needs

imageconstrux
09-29-2009, 11:56 PM
Thanks HMBeaty - I was able to find the postbit legacy css mod and just needed to pull this bit of code:

"is_member_of($post, #)"

and it's all working perfectly. Thanks!