I know this is an old thread but having the exact same issue with version 1.2.7 of the plugin.
I also have it set to "Yes (reject only IP AND email match)" and it then appears to block everyone who registers even though there is NO matches what so ever.
About to try it with the "Yes (reject any match)" setting.
Using the above forementioned setting works as intended, but its definitely a bug with the other setting. Going to look at the source of the plugin now to see if its a simple syntax error in how its comparing the values.
Edit:
Okay on line 448 of cedit_blockdisposable.php it has
| Code: |
if ( ( $emailbad && $ipbad ) || ( $count = 2 ) ) return true;
|
Isn't that always going to return true? Shouldn't it be
| Code: |
if ( ( $emailbad && $ipbad ) || ( $count == 2 ) ) return true;
|
I'm not a PHP programmer (my primary cup of tea is C / C++) so there could be minor differences in syntax between the languages, so I could be wrong. However I know in C that is indeed a minor but critical bug (made the mistake in the past in a project).