eye4web / eye4web-zfc-user-warnings-ban
Ban user by number of warnings/total weight
0.0.3
2016-12-23 22:34 UTC
Requires
- php: >=5.4
- eye4web/eye4web-zfc-user-ban: ^0.0
- eye4web/eye4web-zfc-user-warnings: ^0.0
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: 4.*
- squizlabs/php_codesniffer: 1.5.*
This package is not auto-updated.
Last update: 2024-12-13 04:29:00 UTC
README
Introduction
This module will allow you to ban a user after x amount of warnings or a total warnings weight
Installation
With composer
-
Add this project composer.json:
"require": { "eye4web/eye4web-zfc-user-warnings-ban": "dev-master" }
-
Now tell composer to download the module by running the command:
php composer.phar update
-
Enable it in your
application.config.php
file.<?php return array( 'modules' => array( // ... 'Eye4web\ZfcUser\WarningsBan' ), // ... );
-
Copy config from
config/eye4web-zfcuser-warnings-ban.global.php.dist
to your autoload folder.