[HACK] Akismet Spam Protection for Phocaguestbook 1.4.4

Phoca Guestbook - creating guestbooks in Joomla! CMS
Morl99
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 15 Feb 2011, 23:05

[HACK] Akismet Spam Protection for Phocaguestbook 1.4.4

Post by Morl99 »

Hello,

this afternoon I implemented Akismet for PGB 1.4.4, if you want to see what I did look here:
Project on Google Code
Please also read the previous thread where I implemented Recaptcha. As the Google Code Page includes both modifications.

The solution is straighforward. I added all necessary configuration Parameters. You need to get your own Akismet API Key for this to work and fill it into the configuration of PhocaGuestBook.

If anybody would help me test this (as this is not yet tested very throughly), I would appreciate it. It appears to work alright. But I did not find the time to "spam" my development Guestbook. All I verified is, that a valid Guest can still post a comment. This is high priority for me. If you find any bugs, feel free to post here, or just checkout the code, fix it, and resubmit :)

@Jan: I assume you read this. Would it be ok, if I put together a download package with the relevant files? Would make using this a little easier ;)

Excuse my brevity, I am in a hurry right now.
Morl99
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 15 Feb 2011, 23:05

Re: [HACK] Akismet Spam Protection for Phocaguestbook 1.4.4

Post by Morl99 »

A quick status update:
The version now online at Googlecode works very well. My first impression of Akismet is very good, since I put it up on the production server I had no spam pass through. A couple of spam got caught by akismet and showed up as unpublished in the backend. By the way, this behavior is configurable, you can also choose to just block the spam.
Morl99
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 15 Feb 2011, 23:05

Re: [HACK] Akismet Spam Protection for Phocaguestbook 1.4.4

Post by Morl99 »

Works like a charm. Filtered out 39 Spam entries. 8 valid entries got through. Not a single false positive or false negative!

Thinking about it -> Maybe this would be better categorized in the Development Board, would someone please move this and the other [HACK]?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [HACK] Akismet Spam Protection for Phocaguestbook 1.4.4

Post by Jan »

Hi, thank you for this and the guide. Sent PM to get information about implementing it in version 2
If you find Phoca extensions useful, please support the project
Post Reply