Quote:
Originally posted by user360
in newthread.php
I found "$forumid=verifyid("forum",$forumid);"
and after that i put
if (($bbuserinfo[posts] < 2) AND ($forumid==11 OR $forumid==5) AND ($bbuserinfo[usergroup]!=6 AND $bbuserinfo[usergroup]!=5 AND $bbuserinfo[usergroup]!=7)) {show_nopermission();exit;}
still didnt work
|
I tested your code in my test board and it works here.
Make sure:
1- You test with an account who is NOT Mod, S.Mod or Admin.
2- Make sure this account has 0 or 1 posts.
3- Make sure you test to send a new thread in forum 11 or 5
So this will work: Register a new account in your board from the ground, validate its email, go to forum 11 or 5 and click NEW THREAD. You'll receive no permission page..