The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Usergroup Conditions (Postbit_legacy)
I'm still learning the in's and out's of conditions and have run into a problem. I plan on using a condition statement for my usergroups, but I cannot piece the codes together to create a successful outcome.
Basically, I would like to have a image appear in the posbit_legacy template, depending on what usergroup you are in. Are any of the following codes close to what I need to achieve? Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)"> </vb:if> |
#2
|
|||
|
|||
Still in search of a solution.
|
#3
|
|||
|
|||
Do you want the image to be according to what user group the user viewing the page is in, or the user who wrote the post is in? If it's the user viewing the page, then I think what you have is correct. And yes, you would have to put your image html inside those tags.
If you want it to be the poster's user group, I think you can use $post in place of $bbuserinfo. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|