Log in

View Full Version : image per usergroup


DeXTeR27
04-05-2009, 10:42 PM
I am trying to show an image in the postbit IF a member is of a certain usergroup. I think i have my conditional wrong because what I am getting is it shows up in everyones postbit under their avatar but only for the usergroup I choose.

here is what I'm using.

<if condition="$bbuserinfo[usergroupid]==6"><img src="http://www.imageurlhost.com/images/r47zzj9k5hxeb78cnvjz_thumb.png" border="0" alt="Lifetime Member" /></if>

which only shows the image to admin but as mentioned it's in everyones postbit.

I want to show an image IF they are in a certain usergroup and it display to everyone.

I hope that makes sense.

Thanks

Lynne
04-05-2009, 11:09 PM
Try $post[usergroupid] instead ($bbuserinfo is you, the viewer)

DeXTeR27
04-05-2009, 11:51 PM
worked like a charm Lynne, thanks hon