[DEV] phpBB3 Akismet integration

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!

[DEV] phpBB3 Akismet integration

Postby Anon » Sat Dec 06, 2008 9:00 am

MOD Title: phpBB3-Akismet integration
MOD Description: Enables the use of the Akismet SPAM detection service to be used with phpBB3 when posting
MOD Version: 0.0.2

MOD Download: Latest Version

Demo Board : http://phobos.tk/akismet/phpBB3

This MOD will enable the use of Akismet with phpBB3. Akismet is a SPAM service - originally for Wordpress but has been ported to many platforms.

What this MOD does is send various things (username, User IP etc) to the Akismet service for spam testing. If it is classified as a spam post or user, it will be blocked. To use this, you will need an API key from Wordpress. These are free. You may get one from http://wordpress.com/api-keys/

This MOD is currently very simple. It can check based on the 4 criterion & check details on registration... but that's about it. More features are planned for later, but for now testing to make sure that it works would be much appreciated.

The demo board is as above. Guest posting is enabled, and to automatically set Akismet off use the username "viagra-test-123" just so you can see that it actually does work. Note that this doesn't work if viagra-test-123 is anything else, like the post content :P

Changelog:
    0.0.2: Incorporates testing at registration
    0.0.1: First version. Basic post testing

To do:
    ACP page for inputting API key - 0.0.3
    Pulling config info from database - 0.0.3
    SPAM queue & corrections (spam -> ham) - 0.0.4
    Marking posts as spam - 0.0.4/0.0.5?
    Feature requests - 0.0.5/0.0.6/1.0.RC

Feature requests/bugs/translations? Please send me a PM here, but please prefix your post with [Akismet] to make it obvious :)
User avatar
Anon
Moderator Team Member
Moderator Team Member
 
Posts: 7067
Joined: Fri Jan 02, 2004 7:33 am
Location: Christchurch, New Zealand

Re: [DEV] phpBB3 Akismet integration

Postby john010117.2 » Sat Dec 06, 2008 7:54 pm

Looks like the "AKISMET_SPAM" language key is undefined (shown when the submitted post is flagged). I've been meaning to make a MOD like this, but you've beat me to it. Thanks. :)
...
User avatar
john010117.2
Registered User
 
Posts: 98
Joined: Wed Dec 19, 2007 7:12 pm
Location: US

Re: [DEV] phpBB3 Akismet integration

Postby Anon » Sun Dec 07, 2008 3:13 am

I know it is, and that will eventually be fixed in 0.0.2 :P
User avatar
Anon
Moderator Team Member
Moderator Team Member
 
Posts: 7067
Joined: Fri Jan 02, 2004 7:33 am
Location: Christchurch, New Zealand

Re: [DEV] phpBB3 Akismet integration

Postby damsprivate » Sun Dec 07, 2008 12:33 pm

demo doest work for me :geek:
binus university 2009 .
"did u know that 17 august ( when i join this forum ) is at Indonesia independence day ? "
User avatar
damsprivate
Registered User
 
Posts: 454
Joined: Sun Aug 17, 2008 10:39 pm
Location: indonesia

Re: [DEV] phpBB3 Akismet integration

Postby Anon » Sun Dec 14, 2008 9:48 pm

Updated to 0.0.2

damsprivate: Can you provide more info? Does it not check, false positive...?
User avatar
Anon
Moderator Team Member
Moderator Team Member
 
Posts: 7067
Joined: Fri Jan 02, 2004 7:33 am
Location: Christchurch, New Zealand

Re: [DEV] phpBB3 Akismet integration

Postby iWisdom » Sun Dec 14, 2008 11:17 pm

damsprivate wrote:demo doest work for me :geek:

Erm... seems to be working alright here.
Your post has been classified as SPAM by Akismet. You will not be able to post that message here.
Knowledge Base § Documentation § Support Request Template
Customise Your phpBB Install § Report A Bug § Download phpBB
Looking for private support, help upgrading/updating, other phpBB-related work, or a custom-coded (PHP) solution? PM me for knowledgeable service at a very reasonable rate.
User avatar
iWisdom
Support Team Member
Support Team Member
 
Posts: 9570
Joined: Sat Nov 25, 2006 4:11 am

Re: [DEV] phpBB3 Akismet integration

Postby akuretz » Thu Dec 18, 2008 6:34 pm

The documentation doesn't work, I had to fix the following errors in the xml file:
- line 2 Change path of xsl file to remove leading directory as the xsl is stored in the same dir as the xml
- line 140 Add a closing action tag
- line 148 Add a closing action tag

Once I fixed those, I found the following issues:
- There is no includes/functions_post.php I presume you mean includes/functions_posting.php
- There are no require statements that match the Find in posting.php, so I added the code after the includes. This looks like a copy/paste error from the ucp.php file

I've installed the mod and had no problem creating a user named "viagra-test-123", is there something else I need to do? Purge cache?
akuretz
Registered User
 
Posts: 7
Joined: Thu Dec 18, 2008 6:25 pm

Re: [DEV] phpBB3 Akismet integration

Postby demon327 » Thu Dec 18, 2008 7:42 pm

Seems like a cool mod, but maybe you can use this one:
http://www.lithiumstudios.org/forum/vie ... f=31&t=941

cause that would be to see both in one mod ;)
demon327
Registered User
 
Posts: 657
Joined: Thu Nov 16, 2006 2:16 pm

Re: [DEV] phpBB3 Akismet integration

Postby akuretz » Thu Dec 18, 2008 7:45 pm

Purging cache didn't help. I tested on your demo board and it worked, so not sure if the incorrect install steps prevent the check from working.
akuretz
Registered User
 
Posts: 7
Joined: Thu Dec 18, 2008 6:25 pm

Re: [DEV] phpBB3 Akismet integration

Postby damsprivate » Fri Dec 19, 2008 10:39 pm

my isp.. sry sry..said needs to be routing done :mrgreen: ,
binus university 2009 .
"did u know that 17 august ( when i join this forum ) is at Indonesia independence day ? "
User avatar
damsprivate
Registered User
 
Posts: 454
Joined: Sun Aug 17, 2008 10:39 pm
Location: indonesia

Re: [DEV] phpBB3 Akismet integration

Postby Anon » Wed Dec 24, 2008 9:31 pm

akuretz: so many dumb mistakes, so little time. many thanks :)

About registering as viagra-test-123, it should be immediate, provided you've added in your board url & akismet key as required
User avatar
Anon
Moderator Team Member
Moderator Team Member
 
Posts: 7067
Joined: Fri Jan 02, 2004 7:33 am
Location: Christchurch, New Zealand

Re: [DEV] phpBB3 Akismet integration

Postby arpegio23 » Thu Feb 26, 2009 12:05 pm

Hi,
I am having some trouble with akismet on my oforum. If i try to post more than one reply, my posts are identified as spam and i get some message that says "AKISMET_SPAM". Though i installed Akismet, I can't find anything in the Administration Control Panel that seems to even relate to it, so I can't figure out where i can change Akismet settings.
Can anyone help please?

thanks

A.
arpegio23
Registered User
 
Posts: 1
Joined: Thu Feb 26, 2009 11:53 am

Re: [DEV] phpBB3 Akismet integration

Postby luiaxana » Sat Mar 28, 2009 4:55 pm

am i losing my mind but i cant find any install instructions in the download.

I am not using MODX.
PHPbb3.

Thanks
luiaxana
Registered User
 
Posts: 14
Joined: Mon Feb 18, 2008 5:54 pm

Re: [DEV] phpBB3 Akismet integration

Postby bonelifer » Sat Mar 28, 2009 5:38 pm

DELETED
Knowledge Base | phpBB Board Rules | Search All Mods

Image bonelifer - phpBBModders Moderator Team Leader - http://www.phpbbmodders.net

Please refrain from making PM's to me unless you are genuinely asking for help or I have asked you to do so.
User avatar
bonelifer
Registered User
 
Posts: 1912
Joined: Wed Oct 27, 2004 11:35 pm

Re: [DEV] phpBB3 Akismet integration

Postby rAdic » Fri May 15, 2009 8:37 am

luiaxana wrote:am i losing my mind but i cant find any install instructions in the download.

I am not using MODX.
PHPbb3.

Thanks

same here, there does not seem to be any readme etc and from the looks it seems this mod was never finished so I have aborted this.
The New Photography Forum - Discuss cameras, post photos etc - Domain Name Blog - Domain Name Industry Topics - Political Forum
rAdic
Registered User
 
Posts: 247
Joined: Mon Apr 25, 2005 11:32 pm

Next

Return to [3.0.x] MODs in Development

Who is online

Users browsing this forum: Dahmer, DDG, DiryHarry, dr210077, marc1706, moor41, MSNbot Media, mykee, Neubivljiv, nlo, Pardis, Rev0verDrive, Smix, win_xp_devilsown and 80 guests