b2evolution b2evolution

  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Releases
  • Skins
  • Plugins
  • Locales
 
  • « Heavy hitters
  • CountDown »

Antispam recheck tool

Categories: Antispam, Hack, No longer needed
This plugin or hack is no longer needed as the functionality it provides has been integrated directly into the b2evolution core or into another (bundled) plugin.
This is a HACK and not a properly written plugin. We strongly discourage using this. This page is only kept here for reference.
Warning: This plugin or hack has not been updated by its developer for a long time. It could imply partial or total lack of compatibility with the latest versions of b2evolution as well as potential security issues!

Warning:
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.

Author@edb
Last tested in version
Tags: download not availableoutdated

3 comments

Comment from: William Visitor

William

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.

any ideas?

2005-08-26 @ 13:50

Comment from: EdB Visitor

EdB

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!

2005-08-26 @ 15:07

Comment from: EdB Visitor

EdB

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!

2005-08-26 @ 15:15

Comments are closed on this archived website.

Plugin Repository

Plugins are little PHP scripts that allow you to add features that are not (yet) built into the b2evolution core.

How to...

  • Introduction to Plugins
  • How to install a plugin (after downloading it)
  • How to make a new plugin
 Upload a plugin!
Submit your own plugin

User log in

Search by keyword

Filtering options

Retain only results that match:

XML Feeds

  • RSS 2.0: Posts, Comments
  • Atom: Posts, Comments
What is RSS?

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque