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....

Comments

Christoph C. Cemper’s picture

StatusFileSize
new57.02 KB

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

Christoph C. Cemper’s picture

TESTERS WANTED!
FatPitchFinancials’s picture

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.

chrisada’s picture

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?

jaydub’s picture

StatusFileSize
new19.51 KB

for those that prefer a patch file....

Christoph C. Cemper’s picture

@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 !

Christoph C. Cemper’s picture

StatusFileSize
new57.01 KB

this is the version that takes the page setting from the Akismet settings "as advertised"

Christoph C. Cemper’s picture

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

eaton’s picture

@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

There is, in fact, a 5.0 version of Akismet. I ported it and created the project about a week or two ago. :-)

Christoph C. Cemper’s picture

>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

dmartin’s picture

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?

Christoph C. Cemper’s picture

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

jaharmi’s picture

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.

Quint’s picture

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

Ken Watts’s picture

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.

Quint’s picture

Freso’s picture

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?

zorac’s picture

@Freso: Trackback module supports the hook_trackback function for other modules to filter incoming trackbacks.

Freso’s picture

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.)

zorac’s picture

Yes, it has been already. Akismet or other modules can filter incoming trackbacks using hook_trackback function.

thepanz’s picture

I'd like to know more about this feature: is it in the latest version or planned in -DEV?

Regards

Yura Filimonov’s picture

Version: 4.7.x-1.x-dev » 5.x-1.5

So what's the way to filter trackbacks with Akismet at the moment? Does it work in 5.x? Thanks.

Freso’s picture

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: Provide API to programmatically validate content (integration with Trackback module)

pomliane’s picture

Status: Needs review » Closed (won't fix)

This version of TrackBack is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.