View Full Version : Avatars hidden by usergroups
Dax IX
07-26-2005, 03:58 AM
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!
Dax IX
07-28-2005, 04:41 AM
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.
<if condition="is_member_of($bbuserinfo, usergroupid) OR is_member_of($bbuserinfo, usergroupid)">
<!--avatar code-->
</if>
Boofo
07-28-2005, 07:30 AM
And where would you put that code? ;)
Dax IX
07-28-2005, 07:35 AM
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! :p
Boofo
07-28-2005, 07:42 AM
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! :p
Ahhhh, but would the average newbie have known that? ;)
And I really am more stupid than I let on. ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.