himm.. the code:
PHP Code:
if (!ismoderator($forumid) AND ($forumid==X OR $forumid==Y))
{show_nopermission();exit;}
should do the trick.
For new threads: in newthread.php insert it before:
PHP Code:
if ($foruminfo[allowposting]==0) {
eval("standarderror(\"".gettemplate("error_forumnoreply")."\");");
exit;
}
For new replies: in newreply.php before:
PHP Code:
updateuserforum($threadinfo['forumid']);