xoops forums

Catzwolf

Home away from home
Posted on: 2010/7/30 8:08
Catzwolf
Catzwolf (Show more)
Home away from home
Posts: 1392
Since: 2007/9/30
#1

Spammer v1.00b Alpha: Spam Prevention for Xoops

Module: Spammer v.1.00b Alpha
Xoops: v2.45
PHP: V5+

**WARNING ALPHA VERSION**

Change Log

=>version 1.00 Beta 29 July 2010
Fixed: Fatal error: Call to a member function getVar() on a non-object in /html/Mysite/modules/spammer/plug-ins/comments.php-line 57 (grosdunord)
This was due to anonymous posting being allowed and $GLOBALS['xoopsUser'] would not be an Object.
Fixed: Spammer was using the IP address of the spammer instead of the spammers Referrer url.
Changed: The title was not being checked for spam, now both title and body will be checked for spam.
Changed: Moved much of the plug-in code into the spammer class, and made it easier to create plug-ins (less confusing)
Added: The ability to add extra search params whilst doing a spam check. If any of these extra words are found, then this would trigger a spam alert.
Added: Spammer will not check for a valid key before submitting to the akisment severs. Spammer will fail if no valid key is found.
Added: Added the ability to log each spam post, users can view who which users are spamming their websites.

Known bug: There seems to be some bottlenecking when displaying in the admin area when there shouldn't be. I am looking into this.
Todo: Add the ability to ban users who spam frequently.
Todo: Add an about us page in the admin area.
Todo: Add Help documents.

Description:

Spammer is exactly the opposite of what its name suggests. Spammer is an Anti-Spam module that helps fight against Spam using the Akismet API. Akismet FAQ.

Spammer requires a key to function correctly. You can create one from this website.

Commercial website wishing to use this service must buy a license.

How does Spammer work?

Spammer checks each post against the Akismet database to see if a post has elements of spam contained within the content. Spammer can deal with this spam in a number of ways.

1. Ignore it and let it bybass.
2. Delete it.
3. Mark the post as spam.
4. Mark the post for moderation.
5. Mark the post for moderation and mark it as spam.

(4+5) will probably be combined in a future release.

Spammer requires no hacks to the system at any level. You just install the module and it should work. This is possible through using the pre-loader system and plug-ins.

So far, Only a comments plug-in has been created, but this can easily be developed to include many other modules very easily. Please let me know which modules you believe should its own plug-ins.

As this module is only Alpha, it is only for testing but should work correctly with the comments system. (Famous last words).

What is not working yet
1. The logging system: This will be in the next release of Spammer.
2. Email to Administrators: as above.

New Features for next version
1. Plug-ins for the following modules: News and NewBB/CBB.
2. Ban users by IP.
3. Set a posting limit by IP
4. Add this is not Spam/Ham. Not sure how to go about this yet.
5. New Name for Spammer, I don't like this one, so your welcome to suggest a new one.

Download the alpha from: Here.

Please use this forum for feedback, bugs and features

ATB

Catz