Integrate AKISMET checks into trackback to get rid of tb spam loads
Christoph C. Cemper - December 28, 2006 - 16:31
| Project: | TrackBack |
| Version: | 5.x-1.5 |
| Component: | Receiving |
| Category: | feature request |
| Priority: | critical |
| Assigned: | Christoph C. Cemper |
| Status: | patch (code needs review) |
Description
RE: http://drupal.org/node/80547
- Trackback module shall use AKISMET for spam checking
- queue processing shall be possible (unpublish or delete SPAM)
- fixed batch delete with the help of some patches
First version ready for testing....
| Attachment | Size |
|---|---|
| trackback_3.module | 51.4 KB |

#1
even more improvements now
+ fixed watchdog entries to work again
+ added ipwhois to watchdog entries and trackback table
+ fixed batch delete of trackbacks ( trid was passed where trackback object was required!!! )
+ new batch akismet submit spam(and delete) for false negative spam in Trackback admin
+ new batch akismet submit ham(and publish) for false positive spam in Trackback admin
+ use akismet_records_per_page settings instead of hardcoded 50 per page
+ implemented akismet interfacing - rejecting akismet triggered trackbacks, but writing logs
+ TODO: configure logging, rejection
+ TODO: create IP-statistics
+ TODO: instead of "update has been performed" a count of good/spam would be nice
waiting for the project owner to let me commit stuff
#2
TESTERS WANTED!
#3
I just installed the fourth edition of your trackbacks patch at my new project, Law Favorites. It seems to be working really well. I was have trouble with trackback spam and it seems to have completely stopped now. Thanks!
I noticed one of the new features, "use akismet_records_per_page settings instead of hardcoded 50 per page" does not seem to work for me. I was getting really long pages (hundreds in fact) in the trackbacks queue even though I set Akismet to list a maximum of 20 per page. This is sort of a minor issue, but I thought you might be interested in knowing about it.
#4
I'm willing to help test this, as I have really missed trackback feature. But all my sites, production and test, are now running 5.0 RC. If I add trackback.info file, would patched 4.7 version work?
#5
for those that prefer a patch file....
#6
@chrisada: there's no 5.0 version of akismet available so far imho ,there it CAN not work, but trackback isn'T ported to 5 either
@FatPitchFinancials: it seems for testing bulk deletes/submits I hardcoded it again - to 1000 - :-/ ...
@jaydub : thanks !
#7
this is the version that takes the page setting from the Akismet settings "as advertised"
#8
this trackback_5.module is the last one I post here and is identical with the DRUPAL-4-7 Revision: 1.62.2.1 in the CVS
#9
There is, in fact, a 5.0 version of Akismet. I ported it and created the project about a week or two ago. :-)
#10
>There is, in fact, a 5.0 version of Akismet. I ported it and created the project about a week or two ago. :-)
Cool beans eaton! I saw you finally created the CVS and actually tested my trackback fixes against your CVS version,
but I didn't notice the 5.0 port is ready .. yippie - now I can start moving one of my oldest blogs at http://weblog.cemper.com from MovableType2 to Drupal finally :-) (didn't want to do that on 4.7 when RC1 is here, but akismet was the missing link)
cheers
christoph
#11
Has there been any activity on this for 5.x? We have trackback for 5.x as well as Akismet. Obviously the module listed on this page doesn't work under 5.x. It's been a long time since Jan 9, but I can find nothing about this for 5.x anywhere (I even looked through CVS). The spam module isn't very helpful. I've created hundreds of filters, and I still get hundreds of spam trackbacks per week that I must moderate, whereas Akismet just does the work for you.
Christoph, your blog states you are using 5.x now. Have you taken the time to update Akismet-trackback integration for 5.x?
#12
no activity on AKISMET for TB yet, as I first had to port comment_notify to DP5 ( to be done soon ),
but clients always come first
of course a donation might help me speed this up
#13
Where do I donate, if I were so inclined, to help with a Drupal 5 update? The Spam module is simply not cutting it for my trackback spam, although it seemed to initially help. Nothing else I’ve done has helped either. I’ve disabled Trackback.
I’d also like to see the Negative Turing Test adapted for Drupal nodes, comments, and trackbacks, if it can be. There’s a Wordpress module I found at that link.
#14
Since Akismet is doing a splendid job of filtering trackbacks in Wordpress.
And since it's been another few months I thought I ask again ...
Is there a way to use Akismet for trackbacks in Drupal 5.7?
thanks
#15
Yes. We're eagerly--even desperately--awaiting the 5.x version of this patch.
I've had to shut trackback off. And it was working so beautifully before I upgraded.
#16
#17
I'm possibly a bit late into the game, but perhaps it would be an idea to make it possible for other modules to plug into TrackBack, instead of having TrackBack plug into them? This way, it would be possible to Mollom, Spam, Akismet, or something entirely else that may come around in the future. (Dries said he would like something like this.)
On another note, it's far easier to review the actual code changes, when the patch is provided as a patch. Right now, I don't know which parts of the code are part of this issue and which aren't. And I don't want to give (e.g.) code style comments on code not a part of the patch, as that really ought to be solved on its own/in a separate issue. Please give the Creating patches handbook page a look, if you're not already familiar with it. Thank you. :)
Oh, and thirdly, is this bug still for 4.7?
#18
@Freso: Trackback module supports the hook_trackback function for other modules to filter incoming trackbacks.
#19
Well, if there already is support for this in Trackback, isn't it then a question of making Akismet (et al) plug into Trackback, instead of making Trackback plug into Akismet? From where I see it, that makes a whole lot of more sense. Alternatively, if Akismet has any sort of API, then perhaps an add-on module (for either Akismet or Trackback) could be used to couple the two. (In the former case, this should probably be closed "won't fix" (or "by design"), and open a request in Akismet's issue queue.)
#20
Yes, it has been already. Akismet or other modules can filter incoming trackbacks using hook_trackback function.
#21
I'd like to know more about this feature: is it in the latest version or planned in -DEV?
Regards
#22
So what's the way to filter trackbacks with Akismet at the moment? Does it work in 5.x? Thanks.
#23
Just FTR (and because I would like some feedback), I have now posted a patch to Mollom which will (hopefully) integrate Trackback checks there: #245364: Plug into Trackback