if ($bbuserinfo['posts'] <= 0 AND $forumid != 18) // change 18 to your forum id { standard_error('Ph34r d4 1337 err0rz!'); }