Yeah well, I figured that out allready, but I'd like moderators (which are actually users that are in the Registered usergroup) to be able to start new threads as well.
So, how about this:
PHP Code:
if (ismoderator($forumid)) AND $forumid=Y OR $forumid=Z { code to continue }
elseif ($bbuserinfo[userid]!=W AND $bbuserinfo[userid]!=X AND $forumid=Y OR $forumid=Z) { show_nopermission();exit;}
Would that work?
btw, one more little question, where to put this code and what code should be placed at the "Code to continue" part?