Get XOOPS XOOPS FAQ Forums News Themes Modules
News World of XOOPS Developers Hacks Modules Themes YAXS Archive Submit News

XOOPS vs. Herko Coomans

Local Support

Make a donation

Please select an amount to donate


Do you want your username revealed with your donation?
Yes - List me as a Generous Donor
No - List my donation as from an Anonymous Donor


Search

Twitter News

Cumulus Tag Cloud

admin Arabic banner block Christmas comments cumulus DayDawn dhsoft e-Commerce E-Learning Google GUI hacks instant-zero jQuery module news Nordic Olédrion oxygen PageRank security SEO simple-XOOPS sport tag Theme wiki xoops

New Users

Registering user

# 116762

maleinfect

Welcome to XOOPS!

Archives

Advertisement

XOOPS Code hosted on SourceForge

Spammer v1.00 Alpha - Anti Spammer for Xoops

Posted by Catzwolf on 2010/7/29 9:18:36 (656 reads) | Posted on Modules
Module: Spammer v.1.00 Alpha
Xoops: v2.45
PHP: V5+

**WARNING ALPHA VERSION**

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


Printer Friendly Page Send this Story to a Friend Create a PDF from the article


Bookmark this article at these sites

                   

The comments are owned by the poster. We aren't responsible for their content.

Sounds very promising Catz.

My sites have not been too bad with spam comments, but I changed the approval process so that I have to ok all comments first (which can be a pain!!)

THis module will, hopefully, allow me to allow comments to display without me having to intervene too much.

I will test on my sites and let you know how things go.

Al
Posted: 2010/7/29 10:30 • Updated: 2010/7/29 10:30
sounds very useful to me..

My site was attacked 3 time in last 12 months And had to delete them manually..


New name suggestion:
SpamAlert
SpamDoctor
SpamCare

I will test the module hopefully this weekend.

Deepak
Posted: 2010/7/29 10:51 • Updated: 2010/7/29 10:51
Very innovative. This must be integrated to core I think.
I have used xoops captcha into comments and some modules to avoid spam, but this is a better solution.

Suggest:
name xspam
What about having an extra local database to add custom words to check too
Posted: 2010/7/29 11:39 • Updated: 2010/7/29 11:39
Hopefully will have more plugins in the future for AMS or piCal etc.

This is my list:
AMS
piCal
catads
myalbum
mytube
Posted: 2010/7/29 11:42 • Updated: 2010/7/29 11:42
Thanks for this new module

French translation is here --> http://xfr.svn.sourceforge.net/viewvc ... modules/spammer/language/
Posted: 2010/7/29 15:21 • Updated: 2010/7/29 15:21
Hello
First of all congratulations for this module I have a small mistake when I'm out and I want to post a comment so I have a blank page in debug mode I get this error:
Fatal error: Call to a member function getVar () on a non-object in /html/Mysite/modules/spammer/plugins/comments.php-line 57
Posted: 2010/7/29 17:13 • Updated: 2010/7/29 17:13
Thanx!
Posted: 2010/7/29 17:50 • Updated: 2010/7/29 17:50
Thank you, Catz.
Posted: 2010/7/30 2:49 • Updated: 2010/7/30 2:49
The next Alpha of Xoops Spammer is now available for download.

=>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 bottle necking 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.
Posted: 2010/7/30 4:04 • Updated: 2010/7/30 4:14
Thank you corrected the bug here is another error in the administration party in debug mode
Message (s): Use of undefined constant _XL_AD_PDN_NORECORDS - Assumed '_XL_AD_PDN_NORECORDS' in the file / module / spam / class / pagenav.php - line 150
Posted: 2010/7/30 6:02 • Updated: 2010/7/30 6:02
Hi Catz
German UTF-8 language files! You can grabb it here

Greetz Andy
Posted: 2010/7/30 13:17 • Updated: 2010/7/30 13:24