Ok I fixed it I replaced in forumdisplay
PHP Code:
// if posts per day is less than specified, then do not allow to view forum/sub-forum
$jointime = (time() - $userinfo[joindate]) / 86400; // Days Joined
if ($jointime < 1) { // User has been a member for less than one day.
$postsperday = $bbuserinfo[posts];
} else {
$postsperday = sprintf("%.2f",($userinfo[posts] / $jointime));
}
if (($foruminfo[minpostsperday]>$postsperday) and !(ismoderator($foruminfo[forumid]))) {
eval("standarderror(\"".gettemplate("error_minpostsperday")."\");");
exit;
}
With
PHP Code:
// if posts per day is less than specified, then do not allow to view forum/sub-forum
$jointime = (time() - $bbuserinfo[joindate]) / 86400; // Days Joined
if ($jointime < 1) { // User has been a member for less than one day.
$postsperday = $bbuserinfo[posts];
} else {
$postsperday = sprintf("%.2f",($bbuserinfo[posts] / $jointime));
}
if ($foruminfo[minpostsperday]>$postsperday) {
eval("standarderror(\"".gettemplate("error_minpostsperday")."\");");
exit;
}