find:
PHP Code:
if (($vboptions['facffa_checkforumactivity'] AND in_array($foruminfo['forumid'], $vboptions['facffa_checkforums'])))
{
// forum activity check
$definedtime = ($vboptions['facffa_checkforumactivitytime'] * 86400);
$limit = TIMENOW - $definedtime;
$recentpostcount = $DB_site->query_first("
SELECT COUNT(*) AS total
FROM " . TABLE_PREFIX . "post
WHERE userid = $bbuserinfo[userid]
AND dateline >= $limit
");
if ($recentpostcount['total'] < $vboptions['facffa_checkforumactivityposts'])
{
eval(print_standard_error('facffa_checknotenoughposts'));
}
}
and replace with
PHP Code:
$facffa_checkforums = explode(",", $vboptions['facffa_checkforums']);
if (($vboptions['facffa_checkforumactivity'] AND in_array($threadinfo['forumid'], $facffa_checkforums)))
{
// forum activity check
$definedtime = ($vboptions['facffa_checkforumactivitytime'] * 86400);
$limit = TIMENOW - $definedtime;
$recentpostcount = $DB_site->query_first("
SELECT COUNT(*) AS total
FROM " . TABLE_PREFIX . "post
WHERE userid = $bbuserinfo['userid']
AND dateline >= $limit
");
if ($recentpostcount['total'] < $vboptions['facffa_checkforumactivityposts'])
{
eval(print_standard_error('facffa_checknotenoughposts'));
}
}