The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there a mod, or would someone be able to help me out with this, to hide all avatars from certain members and unregistered guests based on user groups?
Thanks! |
#2
|
|||
|
|||
![]()
For anyone interested, I found the answer on this forum.
Change usergroupid to the id nuber of the usergroup you'd like to give permissions to. Code:
<if condition="is_member_of($bbuserinfo, usergroupid) OR is_member_of($bbuserinfo, usergroupid)"> <!--avatar code--> </if> |
#3
|
||||
|
||||
![]()
And where would you put that code?
![]() |
#4
|
|||
|
|||
![]()
Sorry, I'm really new to all of this!
![]() You put it in postbits or postbits_legacy around the code for displaying avatars. Not that you don't know! ![]() |
#5
|
||||
|
||||
![]() Quote:
![]() And I really am more stupid than I let on. ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|