Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Akismet - spam detection Details »
Akismet - spam detection
Mod Version: 1.3.2, by El_Muerte (Contributor) El_Muerte is offline
Developer Last Online: Feb 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.x Rating: (5 votes - 4.80 average) Installs: 42
Released: 16 Aug 2007 Last Update: 30 Aug 2007 Downloads: 334
Not Supported DB Changes Uses Plugins Template Edits Additional Files Re-usable Code Translations  

Akismet is an spam detection engine that is mostly used by blogs to check the comments for spam. But it can also be used for forum posts. It is not a definite protection against spam.

This plugin for vBulletin 3.6 will check every thread and reply if it is considered as spam. If it is spam it will put the offending thread or reply in the moderator queue.

In order to use Akismet you need to get a API key. You can get one by signing up on WordPress. The Akismet service is free for personal use. Check the Akismet website for more information.

This vBulletin plugin is available under the terms of the GNU Lesser Public License.

Installation instructions are available in the ZIP archive.

Features
  • Scan for spam in new threads and post
  • Scan content edits
  • Automatically put identified spam in the moderation queue
  • Report posts as spam or ham (individual post or through inline moderation)
  • Limit spam detection to post count and user groups
  • Extendable through hooks

Changelog
v1.3
  • Added an akismet activity log in the admincp

v1.2
  • Fixed an invalid URL issue when using cURL

v1.1
  • Option to send parsed post data
  • Option to send additional webserver request data for the initial spam check
  • Removed product version query
  • Added extra information when reporting a post
  • Only check API key when entered in the vBulletin options, not for every Akismet request

v1.0
  • Various bug fixes: report post submitted wrong data; few missing phrases
  • More code documentation
  • This plugin now exposes some hooks that others can use to extend the feature set. Like give users infractions when posts are considered spam.

v0.3
  • Added options to exclude posts from checking based on user's postcount and usergroups
  • Added mass reporting of ham/spam through the inline moderation system.
  • Improvements of the internal code

v0.2
  • Check spam status on edits
  • Add report as ham/spam functionality (requires template edit)

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	akismet_product.jpg
Views:	458
Size:	5.3 KB
ID:	68597  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Moderators Functions Akismet Anti-Spam (3.6) Jafo232 vBulletin 3.6 Add-ons 12 15 Jun 2011 16:13
Akismet Anti-Spam Jafo232 vBulletin 3.5 Add-ons 97 14 May 2011 04:07
Administrative and Maintenance Tools Archive Tripwire (Automated Spam Detection & Handling) Sim9 vBulletin 3.7 Add-ons 1 29 Nov 2008 00:22

  #16  
Old 17 Aug 2007, 16:53
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Real name: Michiel Hendriks, MSc
Ok, this product is now complete. Everything I planned to add has been added. Other programmers can extend the functionality through the exposed hooks in the code.
__________________
http://elmuerte.com/
http://www.magicball.net/ - Little Big Adventure Community
http://www.unrealadmin.org/ - Unreal Tournament \ UT2004 server administration
http://www.vbdrupal.com/ - vbDrupal [developer]
Reply With Quote
  #17  
Old 18 Aug 2007, 10:45
AlexanderT's Avatar
AlexanderT AlexanderT is offline
 
Join Date: Mar 2003
Some remarks:
  • post content is sent in bbcode format to Akismet; wouldn't it be better to parse it first?
  • verifykey is called each time a comment is posted; wouldn't it be sufficient to use verifykey at the time when the key is entered in admincp?
  • an additional query is used every time a comment is posted to determine the installed product version; wouldn't it be sufficient to use a define for the product version and to save the query?

Great add-on!
Reply With Quote
  #18  
Old 18 Aug 2007, 16:53
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Real name: Michiel Hendriks, MSc
1) I don't know. There is not much info on how akismet really check the content. And spammer often use standard messages for all spam runs, parsing to bbcode could result in different content for each forum.

2) Probably. The documentation isn't very clear on that subject. Then again, if the key is invalid it will probably be notified in the spam check or report.

3) I felt lazy, didn't want to update the define everytime I changed the file. Then again, it's a little effort for a more or less useless query.
__________________
http://elmuerte.com/
http://www.magicball.net/ - Little Big Adventure Community
http://www.unrealadmin.org/ - Unreal Tournament \ UT2004 server administration
http://www.vbdrupal.com/ - vbDrupal [developer]
Reply With Quote
  #19  
Old 18 Aug 2007, 19:15
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Real name: Michiel Hendriks, MSc
Corrected above points in version 1.1
__________________
http://elmuerte.com/
http://www.magicball.net/ - Little Big Adventure Community
http://www.unrealadmin.org/ - Unreal Tournament \ UT2004 server administration
http://www.vbdrupal.com/ - vbDrupal [developer]
Reply With Quote
  #20  
Old 18 Aug 2007, 22:07
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Just installed v1.1 and now I have an error under the AdminCP function....

API Key
The key required to interface with Akismet.
To acquire a key you have to create an account at WordPress

Error: You did not enter a valid value for this setting.
I have a valid key and haven't touched this field since I original installed the mod and received the key from Wordpress. The error appeared after installing v1.1.

Hope this helps find the bug....

Should I try to do an overwrite and replace v1.1 backwards with v1.0?

Regards,
Badger

Last edited by BadgerDog; 18 Aug 2007 at 22:37.
Reply With Quote
  #21  
Old 18 Aug 2007, 23:00
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Real name: Michiel Hendriks, MSc
Really? I don't get that error for my key. Are you sure that key is correct? Nothing changed to the key validation since 1.0 (except that I removed revalidation during spam checking).

If you have the vBulletin debug functionality enabled you can see the response from akismet in the "debug message" dropdown list


ps, reverting to 1.0 should be possible
__________________
http://elmuerte.com/
http://www.magicball.net/ - Little Big Adventure Community
http://www.unrealadmin.org/ - Unreal Tournament \ UT2004 server administration
http://www.vbdrupal.com/ - vbDrupal [developer]
Reply With Quote
  #22  
Old 18 Aug 2007, 23:04
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by El_Muerte View Post
Really? I don't get that error for my key. Are you sure that key is correct? Nothing changed to the key validation since 1.0 (except that I removed revalidation during spam checking).
Perhaps it doesn't like that change?

I applied for the key when you first released the program. Entered it into the field and haven't touched it since, all through your various upgrades. This error came up as soon as I installed v1.1

I went to the Wordpress web site and validated my key and it's entered correctly. I even cleared the field and started entering it one character at a time as their FAQ said that sometimes cut-n-paste causes problems. About 1/2 way through the error message came up.

Should I uninstall v1.1 and try to re-install, or simple re-install v1.0 over v1.0?

BTW, where do I find the DEBUG drop down list?

Regards,
Badger
Reply With Quote
  #23  
Old 18 Aug 2007, 23:18
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by El_Muerte View Post
If you have the vBulletin debug functionality enabled you can see the response from akismet in the "debug message" dropdown list
Ok, I found how to activate DEBUG mode and at the bottom it says:

DEBUG MESSAGES (1) [akismet] Key = $RCSfile$ - $Revision: 17009 $
SQL Queries (10)
Is that what you're looking for?

Regards,
Badger
Reply With Quote
  #24  
Old 18 Aug 2007, 23:58
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by El_Muerte View Post

ps, reverting to 1.0 should be possible
Ok, reverted back to v1.0 (importing over v1.1) and the error is still there...

After that, I completely UN-INSTALLED the mod and re-installed v1.1 and the error is still there.

Regards,
Badger

Last edited by BadgerDog; 19 Aug 2007 at 00:43.
Reply With Quote
  #25  
Old 19 Aug 2007, 08:57
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Real name: Michiel Hendriks, MSc
be sure to also overwrite the functions_akismet.php when you upgrade/revert

anyway, there appears to be connections issues, the debug line should be either:
"Key = valid" or "Key = invalid"
if it doesn't contain any text then there was an error in connecting to the akismet server to validate the key.

the key isn't validated while you are typing, it will be validated when the text field loses focus, and when the options pages is loaded.

Besides, you can simply enter an invalid key and save the the options. The rest of the plugin will still try to check for spam and submit content despite a possible invalid key.
__________________
http://elmuerte.com/
http://www.magicball.net/ - Little Big Adventure Community
http://www.unrealadmin.org/ - Unreal Tournament \ UT2004 server administration
http://www.vbdrupal.com/ - vbDrupal [developer]
Reply With Quote
  #26  
Old 19 Aug 2007, 11:38
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by El_Muerte View Post
be sure to also overwrite the functions_akismet.php when you upgrade/revert
Did that ...

Originally Posted by El_Muerte View Post
anyway, there appears to be connections issues, the debug line should be either:
"Key = valid" or "Key = invalid"
if it doesn't contain any text then there was an error in connecting to the akismet server to validate the key.

the key isn't validated while you are typing, it will be validated when the text field loses focus, and when the options pages is loaded.

Besides, you can simply enter an invalid key and save the the options. The rest of the plugin will still try to check for spam and submit content despite a possible invalid key.
The message actually pops up during typing...

Perhaps if I sent you a PM and gave you access, you could debug the problem better?

Thanks

Regards,
Badger
Reply With Quote
  #27  
Old 19 Aug 2007, 11:57
AlexanderT's Avatar
AlexanderT AlexanderT is offline
 
Join Date: Mar 2003
Originally Posted by El_Muerte View Post
Corrected above points in version 1.1
Cool!
Reply With Quote
  #28  
Old 19 Aug 2007, 19:41
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Real name: Michiel Hendriks, MSc
Version 1.1 has a bug when using cURL for communication (cURL will automatically be used when it's available). For some reason it worked perfectly on my system, but on an other system cURL didn't accept the broken url.
So if you have cURL installed on the system you should upgrade to 1.2, if unsure also upgrade.

Thank you BadgerDog for letting me use your board to figure out this problem.
__________________
http://elmuerte.com/
http://www.magicball.net/ - Little Big Adventure Community
http://www.unrealadmin.org/ - Unreal Tournament \ UT2004 server administration
http://www.vbdrupal.com/ - vbDrupal [developer]
Reply With Quote
  #29  
Old 19 Aug 2007, 21:18
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by El_Muerte View Post
Thank you BadgerDog for letting me use your board to figure out this problem.
You're welcome ....

Installed v1.2....

All fixed and running smooth....

Regards,
Badger
Reply With Quote
  #30  
Old 27 Aug 2007, 14:54
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Ok, had my first spammer visit since installing this mod.

He posted two threads selling cameras and neither was "moderated" by the mod or "Akismet", so I submitted them to Akismet marking them as spam. This particular ad is quite common and they've visited and posted it before, so I guess the real test now is when they show up the next time, does the Akismet check recognize their next similar post as SPAM

Will advise ...

Regards,
Badger
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 20:37.

Layout Options | Width: Wide Color: