module-stop-spam

Created: 2012-03-21 21:12
Updated: 2014-09-22 21:31
php

README.md

The "StopSpam" module (stop-spam)

Provides some protection again spam using the knowledge base of StopForumSpam and previously recorded IPs.

The module extends the Comments module config block with its configuration, and the Forms module manage block with stats about spam caught for each form.

Author: Olivier Laviale @olvlv

Installation

  1. Upload the module directory to your application module directory.

  2. Enable it in "Features / Modules".

Event callbacks

Before comments are saved

An event hook is attached to the Icybee\Modules\Comments\SaveOperation::process:before event to check if the request was generated by a spambot before the Save operation of the Comments module (or one of its subclasses) is processed.

Alters the config block of the "Comments" module.

An event hook is attached to the Icybee\Modules\Comments\ConfigBlock::alter_children event to add controls to the config block of the Comments module in order to configure the module.

Before forms are posted

An event hook is attached to the Icybee\Modules\Forms\PostOperation::process:before event to checks if the request was generated by a spambot before the Post operation of the Forms module (or one of its subclasses) is processed.

Icybee\Modules\Forms\ManageBlock::alter_columns

Adds a column to the manage block of the Forms module (or one of its subclasses) to display the number of spam caught by form.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more