PDA

View Full Version : FAQ Permissions


HittingSmoke
07-04-2012, 11:08 PM
I'd like to restrict certain FAQ entries to specific usergoups.

I found this archived post (https://www.vbulletin.com/forum/showthread.php/305076-Permissions-for-the-FAQ) but it would only let me restrict the entire FAQ to specific usergroups:

if (!is_member_of($vbulletin->userinfo, x,y,z))
{
print_no_permission();
}

Is there any way I can tailor this bit of code to execute when a specific FAQ section is loaded? I'd like to have entire FAQ sections for specific usergroups on my forums.

Thanks.