stuky4ever
06-13-2009, 07:17 PM
How can i restrict a User Group from accessing a Custom Vbulletin page?
EagleNick
06-14-2009, 12:29 AM
Usually I just wrap the entire page content in a conditional, like so:
<if condition="is_member_of($bbuserinfo, X, Y, Z)">
PAGE CONTENT HERE
<else />
Sorry, you are not permitted to view this page.
</if>
Replace X, Y, and Z with the IDs of the usergroups that should be able to view the content
stuky4ever
06-15-2009, 03:12 PM
got it thank very much =D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.