Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-30 00:11:16

TheEric
Plugin Author
From: Wyoming
Registered: 2004-09-17
Posts: 566

EBL_TXPAkismet

After coming across the Akismet service fairly recently, I thought it would be nifty to have a basic plugin that would work with Textpattern and the Akismet service. So, 10 minutes later (using a prebuilt php4 class) EBL_TXPAkismet is born. (Of course, in an early Alpha state)

I haven’t taken the time to enable the SPAM/HAM Reporting of the Akismet service, but the basic comment checking works. What this plugin does is send the user submitted comment specifics to the akismet server, they check it against a DB of known spam-comments, and it returns a TRUE or FALSE. If it’s TRUE, then this plugin marks the comment as SPAM and the comment is placed into moderation. If it’s false, nothing else is done and the comment is submitted as normal.

More info on Akismet can be found here

Since TXP is pretty much impervious to most comment Spam, I doubt there’ll be much need for it, but I suppose a little extra spam protection wouldn’t hurt. If there is an interest, I can work on this further and enable the spam/ham reporting.

The plugin can be found here

Last edited by TheEric (2006-07-30 00:13:00)

Offline

#2 2006-08-04 08:23:06

egid
Member
Registered: 2005-11-30
Posts: 10
Website

Re: EBL_TXPAkismet

I’ve been getting a bunch of the ‘hey nice site’ spam lately – there aren’t any links, but it’s super annoying.

I installed (and, I think, set up properly) the Akismet plugin, but it’s not doing anything. Is it because of a lack of links in the comment itself, or does the nhn_livecommentpreview plugin break the Akismet one?

Offline

#3 2006-08-04 12:59:59

TheEric
Plugin Author
From: Wyoming
Registered: 2004-09-17
Posts: 566

Re: EBL_TXPAkismet

nhn-livecommentpreview shouldn’t break it as this plugin relies on the comment.save callback. Are you using TXP 4.03?

I’ve noticed those “Nice Site” comments usually have the spammed site as their home URL. Are they not including a url?

You can test the plugin, to make sure it’s working by using viagra-test-123 as the name field; Akismet should come back w/ a TRUE for it’s spam test reply and the plugin should set that message to moderate. If it does moderate it, then akismet probably doesn’t have that particular comment spam listed in their database. The reporting of spam to akismet isn’t a feature I’ve included (yet), but if enough people want, I can definitely add it.

Offline

#4 2006-08-04 13:15:30

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: EBL_TXPAkismet

nhn-livecommentpreview shouldn’t break it as this plugin relies on the comment.save callback.

That’s not right. There are two different versions available of this plugin at the moment:
  • One that was written for TXP 4.0.2, that uses it’s own code to save comments. So, at that time, there wasn’t a comment.save callback nor any other comment related callback.
  • And another written for TXP 4.0.3 (nhn_livecommenpreview 0.5)that only uses Javascript without changing the comment handling itself (in this version it no longer possible to skip the standard preview)

If you’re using the first version, EBL_TXPAkismet can not work due to the missing callback functionality.
If you’re using the second one, there shouldn’t be any problem.

Offline

#5 2006-08-04 13:19:35

TheEric
Plugin Author
From: Wyoming
Registered: 2004-09-17
Posts: 566

Re: EBL_TXPAkismet

wow. I always assumed that comment.save callback was there. Colour me dumb :)

Ok, so I’m wrong. If you’re using < 4.03, it will not work.

Offline

#6 2006-08-04 13:21:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: EBL_TXPAkismet

egid wrote:

I’ve been getting a bunch of the ‘hey nice site’ spam lately – there aren’t any links, but it’s super annoying.

This seems this to be the latest in spam attacks. We got hundreds of this kind of messages in our forum and have reported it a couple of days ago in the Textdrive Forum for advice

For an unmoderated result of these spam attacks see the Manifesta Forum

Last edited by colak (2006-08-04 13:22:02)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2006-08-04 16:47:05

egid
Member
Registered: 2005-11-30
Posts: 10
Website

Re: EBL_TXPAkismet

Yeah, I’m using the older version (with 4.03 – the newer one lacks some functionality) but I’m prepared to give that up if it means this crap gets caught. Thanks for the replies! I’ll get on it this afternoon.

Last edited by egid (2006-08-04 16:50:21)

Offline

#8 2006-08-08 06:12:41

egid
Member
Registered: 2005-11-30
Posts: 10
Website

Re: EBL_TXPAkismet

I’ve gotten it working, but now that it’s installed I’ve not even gotten any spam attempts. Akismet flagged my comments as spam, though, which is awesome. ;(

Last edited by egid (2006-08-08 06:13:13)

Offline

#9 2006-08-08 16:01:07

TheEric
Plugin Author
From: Wyoming
Registered: 2004-09-17
Posts: 566

Re: EBL_TXPAkismet

YOUR COMMENTS as spam? That’s …odd

Try this: use viagra-test-123 as your name, and make the comment as usual. It should flag it as spam. If it does, and still flags your comments as spam, then akismet is having issues. let me know the result as I’ve been unable to replicate this, unfortunately…

Offline

#10 2006-08-08 18:15:51

egid
Member
Registered: 2005-11-30
Posts: 10
Website

Re: EBL_TXPAkismet

I was just able to post several comments (with my normal name), while viagra-test-123 was caught. It looks like whatever was going on yesterday has been fixed – whether I was flagged incorrectly or if the database got goofed up.

This actually happened on several other 9rules blogs, so I’m pretty certain it’s not an issue with your plugin (which is great to have, by the way).

Offline

#11 2006-11-04 10:57:51

erissiva
Member
Registered: 2006-03-30
Posts: 18

Re: EBL_TXPAkismet

Is this extension still available? I seem to be unable to download it. I just get a blank html page with seemly no source. Tried in IE and Firefox.


zan.thri.a – personal political/philosophical blog

Offline

#12 2006-11-04 15:18:21

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: EBL_TXPAkismet

erissiva wrote:

Is this extension still available?

And if it is, could someone install it over on textplates? I am getting a little tired of having bloglines tell me there is a new post when it is simply one more spam.

Offline

Board footer

Powered by FluxBB