Spam Karma 2 Akismet Plugin

I have updated the Spam Karma 2 Akismet Plugin that was released as BETA some months ago. I don’t want to be like all those hip web 2.0 permanent betas, so we leave this state for now. I bumped the version number of this small plugin to 2.0 and made some modifications:

  • fixed a logic error which prevented the plugin to submit some corrections to Akismet.com
  • changed some strings and default values (now checks against Akismet.com more often to give that service more to eat)
  • there is now a little readme in the php-file
  • fsockopen could produce php warnings which revealed the wordpress.com api key which was fixed, too

The location of the plugin is the same as before: sk2_akismet_plugin.zip

Make sure you have an installed Spam Karma 2.x, download the zipfile, unzip it to your wp-content/plugins/SK2/sk2_plugins directory and enter your WordPress.com Api Key (now available for free if you sign up there and I should get money for referring people there *g*) in the Spam Karma 2 settings. Finished! Nothing more to do for you :-)
If you are upgrading, you only need to copy the sk2_akismet_plugin.php from the zip over your old one.

Have a spamless blog and a good time!

P.S.: Bug reports go into the comment section. Thanks!

P.P.S.: 156 downloads of the beta in the last 3 months. Thanks!

Update:
Version 2.1 now features the display of its own version and I have recorded 640 downloads so far :-)

153 Gedanken zu “Spam Karma 2 Akismet Plugin

  1. Pingback: Library Monk - the blog of Dan Greene » Blog Archive » Akismet and Spam Karma 2

  2. Thanks Ajay (fixed that apostrophe error). The plugin checks the comment against Akismet after SK2 calculated the karma. You can change that behaviour by assigning different values to the “register_plugin” function call at the bottom of the php file, but the default (executed as the last plugin) should be ok for everyone.

  3. Pingback: BloggingTom

  4. Pingback: Basic Thinking Blog » Spam Karma 2 Akismet Plugin

  5. Pingback: » Spam Karma 2 geknackt Blogspam Blog

  6. Pingback: (S)K2 dilemma at teezeh dot info

  7. Pingback: Downgrading Akismet at D’Arcy Norman Dot Net

  8. Pingback: Back on SK2 at teezeh dot info

  9. Pingback: Tim Linden Blog » Blog Archive » links for 2006-02-24

  10. Pingback: » Spam und effizienter Schutz — cne _LOG Archiv

  11. Pingback: Dominik’s Journey ;-) » Blog Archive » Comment Spam

  12. Habe jetzt das SK2 Askimet Plugin auch installiert, nachdem mir heute ein spambot durch SK2 gerutscht ist.

    Komischerweise funktionierte der Trackback nicht. Im Spamfilter haengengeblieben?

  13. Pingback: zahlenzerkleinerer » Blog Archive » Spam Karma 2.2 gegen Kommentar Spam Bots

  14. Pingback: Solo Technology » Blog Archive » Blog Spam reaching new levels

  15. Great work! I recently noticed that some spam gets through the “bare” SK2 plugin. I hope the last remaining few commentspams get caught by this addition !

    BTW: Nice theme. ;-)

  16. Pingback: Glühweinjunkies » Spam Problem? Mit mir nicht!

  17. Pingback: Väldigt mycket spam, men inte för tillfället at Nico.se

  18. Pingback: gimpyleg.com » comment spam tastes like chicken

  19. Pingback: Spamwelle » Sebbis Blog

  20. Pingback: La Bitácora del Tigre » Qué difícil es lidiar con el spam

  21. Pingback: Pandeblog » Nueva versión del plugin Akismet para Wordpress

  22. Pingback: Telagon Sichelputzer » SK2 Akismet Plugin

  23. Pingback: Homo Sum » Blog Archive » Getting spammed, almost to the DDOS point.

  24. Pingback: Wordpress-Plugins: Übersicht [hirnrinde.de - was in unseren Köpfen herumspukt…]

  25. I use WordPress on my hosted account. I just unstalled SK2 and uploaded sk2_akismet_plugin.php to the proper directory. I do not see SK2-Askimet on the plugin screen. Is it just working automatically?

  26. Thanks. I finally figured out how to get the API key, from a WordPress.com blog.

    I noticed that SK2 is available under both the Manage tab and the Options tab. I use WordPress v.2.0.2

    Phil

  27. Pingback: AlltagsGrauen.info » WP 2.0.3

  28. Pingback: Wordpress Plugin Clean Out at Ah Knight’s Blog

  29. Pingback: Telagon Sichelputzer » Spamabwehr in Wordpress

  30. Pingback: Spam Karma 2 Akismet Plugin BETA » Sebbis Blog

  31. Pingback: Viper007Bond.com » Blog Archive » Spam Karma 2 + Akismet

  32. Hello sygyzy, no you aren’t. This plugin here is a complete implementation (you may say copy) of the original plugin. The wordpress plugin api doesn’t allow for multiple plugins to classify a comment … only the last one that sees the comment decides if it’s spam or ham. Therefor this “copy” of the original was neccessary :-)

  33. Sebbi – Just for clarification’s sake. I upload your plugin and activate it. When I go to the plugin page in WP, I also see the Akismet plugin. I leave that deactivated. In the Spam Karma 2 options, under the plugins section, I enter my WordPress API key. That’s it?

    How do I know it’s “working”?

  34. I’ve found what I think might be a bug. If I look in the approve comments section, the latest entry is clearly a SPAM trackback. So I check the box and have it run through Akismet. The red status text says “Submitted to Akismet as ham. Akismet say it’s SPAM.” After it reports that, nothing happens. It still just leaves it in the approved state.

    1. How did it get to the approved state in the first place?
    2. Barring that, how come after Akismet says it’s spam, it doesn’t get moved to moderated or the spam section?

  35. sygyzy, yes that’s it. You know it’s working when you hover over the karma points of a comment and you see “Akismet says it’s ok/spam”. Not all comments (those already having a pretty hight negative karma) get send to Akismet for classification, so it may not appear everywhere.

    The bug: it’s not a bug, it’s a feature. Running the Akismet check over a comment again only adds/subtracts the karma points of this check (default: 7). This may not be enough to turn the comment into spam. If you want to do that you have to click on “moderate selected”. SK2 automatically moves the marked comments to the spam section and sends a notification to Akismet that it was wrong about the comment.

    @1. You can see the reasons for the karma value if you hover (mouse over) over the points.
    @2. If other modules of SK2 decided it’s ham and gave the comment enough points, Akismets default -7 points (saying it’s spam) might not be enough. I implemented it this way because Akismet isn’t always the better choise (SK2 alone is very good in the spam fight). If you feel the Akismet check should have more to say, update its strength (general setting) to strong or supastrong :-)

  36. Sebbi – You are correct on all fronts. I verified it is working. Also, I found out why my spam trackbacks and comments were still marked as valid. They all came from repeat offenders and apparently due to the Snowball Effect (granularity), this awards the commetner with like 500 points. There is nothing in the world that could cancel that out!

  37. The “Snowball Effect” is indeed a problem if the first spam comment was identified as ham. While it never happened on my blog I imagine deleting hundreds of false-positives wouldn’t be a lot of fun. However the author of SK2 wrote something about bayesian filters and neural nets for the next version in a news update. I’m looking forward to that (in hopes it further hinders those nasty spamers out there) :-)

  38. Pingback: blogHelper » Handling Spam on WordPress

  39. Pingback: Fight Spam On Wordpress at Ah Knight’s Blog

  40. Pingback: Workaround for Akismet on SVN at The NeoSmart Files

  41. Okay, I do have one small request. Could you please add the line in so the plugin tells us what version it is? I believe you do it by adding a line like this in the variables:

    var $plugin_version = 2.1;

    Danke!

  42. Thank you for the request. I modified the plugin that it shows its version.

    Lately I discovered an annoying bug: SK2 does not seem to be able to recover or moderate multiple comments at once. I don’t know if my plugin causes this or if it’s a general problem of the newest SK2-release.

  43. The version display doesn’t quite work. Try this:

    var $plugin_version = 2.1;
    var $show_version = true;

    Note that it’s “$plugin_version” not “$version”.

    With these two lines in there, the Spam Karma 2 options page will show the version of your plugin, which is awfully handy when we’re checking for updates! :-)

    Still awesome. Much cleaner than using a whole separate WP plugin for Akismet. Thanks.

  44. Oops, something went wrong with the zipfile (two versions were packed together). I hope that I got it right this time.

    Thank you for reporting it … again :-)

  45. Pingback: Ham Radio Blog

  46. Pingback: Wordpress.com mit Spamproblem » BloggingTom

  47. Pingback: Peekaboo / flustered

  48. Maybe Im missing something but…
    Should I be keeping the WordPress Akismet plugin active at the same time I have Spam Karma (with your plugin) active? Or should the Akismet plugin be de-activated?

  49. Hi Dave and thanks for asking!
    The original Akismet plugin (shipped with WordPress) is not needed and it should not be activated next to an active Spam Karma installation.

    The reason i wrote this SK-plugin was because you can not have multiple cooperating spam plugins in WordPress. This SK-plugin is escentially the original Akismet plugin rewritten to work with Spam Karma, because Spam Karma has an interface for other spam fighting mechanisms.

  50. Pingback: Hilfreiche Wordpress Plugins at Suche & Recherche

  51. Pingback: Nerdaphernalia » Archives » if Spam Blockers were Superheroes, this would be the JLA

  52. Pingback: Netene - Worldshots

  53. Yupp, you are right. :) So I don’t need the “legacy” akismet-plugin anymore when I have installed this version? The “problem” here is: akismet overrules all decisions made by the battery of sk2-plugins. :(

    SK2 even is not learning when akismet is enabled. And is it possible to re-add the “Recent Spam Harvest” to the dashboard? (e.g. a link to YOUR_URL/wp-admin/options-general.php?page=spamkarma2&sk2_section=spam
    ?

    Then I just need to check-out the dashboard. :) Btw: If you don’t know the right “hook” to use, try this:

    add_action(‘activity_box_end’, ‘sk2_admin_stats’);

    Surely you need to code this function (not class method!)

    Well, ich komme aus Deutschland, tippe aber lieber in Englisch meine Fragen, damit andere auch was verstehen! ;)

  54. Hello Quix0r,

    I believe such a function (showing up on the dashboard) should and probably can only be handled by Spam Karma itself. But development of SK has essentially been halted for the last few months … maybe Dr Dave has lost interest in this or he thinks it’s good enough (it really is!!!) for the time being, I don’t know :-)

  55. Hmmm, I have a “legacy” (WordPress-native) anti-spam plugin here which targets on the POST request URI itself. They are up to 99.9999% like this: “POST /wp-comments-post.php” I asume here you have no sub-folders.

    My plugins inserts with a ProtoType (so JavaScript) observer an unique string into it, e.g. “wp-comments-post-xxxxxxxxxx.php”. After the POST request mod_rewrite rewrites it back to “wp-comments-post.php?cpr_code=xxxxxxxxxx by xxxxxxxxxx is “server-unique data”.

    Well, this might be a usefull plugin. So is there a tutorial or something where I can start with to code a “binding” to my legacy plugin? So when my plugin runs in SK2-mode it shall not run again in “legacy-mode”…

  56. I might not really understand what you want to do, but if you are trying to write a “plugin” for Spam Karma, please refer to the documentation (including sample code) shipped with Spam Karma.

    Nice idea, btw. I think somebody has already brought that up on the wp-hackers list. Was that you?

  57. Pingback: VinS » Blog Archive » Spam: the day after

  58. Pingback: Menjajal Spam Karma 2 at iqbalir

  59. Pingback: The WP Themes » Blog Archive » Akismet Wordpress Plugin

  60. I abandoned Akismet a while ago since this script returns quite alot of false positive for me. Akismet is a decent service but it’s surely hard to prevent data poisoning (I bet that’s on the move right now) and a DoS attack.

  61. Hello christina,

    yep … I have disabled the plugin in my installation, too. Akismet was the cause too many spams came through Spam Karmas checks. Sad, but true.

    What do you mean by DoS attack? Trough Akismet or against Akismet?

  62. @Sebbi: I have written now a “binding” – in truth it is a plug-in but it binds both legacy plug-ins together – for my plug-in. :) Thanks for your help anyway.

  63. Pingback: troubalex’ blog » Archiv » Statistik

  64. Pingback: Do I Really Have to Love Spammers? @ Ales Rarus

  65. Pingback: Blog Relations » Blog Archive » Akismet Down

  66. Just thought I’d let you know that from time to time, my API key deletes itself. My guess is that every once in a while, the Akismet servers get an error and falsely reports that my key is invalid. This makes your plugin delete my saved key.

    I’ve edited your plugin for my own uses (to make it not remove my key on error), but I still thought I’d let you know. :)

  67. Thanks for the heads up. I also thought if it would be more elegant to only check the validity of the key when it changed (like the regular Akismet plugin does) and not on every view of the adminpage.

    P.S.: my API key deleted itself on the recent DNS outage of Akismet, but never before …

  68. Pingback: Maguila’s Blog Blog Archive » Antispam

  69. Pingback: LOLO punto ES » Blog Archive » Nuevos problemas con Akismet

  70. Pingback: Blogschrott - » Probleme bei Kommentaren?

  71. Pingback: Hier lerne ich Bloggen - blog :: weinschenker.name

  72. Hello Dave,

    there is nothing new about Akismet 2.0 except the interface. The spam-checking feature of Akismet didn’t change in that update.

  73. Pingback: Akismet WordPress Plugin 2.0

  74. Pingback: Comment and trackback spam no more? at All Narfed Up

  75. Pingback: Akismet spam eklentisi plugin | Biraz Ben Biraz İnternet Ve Artan Birazlar...

  76. Pingback: WordPress: The best of and most useful WP pluginsWordPress: The best of and most useful WP plugins

  77. Pingback: 关于反垃圾评论插件 | Yum BloG

  78. Pingback: Het gevecht tegen spam | Kootstra's DevBlog

  79. Pingback: Wordpress Plugins Get Indexed | Snap 3.0

  80. Pingback: In eigener Sache: Browser-Alphabet zum mitmachen : Cappellmeister

  81. Pingback: » Must Have Wordpress Plugins for the DIY Blogger

  82. Pingback: Tổng hợp tất cả các Plugin phổ biến cho WordPress | WordPress-Tips-Tricks.WordPress Plugins-Themes.Marketing

  83. Pingback: Viper007Bond.com » Blog Archive » My Two Weeks With Defensio Anti-Spam

  84. Pingback: Wordpress Plugins & Tutorials at Site Kreation

  85. Pingback: Tổng hợp tất cả các Plugin phổ biến nhất cho WordPress

  86. Pingback: Спам на блоге | Блог GTAlex - деньги из паутины

  87. Pingback: Спам на блоге | Все сеошники в одном блоге...

  88. Pingback: Evitar spam con Akismet

  89. Pingback: Top of the Crop - June 2008 |

  90. Pingback: Tổng Hợp Các Plugin Phổ Biến Nhất Cho WordPress | hugle.net

  91. Pingback: Спам РЅР° блоге | Все сеошники в одном блоге...

  92. Pingback: Kapta » Blog Archive » Hello world!

  93. Pingback: Antispam » Maguila v2.1

  94. Pingback: Wordpress Plugin Centre - Registration Blacklist - Weblog Tools Collection Blog Archive WordPress comment spam

  95. Pingback: by Marcio Rocon - Wordpress Functional Plugins |

  96. Pingback: Wordpress Plugin Center - WP Word Filter - Wordpress Plugin: Spam Karma 2 [Slick Affiliate]

  97. Pingback: Wordpress Functional Plugins | prowordpress.org | WordPress News, Plugins and Themes Download Guide..

  98. Pingback: Wordpress Plugin Center - SpamViewer - Plugin Place | WordPress Plugins Resource Site

  99. Pingback: » The best of and most useful WP plugins

  100. Pingback: INFoMM - Information for Making Money » Blog Archive » Adding Akismet plug-in in wordpress

  101. Pingback: Shane and Leah Klingonsmith » Test

  102. Pingback: Wordpress Plugins & Tutorials |

  103. Pingback: Tổng Hợp Các Plugin Phổ Biến Nhất Cho WordPress.

  104. Pingback: Dao Duy Ngoc » Blog Archive » PLUGINS

  105. Pingback: Spam! | zerolight

  106. Pingback: 100 Top Useful WordPress Plugins for Download | CSS Experiments

  107. Pingback: Wordpress Plugins & Tutorials: Your Pick | All PC TIPS

  108. Pingback: Блог дизайн бюро “Bratec Lis” » Защита от спама в WordPress

  109. Pingback: - » Blog Archive » Wordpress Functional Plugins

  110. Pingback: WebMaster Bilgi Portalı » Blog siteleri için Akismet şart

  111. Pingback: Wordpress Plugins & Tutorials: Your Pick « Smashing Magazine

  112. Pingback: WordPress: The best of and most useful WP plugins | eBookTM | Download eBook, Wordpress Tips

  113. This is very great that you are sharing the good idea connecting to this post, but, I advice to use the assistance of the essay writers [Linked to: 4writers].

  114. Evie28 :

    This is very great that you are sharing the good idea connecting to this post, but, I advice to use the assistance of the essay writers [Linked to: 4writers].

    blabla, and I advise you not to spam my blog … thx.

  115. Great plug in! It has met my every need in terms of a spam checker. It has reduced the amount of spam i receive in my other blogs significantly!

    I can’t wait for the next update of this plug in. I can only think this can go from strength to strength in its development.

    I will certainly be bookmarking this and forwarding it on to friends and co-workers to see about using this plug in when they next think about writing a blog.

    Great information and a great post. Thanks for sharing.

  116. Top work on the new plugins – One of the fundamental flaws initially was how frequently everything was cross-checked with askimet.com – it’s great to see that you have improved this.

    Some really good stuff, is it possible to talk more through hotmail or gtalk? add me on Gtalk, you have my email on form.

    Cheers

    Jamie

  117. Thanks Sebbi for allowing my post to stand. My post was never intended as spam as i genuinely do use the Akismet plug-in and was glad to find a blog which was talking about the experiences other users had.

    I felt it best to post about my experience using Akismet for other potential users of this plug-in to see.

    Thanks again.

  118. This sounds like a great plugin bringing the best of Akismet and Spam Karma 2. Like most wordpress users I’d been using Akismet to filter out spam comments and was thinking of switching to Spam Karma when I came across ur post. Guess what I’m going to install now instead? ;)

    Thanks a lot!

  119. Spam Karma 2 Akismet Plugin is great.I really want to install it thanks for developed these types of plugins…..:)

  120. Pingback: WordPress – Snipers » Blog Archive » Spam-filter Plugin to prevent spam in your comments

  121. Уважаемые пользователи! На этом сайте Вы можете получить консультацию врача по любому интересующему Вас вопросу. На данный момент мы предоставляем бесплатную и медицинскую консультацию врача: Гепатолога, Пластического хирурга, Терапевта

  122. Pingback: Плагины против спама | OK БЛОГ

  123. Pingback: Lästiger Kommentarspam | Sebbis Blog

  124. Pingback: Free WP Websites » Blog Archive » Wordpress Plugins & Tutorials: Your Pick

  125. Pingback: Geek is a Lift-Style. » Blog Archive » Wordpress Plugins & Tutorials: Your Pick

  126. Pingback: Geek is a Lift-Style. »Archive » Wordpress Plugins & Tutorials: Your Pick

  127. Pingback: Blog siteleri için Akismet şart | Soylefm.Net

  128. Pingback: WordPress 反垃圾留言插件:Spam Karma 2 | Taste Life@_@Meejoy!

  129. Pingback: Spam Shields Up! « Another Wordpress Blog

  130. Pingback: WordPress Plugins & Tutorials: Your Pick | dot Key Plugins