PDA

View Full Version : add a usergroup specific icon in postbit ?


majorj0nny
12-21-2010, 02:55 PM
I used to have a lot of these - but cant for the life of me remember how I did it and whats the best way of doing this in vb4 ?

basically I want to add a little image icon along with the usual msn, ect icons in the postbit_legacy for users.

i got something like this at the moment -

<!-- group 68 user-->
<vb:if condition="$post['post68']"><img src="http://www.mysite/forum/images/avatars/bunny.png alt="group 68 user" border=""></vb:if></p>
<!-- group 68 user -->


now Im guessing Im going wrong in the $post['post68'] bit - how do I do that for usergroup rather than profile field?

if that makes any sense ?

--------------- Added 1292950959 at 1292950959 ---------------

ahh - got it ...

"is_member_of($post, 68)"