if (can_moderate($forumid) AND in_array(THIS_SCRIPT, array('forumdisplay', 'showthread', 'archive', 'printthread'))) { $hidetag['canview'] = true; // allowed if [user = mod] }