The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with usergroup icons in Postbit
Hey guys,
I am trying to add a little icon below the username in each post of the forum. That would be easy on its own, but in my case I want to display different icon for each usergroup. I have Gold and Silver sponsorts, so if user is my Gold Sponsor, I want to show gold icon, if he/she is a Silver sponsor, then silver one. You get the idea. How do I condition this in POSTBIT? I've tried to add this to a POSTBIT, but it doesn't work: PHP Code:
This code only shows the icon to a member of the Gold and Silver usergroup Please let me know how to condition this properly. Thanks. |
#2
|
||||
|
||||
Code:
<if condition="is_member_of($post, X)"> |
#3
|
|||
|
|||
thanks a bunch, worked like a charm
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|