Page 1 of 1

[HACK] Akismet Spam Protection for Phocaguestbook 1.4.4

Posted: 27 Sep 2011, 18:33
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.

Re: [HACK] Akismet Spam Protection for Phocaguestbook 1.4.4

Posted: 30 Sep 2011, 12:15
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.

Re: [HACK] Akismet Spam Protection for Phocaguestbook 1.4.4

Posted: 04 Oct 2011, 18:21
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]?

Re: [HACK] Akismet Spam Protection for Phocaguestbook 1.4.4

Posted: 07 Oct 2011, 14:43
by Jan
Hi, thank you for this and the guide. Sent PM to get information about implementing it in version 2