I have this hack working with only one issue.
I can't figure out how to make it only allow posts from selected user groups.
I tried modifying
PHP Code:
if (!in_array($vbulletin->userinfo['usergroupid'], array(22))) print_no_permission();
I also tried adding
PHP Code:
$forumperms = fetch_permissions($foruminfo['10']);
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canpost']))
{
print_no_permission();
}
The 1st had no effect the second locked everyone out.