1 of 5
1
Akismet extension and module combo
Posted: 28 June 2006 05:27 AM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004

On my blog, spammers are still able to circumvent the anti-spam measures EE provides, like Safe Mode forms and the blacklist. I don’t want to resort to captcha’s, because of accessibility issues. Then I remembered Akismet.

Akismet is this anti-comment-spam service set up by the people who brought you WordPress, and it works pretty darn well. And… Akismet’s got an API. I started coding and came up with a first beta (or rather: alpha) version of the Akismet extension for Expression Engine.

So now I need guinea pigs. If anyone wants to help me out and test the extension, then please give me a PM.

There’s one tiny catch: you’ll need a valid API key to use the extension. I got one for free and without fuss by registering at wordpress.com.

Update: Most recent version is 1.1, available for download on my site.

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 03 July 2006 07:59 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  245
Joined  08-28-2003

This is great news! (I’ve got a WordPress blog, have Akismet API key) Message sent. :D :D :D :D :D

 Signature 

I have what the CTO likes to call a “rogue character.” Is that a bad thing?

Profile
 
 
Posted: 11 July 2006 07:07 AM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004

Okay, I’m confident enough to go public-ish.

Attached is the Akismet Module/Extension Combo. It uses an extension to automatically check incoming comments and it uses a module to post-process the caught comments. Check out the readme file in the zip for further instructions.

Tested with EE 1.4.2 build 20060612 and onwards. To test it yourself: make sure you’re logged out and create a comment with ‘viagra-test-123’ as author. This will always be considered spam by the Akismet service.

ETA: Want trackback checks too? Check out version 1.0 on my site

File Attachments
akismet_combo.zip  (File Size: 10KB - Downloads: 680)
 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 11 July 2006 07:21 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  215
Joined  11-04-2002

Installed the new version without any problems - it’s working like a charm so far. Thanks again for this!! :D

 Signature 

stillburning.com | fever of fate

Profile
 
 
Posted: 14 July 2006 01:14 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  215
Joined  11-04-2002

Just wanted to give another update on this extension!

I have been using it for over a week now, and it’s brilliant. I use the Blacklist, htaccess, and Captcha’s on the parts of my blog that were getting the most SPAM, but that still didn’t stop at least one SPAM comment a day coming through. Since the Blacklist only works *after* you’ve added the URL, it doesn’t really help to stop them in the first place.

Askimet, however, has stopped 19 SPAM comments in the past 3 days alone. I went from having several SPAMs a day to having none. I haven’t seen a single one since I installed it. So far, it also hasn’t stopped any legitimate ones, it’s been 100% correct.

Lodewijk, I cannot find any bugs here whatsoever. raspberry Just wanted to let you know it’s working perfectly for me, and I am very happy that you decided to create this in the first place! Askimet is a very powerful asset in then on-going war against comment SPAM. :D

 Signature 

stillburning.com | fever of fate

Profile
 
 
Posted: 18 July 2006 04:37 AM   [ Ignore ]   [ # 5 ]  
Lab Assistant
RankRank
Total Posts:  131
Joined  01-12-2006

I’ve just purchased my first copy of EE to use for my web design/blog site, having been using Akismet with Wordpress up until now (Hi all, btw!). Thanks so much for much for releasing this as Akismet has blocked hundreds of spam comments from my WP blog and I was wondering how I would deal with spam following the switch to EE. I just hope that’s pleasant surprise number one of many! smile

 Signature 

VayaDesign | EE Design & Development Services
EE Goodies: TealTemplate, Simple Pagination Plugin

Profile
 
 
Posted: 03 August 2006 06:43 PM   [ Ignore ]   [ # 6 ]  
Lab Assistant
RankRank
Total Posts:  259
Joined  12-17-2003

I’ve installed this and it seems to work great. I do have a question, though. Does it work on trackbacks as well as comments? This is definitely where I’m experiencing most problems.

Profile
 
 
Posted: 07 August 2006 04:50 AM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004
shel - 03 August 2006 06:43 PM

I’ve installed this and it seems to work great. I do have a question, though. Does it work on trackbacks as well as comments? This is definitely where I’m experiencing most problems.

It only works for comments for now. I’ll probably add trackbacks in a later version.

aug 8th 2006, edited to add: At the moment there’s no appropriate extension hook available in the trackback module, so I won’t be able to add the akismet check to incoming trackbacks…

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 14 August 2006 02:09 PM   [ Ignore ]   [ # 8 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

I’m having a slight problem installing it - when I click the modules tab, I get this:

Error

Unable to load the following language file:

/lang.askimet.php

Any idea what I may have done wrong?

Profile
 
 
Posted: 14 August 2006 02:26 PM   [ Ignore ]   [ # 9 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004
Tim G. - 14 August 2006 02:09 PM

I’m having a slight problem installing it - when I click the modules tab, I get this:

Error

Unable to load the following language file:

/lang.askimet.php

Any idea what I may have done wrong?

Make sure you put the lang.akismet.php and lang.akismet_check.php in your system/language/english folder on your server. The error message suggests EE cannot locate the file there.

btw, note the difference between your lang.askimet.php and my lang.akismet.php!

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 14 August 2006 02:40 PM   [ Ignore ]   [ # 10 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

Whoops…spelled the directory wrong…good eye!

So, do I turn all the captchas and blacklists OFF now, I assume? 

Do I turn comment moderation OFF as well?

Profile
 
 
Posted: 14 August 2006 02:50 PM   [ Ignore ]   [ # 11 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004

The way I use it: I have the blacklist turned on, the captchas turned off and comment moderation turned off as well. This way a comment is checked against the EE blacklist first. If it is caught by the EE blacklist, the akismet combo leaves it at that. If the comment passes al “native” EE checks, then the akismet combo kicks in with a final check. If the akismet service believes the comment is spam, then the comment is put into the moderation queue.

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 16 August 2006 06:39 PM   [ Ignore ]   [ # 12 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

Works very well - thanks for making it.  By marking the spam and delete, does your module send the info in to help improve the service?

Profile
 
 
Posted: 17 August 2006 01:44 AM   [ Ignore ]   [ # 13 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004
Tim G. - 16 August 2006 06:39 PM

By marking the spam and delete, does your module send the info in to help improve the service?

As long as you use the Akismet module to delete the comments, then yes.

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 21 August 2006 06:21 PM   [ Ignore ]   [ # 14 ]  
Summer Student
Total Posts:  26
Joined  10-24-2005

aug 8th 2006, edited to add: At the moment there’s no appropriate extension hook available in the trackback module, so I won’t be able to add the akismet check to incoming trackbacks…

This should become a feature request if it isn’t already ... I’d love to be able to use Akismet across the board for comments and trackbacks.

 Signature 

Aggressive Small Business Marketing + Subversive Entrepreneurship / an EE site

Profile
 
 
Posted: 31 August 2006 01:20 PM   [ Ignore ]   [ # 15 ]  
Summer Student
Total Posts:  16
Joined  06-28-2006

Hey, quick note.  I’m getting an error now when I try and add even valid comments:
http://mcintosh.poetshome.com/blog/
Try and add a test comment on the test entry.  I’m getting this:

The form you submitted contained the following errors

  * Unable to receive your comment at this time.

Return to Previous Page

Any suggestions on what to fix here?
Thanks,
Jason

Profile
 
 
Posted: 31 August 2006 01:36 PM   [ Ignore ]   [ # 16 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6077
Joined  08-04-2002

mc717990…You should start a new help thread. You probably won’t get many answers just tacking it onto this seemingly unrelated thread, or is it related and I don’t catch the connection?

Profile
 
 
Posted: 31 August 2006 02:02 PM   [ Ignore ]   [ # 17 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32850
Joined  05-14-2004

I imagine it started during testing Akismet, since this is what happens when you try to post duplicate content: eekb: Unable to receive your comment at this time.

 Signature 
Profile
MSG
 
 
Posted: 31 August 2006 03:05 PM   [ Ignore ]   [ # 18 ]  
Summer Student
Total Posts:  16
Joined  06-28-2006

Bingo - only got the error as I started testing akismet.  Thought it was a bug there.  Looks like it might not have been the duplicate entry issue - thanks anyways though smile  Or something else I’d set, parameter wise - I’m playing with getting everything working, with this custom theme I’ve worked on, and, well, it’s been tricky at times smile
Anyways, thanks for the fast responses!
Jason

Profile
 
 
   
1 of 5
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64880 Total Logged-in Users: 59
Total Topics: 81806 Total Anonymous Users: 42
Total Replies: 439767 Total Guests: 305
Total Posts: 521573    
Members ( View Memberlist )
Newest Members:  justingpticketjendicottdxrsmdanbilly8hrkiliwysso50kexpressoKlaasdarrenstyles