[ABD] Akismet for phpBB3

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
MarkTheDaemon
Former Team Member
Posts: 2771
Joined: Thu Oct 20, 2005 2:42 am
Location: United Kingdom
Name: Mark Barnes

[ABD] Akismet for phpBB3

Post by MarkTheDaemon »

Modification Name: Akismet for phpBB3
Author: MarkTheDaemon

Modification Description: Adds Akismet anti-spam checking support to your forum.
Modification Version: 0.0.2

Requirements: cURL & an Akismet API key

Modification Download: http://projects.islandgeek.net/attachme ... -0.0.2.zip

Cooked this up pretty quickly after realising there doesn't seem to be a MOD for phpBB3. It's a bit basic but does the job, will be adding more features (reporting spam posts etc.) at some point in the future.

Project page is over at http://projects.islandgeek.net/projects/phpbb-mods - I'll open up the bug and feature trackers shortly so if you have any comments or suggestions feel free to post them here and over there.

Seems to install fine with AutoMOD and appears to be working from here, some real world testing would be appreciated. First MOD I've released for a long time so enjoy :).

Cheers,

Mark
Last edited by MarkTheDaemon on Sun Mar 27, 2011 8:40 am, edited 1 time in total.
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean

Re: [Alpha] Akismet for phpBB3

Post by Erik Frèrejean »

w00t finally :), I hopefully have time to install this shortly and see how it does ;).
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
User avatar
jrolson
Registered User
Posts: 976
Joined: Wed Jan 05, 2005 1:53 am
Location: U.S.

Re: [Alpha] Akismet for phpBB3

Post by jrolson »

I thought Callum95 was working on this over here,
http://www.phpbb.com/community/viewtopi ... &t=2122495
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3628
Joined: Wed Oct 27, 2004 11:35 pm
Name: William

Re: [Alpha] Akismet for phpBB3

Post by bonelifer »

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/akismet.php on line 304: Undefined variable: query_string
[phpBB Debug] PHP Notice: in file /includes/akismet.php on line 304: Undefined variable: query_string
[phpBB Debug] PHP Notice: in file /includes/akismet.php on line 304: Undefined variable: query_string
On Windows 7 64bit
XAMPP 1.7.4:
Apache 2.2.17
MySQL 5.5.8
PHP 5.3.5 (curl enabled)

Post goes through on none spam and gives "Your post has been detected as spam by the Akismet detecting system used on this board. Please contact the site administrator for further details." on spammish posts. Both times it gives the above Debug notice.
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .

phpBB Modders is looking for developers! If you have phpBB experience and want to join us, click here!
MarkTheDaemon
Former Team Member
Posts: 2771
Joined: Thu Oct 20, 2005 2:42 am
Location: United Kingdom
Name: Mark Barnes

Re: [Alpha] Akismet for phpBB3

Post by MarkTheDaemon »

jrolson wrote:I thought Callum95 was working on this over here,
http://www.phpbb.com/community/viewtopi ... &t=2122495
Personally I'd say use whatever suits your needs best, there isn't anything wrong with different options in the market at the same time :).


Mark
MarkTheDaemon
Former Team Member
Posts: 2771
Joined: Thu Oct 20, 2005 2:42 am
Location: United Kingdom
Name: Mark Barnes

Re: [Alpha] Akismet for phpBB3

Post by MarkTheDaemon »

bonelifer wrote:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/akismet.php on line 304: Undefined variable: query_string
[phpBB Debug] PHP Notice: in file /includes/akismet.php on line 304: Undefined variable: query_string
[phpBB Debug] PHP Notice: in file /includes/akismet.php on line 304: Undefined variable: query_string
On Windows 7 64bit
XAMPP 1.7.4:
Apache 2.2.17
MySQL 5.5.8
PHP 5.3.5 (curl enabled)

Post goes through on none spam and gives "Your post has been detected as spam by the Akismet detecting system used on this board. Please contact the site administrator for further details." on spammish posts. Both times it gives the above Debug notice.
Thanks for the report, couple of bits to do with the Akismet class including this. Fixed on my local copy, will be uploading to svn shortly. If you wouldn't mind trying an updated version of the file it would be appreciated. The updated file is available from http://projects.islandgeek.net/projects ... kismet.php

Cheers,

Mark
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3628
Joined: Wed Oct 27, 2004 11:35 pm
Name: William

Re: [Alpha] Akismet for phpBB3

Post by bonelifer »

MarkTheDaemon wrote:Thanks for the report, couple of bits to do with the Akismet class including this. Fixed on my local copy, will be uploading to svn shortly. If you wouldn't mind trying an updated version of the file it would be appreciated. The updated file is available from http://projects.islandgeek.net/projects ... kismet.php

Cheers,

Mark

Fixed it.
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .

phpBB Modders is looking for developers! If you have phpBB experience and want to join us, click here!
User avatar
jrolson
Registered User
Posts: 976
Joined: Wed Jan 05, 2005 1:53 am
Location: U.S.

Re: [Alpha] Akismet for phpBB3

Post by jrolson »

What does this mod all check? ip address? email? username?

Does it block new spam registrations or does it check posts and then deletes/bans the user?
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3628
Joined: Wed Oct 27, 2004 11:35 pm
Name: William

Re: [Alpha] Akismet for phpBB3

Post by bonelifer »

Currently from the MODX install file it looks to alter posting.php, so it currently only blocks posting.
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .

phpBB Modders is looking for developers! If you have phpBB experience and want to join us, click here!
MarkTheDaemon
Former Team Member
Posts: 2771
Joined: Thu Oct 20, 2005 2:42 am
Location: United Kingdom
Name: Mark Barnes

Re: [Alpha] Akismet for phpBB3

Post by MarkTheDaemon »

jrolson wrote:What does this mod all check? ip address? email? username?

Does it block new spam registrations or does it check posts and then deletes/bans the user?
bonelifer is correct, at the moment the MOD checks the post being submitted against Akismet and if found to be spam is rejected before it enters the database. It uses a combination of the users IP address, email, username and post content to check this with Akismet.

The problem with adding support for new registrations is that there is limited data for Akismet to process, it tends to work best when you have some post content to send to the service. That said, however, it would be possible to send the IP address, email and username to Akismet to check and this is something that I could implement in if enough people wanted it, most likely through a checkbox in the ACP.

Mark
MarkTheDaemon
Former Team Member
Posts: 2771
Joined: Thu Oct 20, 2005 2:42 am
Location: United Kingdom
Name: Mark Barnes

Re: [Alpha] Akismet for phpBB3

Post by MarkTheDaemon »

Have released 0.0.2 which contains a bugfix and added support for registration checking, download link is in the first post.

If there is demand I'll also create an update file from 0.0.1 to 0.0.2, let me know if you would like this.

Cheers,

Mark
User avatar
jrolson
Registered User
Posts: 976
Joined: Wed Jan 05, 2005 1:53 am
Location: U.S.

Re: [Alpha] Akismet for phpBB3

Post by jrolson »

Nice, still need to install this when I get the time.
GameVixenZone
Registered User
Posts: 166
Joined: Mon Aug 17, 2009 9:26 am

Re: [Alpha] Akismet for phpBB3

Post by GameVixenZone »

Hi,

Thank You for this mod. Unfortunately I have run into a problem I was hoping you could help me with?
I am using version 0.0.2

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/acp/acp_captcha.php on line 123: Undefined index: akismet_check
[phpBB Debug] PHP Notice: in file /includes/acp/acp_captcha.php on line 123: Undefined index: akismet_check_reg
[phpBB Debug] PHP Notice: in file /includes/acp/acp_captcha.php on line 123: Undefined index: akismet_api_key
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
MarkTheDaemon
Former Team Member
Posts: 2771
Joined: Thu Oct 20, 2005 2:42 am
Location: United Kingdom
Name: Mark Barnes

Re: [Alpha] Akismet for phpBB3

Post by MarkTheDaemon »

Hi,

Have you run the SQL queries required in the MODX file? You need to add the fields that are listed in the file under SQL to your database.

Cheers,

Mark
GameVixenZone
Registered User
Posts: 166
Joined: Mon Aug 17, 2009 9:26 am

Re: [Alpha] Akismet for phpBB3

Post by GameVixenZone »

Ahh my bad. I overlooked the queries.

Return to “[3.0.x] Abandoned MODs”