This module will allow you to ban a user after x amount of warnings or a total warnings weight
-
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.