eye4web/eye4web-zfc-user-warnings-ban

Ban user by number of warnings/total weight

0.0.3 2016-12-23 22:34 UTC

This package is not auto-updated.

Last update: 2024-11-15 04:12:52 UTC


README

Build Status Latest Stable Version Latest Unstable Version Code Climate Test Coverage Total Downloads License

Introduction

This module will allow you to ban a user after x amount of warnings or a total warnings weight

Installation

With composer

  1. Add this project composer.json:

    "require": {
        "eye4web/eye4web-zfc-user-warnings-ban": "dev-master"
    }
  2. Now tell composer to download the module by running the command:

    php composer.phar update
  3. Enable it in your application.config.php file.

    <?php
    return array(
        'modules' => array(
            // ...
            'Eye4web\ZfcUser\WarningsBan'
        ),
        // ...
    );
  4. Copy config from config/eye4web-zfcuser-warnings-ban.global.php.dist to your autoload folder.