This plugin has not been updated by its developer since a long time ago.
It could imply partial or total lack of compatibility with the latest versions of b2evolution.
- It sorts keywords based on if you rechecked your hitlog table or not.
- It lists only the keywords that haven't been rechecked, with an option to see the entire table.
- I removed the extra column I had for 'not rechecked' because seeing the keyword tells you it hasn't been rechecked.
- I added the extra column back in when you view the full table because otherwise there would be no way to tell rechecked from unrechecked.
- If you view the entire table the recheck link shows up on every keyword (like it does normally).
- Added a new method for recheck instead of just doing 'ban' again.
- Added a 'recheck all' option under the un-rechecked keyword table that will check through keywords until it finds a hit or comment that matches.
This hack requires editing core files and running one SQL query.
|Last tested in version:|
Comment from: William Visitor
I’m getting an error when cron runs it (same if I run it manually) - (MySQL 4.0.25-standard / B2Evo 0.9.0.12)
Parse error: parse error, unexpected ‘;’ in /home/mysite/public_html/blog/admin/b2antispam_recheck.php on line 24
Here’s the code referenced:
$report = ( $result->aspm_source != 'central' && $result->aspm_source != 'reported' ) ? 1 : 0;
I’ve done EdB’s “hacks": added database field, changed “no’s” to “needs” & “yes’s” to “gotit” in the script.
I’m using Isaac’s blacklist update cron technique successfully & would like to get the re-check working, too.
Comment from: EdB Visitor
Hi William. I’ll try to figure something out on this, but Isaac wrote the ‘automatic recheck’ hack - all I did was copy it and be happy. What version of PHP are you running? Are you a member of the forums? If not you should sign up because pasting code works a lot better in there than out here.
It’ll take me a while. I’m wondering about the syntax of that particular line. How it says “variable = this or that depending on a condition". I’m thinking maybe your PHP doesn’t like the way Isaac wrote the code? It’d be odd because Isaac is really good with code, but I don’t know what else to look at.
See you in the forums!
Comment from: EdB Visitor
Try changing “? 1 : 0;” to “? true : false;. Just a thought based on the reason I had to change yes and no to gotit and needs. I don’t understand why - I just remember my hack failed with yes and no for a few people. Something about how their server was setup.
Any additional followup we’ll do in the forums. Lotsa smart people in there!