PDA

View Full Version : Miscellaneous Hacks - Limit skins to Certain UserGroups


CoRRuPtD
10-09-2009, 10:00 PM
Limit skins to Certain UserGroups

If you want to limit a skin for use by only certain usergroups, then this mod will help. I use it so I can give my members who have donated extra skins to normal members.

In headerinclude, add this at the top :

<if condition="is_member_of($bbuserinfo, VIP USERGROUP)">
<else />
<meta http-equiv="REFRESH" content="0;url=index.php?styleid=Default Style">
</if>


Replace VIP USERGROUP with your VIP UserGroup ID.
Replace Default Style with your Default style ID.

This just redirects a user back to the default style when they try to access one they dont have the permission to.

Riceman
10-11-2009, 12:51 AM
Sounds like a valuable idea, but I'm fairly sure I have seen similar functionality in other mods.