Hook: forumdisplay_complete
PHP Code:
PHP Code:
if((in_array($foruminfo['forumid'], array(1,2,3,4))) AND ($post['posts'] < 100)){
print_no_permission();
}
Where it says: array(1,2,3,4) you want the forum IDs of the forum(s) you want to restrict access to.
Where it says "$post['posts']" you want the post count needed to access those forums.
Alternatively you could do:
PHP Code:
if((in_array($foruminfo['forumid'], array(1,2,3,4))) AND ($post['posts'] < 100)){
$vbulletin->url = 'index.php?' . $vbulletin->session->vars['sessionurl'];
eval(print_standard_redirect('You are unable to view this forum because your post count is less than 100.', false, true));
}
Which will print the standard redirect (that you see when closing a thread/logging in etc) saying: "You are unable to view this forum because your post count is less than 100."