last one first
PHP Code:
$permissions=getpermissions($forumid);
if (!$permissions[canview] or !$permissions[canpostnew]) {
if($forumid != 13)
{
show_nopermission();
} else {
eval("standarderror(\"".gettemplate("error_cannotposthere")."\");");
}
}
$forumid can be used here as you can see in the first line of the block but then its correct
so, first one now
do you mean do it by multiple threads or multiple forums?
forums:
instead of this
PHP Code:
if($threadinfo['forumid'] != xx)
use this:
PHP Code:
if(!in_array($threadinfo['forumid'], array(xx, yy, zz))
for threads just change the forumid by threadid

replace xx, yy and zz