Yes, it's possible (not admins, but moderators).
/* Define moderators here as specified by default */
$mods=array( 1=>array(2,3,4), 2=>array(10) );
/* Define moderators here in whole for all possible forums */
$modsAll=array(USER_ID1, USER_ID2...);
/* Here goes the algorithm for concatenating both arrays */
if($forum!=0 or $action=='userinfo'){ foreach($modsAll as $mod_id) { if(!isset($mods[$forum])) $mods[$forum]=array(); if(!in_array($mod_id, $mods[$forum])) $mods[$forum][]=$mod_id; } }
Haven't tested it but should work... |