MyBB Antispam - changes in files
File: member.php
Find:
if(!empty($errors))
Add before:
// START - MyBB Antispam MOD
if (isset($mybbAntispam))
{
$mybbAntispam->captchaCheckLogin();
}
// END - MyBB Antispam MOD
Find:
$username = "";
$password = "";
Add before:
// START - MyBB Antispam MOD
if (isset($mybbAntispam))
{
$mybbAntispam->captchaGenerateLogin();
}
// END - MyBB Antispam MOD
File: newreply.php
Find:
// One or more errors returned, fetch error list and throw to newreply page
Add before:
// START - MyBB Antispam MOD
if (isset($mybbAntispam))
{
$mybbAntispam->captchaCheckNewPost();
}
// END - MyBB Antispam MOD
Find:
if($mybb->settings['threadreview'] != 0)
Add before:
// START - MyBB Antispam MOD
if (isset($mybbAntispam))
{
$mybbAntispam->captchaGenerateNewPost();
}
// END - MyBB Antispam MOD
File: newthread.php
Find:
// One or more errors returned, fetch error list and throw to newthread page
Add before:
// START - MyBB Antispam MOD
if (isset($mybbAntispam))
{
$mybbAntispam->captchaCheckNewPost();
}
// END - MyBB Antispam MOD
Find:
if($forumpermissions['canpostpolls'] != 0)
Add before:
// START - MyBB Antispam MOD
if (isset($mybbAntispam))
{
$mybbAntispam->captchaGenerateNewPost();
}
// END - MyBB Antispam MOD
File: showthread.php
Find:
if($mybb->user['signature'])
Add before:
// START - MyBB Antispam MOD
if (isset($mybbAntispam))
{
$mybbAntispam->captchaGenerateNewPost();
}
// END - MyBB Antispam MOD