This module will allow you to give your users warnings.
-
Add this project composer.json:
"require": { "eye4web/eye4web-zfc-user-Warnings": "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\Warnings' ), // ... );
If you want to ban the user after X warnings you can make user of Eye4webZfcUserWarningsBan.