The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
how can i add image right beside usernames for specific usergroup that only staff can see?
|
|
#2
|
|||
|
|||
|
Code:
<if condition="is_member_of($bbuserinfo, 6)"> your code here </if> |
|
#3
|
|||
|
|||
|
i understand that is the code to let certain usergroups ( in this case staff) to view things, but how do i designate a image for only one usergroup?
|
|
#4
|
|||
|
|||
|
Did you read what I posted? You put your image code inside that conditional and only that usergroup will see that image.
|
|
#5
|
|||
|
|||
|
yes i did, but i wanted the image only on a specific group not all usergrouips
|
|
#6
|
|||
|
|||
|
That is for a specific usergroup. Just change the number to the group you want. It's just an example.
|
|
#7
|
|||
|
|||
|
thanks for you help thus far, but what i wanted was if i had userid's 1-10, i wanted userid 3 to have the image only. Have the image, NOT view the image.
the code you wrote gives permission for one usergroup to view the image. how do i place the image ON a specific ID, thats my question in addition to your answer. how do i place it so that the image is set only one specific userid and not all ten. |
|
#8
|
|||
|
|||
|
Quote:
|
|
#9
|
|||
|
|||
|
Move your selected users to a new usergroup.......and then use the code I posted.
Quote:
|
|
#10
|
|||
|
|||
|
I think this does what you want:
Code:
<if condition="is_member_of($bbuserinfo, 4,5,6) AND is_member_of($post, X)"> <!-- image goes here --> </if> |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|