Yes, that's the first thing I did. But it does not apply to my setup:
1. There is no mention of registration page, and why captcha it's not working in my case.
2. From the README: "You can set which group shouldn't see captcha on each page"
What group is it when you have not logged in yet, and all you see is the login or register page? I tried a few combinations without success.
By the way, my captcha plugin codepase.php code is this:
/* Setting Options */
/**
* Enable/Disable array
*
* Set which group should NOT see Captcha on each page
* ''=> Captcha Enable for all users
* COppermine Standard Group Name:
* Administrators,Registered,Guests,Banned
* You can add your custome group name too
* Seprated by ','
*/
$CAPTCHA_DISABLE = array('login' => 'Administrators,Registered,Guests,Banned',
'register' => '',
'comment' => 'Administrators,Registered',
'report' => 'Administrators,Registered',
'ecard' => 'Administrators,Registered',
);
I think something from this code in codebase.php is not working properly
case 'register.php':
$valid_groups = explode(',', $CAPTCHA_DISABLE['register']);
if (!in_array(USER_GROUP, $valid_groups) OR $CAPTCHA_DISABLE['register'] == '') {
$exper = '(<td colspan="2" align="center" class="tablef">.*
.*<input type="submit" name="submit" value="' . $lang_register_php['submit'] . '" class="button" />.*
.*</td>)';
if (preg_match($exper, $html)) {
$newcpch = '<!-- CAPTCH PLUGIN 3 --><tr><td class="tableb" height="25" width="40%">' . $lang_plugin_captcha_conf . '</td><td class="tableb_compact" colspan="2"><input type="text" name="confirmCode" id="confirmCode" size="5" class="textinput"><img src="captcha.php" align="middle"></tr><tr><td colspan="2" align="center" class="tablef">
<input type="submit" name="submit" value="' . $lang_register_php['submit'] . '" class="button" />
</td></tr>';
$html = preg_replace($exper, $newcpch, $html);
}
}
break;