The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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! |
#2
|
||||
|
||||
Code:
<if condition="is_member_of($bbuserinfo, x,x,x)"> Icon Here </if> |
#3
|
|||
|
|||
Quote:
Code:
<if condition="is_member_of($bbuserinfo, 12)"><img src="link to image"></if> |
#4
|
||||
|
||||
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. |
#5
|
||||
|
||||
Quote:
Code:
<if condition="$post[usergroupid]==6">Code Here</if> |
#6
|
|||
|
|||
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> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|