Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 21 Dec 2010, 16:55
majorj0nny majorj0nny is offline
 
Join Date: May 2005
add a usergroup specific icon in postbit ?

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 21 Dec 2010 at 17:02 ---------------

ahh - got it ...

"is_member_of($post, 68)"

Last edited by majorj0nny; 21 Dec 2010 at 17:02. Reason: Auto-Merged DoublePost
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:07.

Layout Options | Width: Wide Color: