Log in

View Full Version : Group icon on WHO and Memberlist


LamboJay
12-08-2005, 09:39 PM
in my postbit template I have the following conditional that displays a small icon next to user names who are a member of a custom user group.

<if condition="is_member_of($post,10)"><img
src="$stylevar[imgdir_misc]/group_icon.gif" border="0"></if>

It works great and now I also want the icon shown on the who's online and member list pages but can't seem to get it working.

I modified the whosonlinebit template and used the same conditional except with $userinfo instead of $post but it does not work. Same problem with the memberlist.

Any one know how to achieve this?

Thanks.

LamboJay
12-10-2005, 07:22 PM
Anyone? Bueller? Bueller? Anyone? :)

TyleR
12-10-2005, 07:31 PM
you could always add it in the html mark-up within usergroups management..HTML is allowed there, so

<img src="/images/mic/icon.gif" border="0">&nbsp;

could just be added to the end, or start of the first html mark-up box.

LamboJay
12-10-2005, 08:16 PM
That doesn't work.

TyleR
12-10-2005, 08:22 PM
well of course the image paths have to be edited.

LamboJay
12-11-2005, 03:08 PM
Well obviously! It doesn't work.