Archives for: January 2012, 22

01/22/12

  04:49:00 pm, by The Dreamer   , 1 words  
Categories: General

Technorati Update

  04:08:00 pm, by The Dreamer   , 179 words  
Categories: b2evolution

b2evolution 4.x reporting to central antispam blacklist

Link: http://b2evolution.net/about/terms.html#antispam

After the upgrade from 3.3.3 to 4.1.2, I was troubled that I wasn't seeing submission responses for reporting spam to b2evolution's central antispam blacklist.

I finally dug into the code this morning...and figured out the problem...here's my quick fix:

PHP

--- antispam.ctrl.php.orig   2012-01-22 12:00:01.000000000 -0800
+++ antispam.ctrl.php   2012-01-22 11:54:59.000000000 -0800
@@ -121,+121,11 @@
          $Messages->addsprintfT_('Deleted %d comments matching «%s».'), $rhtmlspecialchars($keyword) ), 'success' );
       }
 
+      if( $report )
+      { // Report this keyword as abuse:
+         antispam_report_abuse$keyword );
+      }
+
       if( $blacklist_locally )
       { // Local blacklist:
          if( antispam_create$keyword ) )
@@ -138,11 +143,@@
          }
       }
 
-      if( $report )
-      { // Report this keyword as abuse:
-         antispam_report_abuse$keyword );
-      }
-
       param'request''string''' );
       if( $display_mode == 'js' && $request != 'checkban' )
       {

This is because in the "blacklist_locally" section it says:

// We have EXITed already at this point!!

I suppose the alternative is that local backlist and reporting are mutually exclusive, so don't blacklist locally if you want to report? Though the interface should reflect this.

Though this behavior change seems related to antispam action can be via a javascript popup in some areas.

Wonder if this is why the amount of data coming from the antispam blacklist each week dropped off a lot in the last year or so....while the amount of spam has been ever increasing....

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop

bloglovin

There are 20 years 1 month 23 hours 53 minutes and 35 seconds until the end of time.
And, it has been 4 years 11 months 27 days 14 hours 9 minutes and 21 seconds since The Doctor saved us all from the end of the World!

Search

January 2012
Mon Tue Wed Thu Fri Sat Sun
 << < Current> >>
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 1
This seal is issued to lawrencechen.net by StopTheHacker Inc.
powered by b2evolution

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime