Version 1.20 Copyright 2024 Cas Nuy
The BanSpam plugin tries to block spammers:
- Ensuring issues/notes can only be raised in one(1) language
- Offering the option to block ip (ranges)
- Quarantining of newe issues/notes
- Issues/notes can, during language check, automatically allowed based upon a set number of issues/notes in the DB.
- Blacklists can be uploaded in bulk using csv file.
Mantis 2.x
Copy the BanSpam directory into the plugins folder of your installation.
After copying to your webserver:
- Start Mantis as administrator
- Select manage
- Select manage Plugins
- Select Install behind BanSpam 1.10
- Click on the plugin name for further configuration (see below)
In case you want to check already during login
Please add a line to login.php. just after
$t_user_id = auth_get_user_id_from_login_name( $f_username );
Line to insert:
$continue = event_signal( 'EVENT_LOGIN_CHECK' );
In case you want to check already during signup
Please add a line to signup.php. just after
$f_captcha = mb_strtolower( trim( $f_captcha ) );
Line to insert:
$continue = event_signal( 'EVENT_SIGNUP_CHECK' );
In the 'doc' directory, you find a Word document describing this plugin.
- Set language to use for issues/notes (supported en-de-fr-es)
- Set fallback language in case of ambiguous result (?? means abort, otherwise set to language defined above)
- What is the minimum number of characters to activate language check?
- Automatic approve text with less characters thatn the minimum stated above
- Do you want to check during logon yes/no?
- Do you want to check during signup?
- What is the contact e-mail (if any)?
- What is the minimum number of issues to allow approval always (language check)?
- What is the minimum number of notes to allow approval always (language check)?
The directory doc contains a sample csv file.
Be aware that the import will skip the first line, so please leave the header row in place.
Also make sure that you choose the correct column separator while using that function.
Default it is set to a comma but it just as well can be a semicolon.
An error message will popup in case you use the wrong separator.
Released under the GPL v3 license.
Allow for multiple languages. Handling attachments of quarantained items
Please visit https://github.com/mantisbt-plugins/BanSpam
Version 1.00 02-05-2024 Initial release
Version 1.01 03-05-2024 Added sample import file and adjusted the readme
Version 1.10 06-05-2024 Added quarantaining of new issues/notes for admin review
Added interface for management of quarantained items
Version 1.11 13-05-2024 Fixed issue with curly brackets
Version 1.20 06-06-2024 Added options to "always allow" after a set number of issues/notes (language check).