/* Anti-guest addon */

$membersRule=20; //defines amount of posts, which registered member should have in order to bypass the addon rules. Setting to 0 disables checking of members.

$membersRuleDict=FALSE; //if TRUE, only forbidden words from the Dictionary are disallowed to post for members (but not Guests); FALSE if all links are disallowed for everyone

if(($action=='ptopic' or $action=='pthread' or $action=='editmsg2' or (isset($_POST['prevForm']) and $_POST['prevForm']==1 and !(isset($_POST['agoff']) and (int)$_POST['agoff']==1))) and ($user_id==0 or ($membersRule>0 and $user_id!=1 and $isMod==0 and $user_num_posts<=$membersRule) ) ) include ($pathToFiles.'addon_anti_guest.php');

/* --Anti-guest addon */