Quote:
Originally Posted by Xenon
i suggest to replace
PHP Code:
if ((($forumid == 73) OR ($forumid == 28) OR ($forumid == 40) OR ($forumid = 80)) AND ($bbuserinfo['posts'] < $minpostcount)) {
print_no_permission();
}
with
PHP Code:
if (in_array($forumid, array(73, 28, 40, 80)) AND $bbuserinfo['posts'] < $minpostcount)
{
print_no_permission();
}
way easier to read or change 
|
Thanks, i am still a php noob
I also just realised i put 1 equal sign instead of 2 up there on the third forum, which would have changed the forumid to 80 everytime a new thread was started