![]() |
IF part of a usergroup - icon in postbit
I want to know how to insert an icon into postbit, or anywhere for that matter, when a user is part of a certain usergroup.
I'm guessing its the same theory as this modification, but a little help would be nice. Thanks for any help received! |
Code:
<if condition="is_member_of($bbuserinfo, x,x,x)"> |
Quote:
Code:
<if condition="is_member_of($bbuserinfo, 12)"><img src="link to image"></if> |
I have a premium members usergroup (usergroup id = 27), I would like to display premium user rank or icon or html markup for this usergroup which should be visible only to premium members, moderators, super-moderators and administrators.
Can someone guide how this can be done ? Thanks. |
Quote:
Code:
<if condition="$post[usergroupid]==6">Code Here</if> |
I'm sorry that doesn't seem to work either...
I found the solution in the 3.5 forums: Code:
<if condition="is_member_of($post,USERGROUPID)">Image Code</if> Code:
<if condition="is_member_of($post,12)"><img src="URL"></if> |
All times are GMT. The time now is 06:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|