]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/RegisterThrottle/README
Use File->getID()
[quix0rs-gnu-social.git] / plugins / RegisterThrottle / README
1 The RegisterThrottle plugin throttles registration by IP address
2
3 Installation
4 ============
5 This plugin is enabled by default on public instances, otherwise it can be
6 enabled by adding "addPlugin('RegisterThrottle');" to the bottom of your
7 config.php
8
9 Settings
10 ========
11 regLimits: Array of time spans in seconds to limits. Default is 3 registrations per hour, 5 per day, 10 per week.
12 silenced: Disallow registration if a silenced user has registered from this IP address
13
14 Example
15 =======
16 addPlugin('RegisterThrottle', array(
17     'regLimits' => array(
18                         604800 => 10, // per week
19                         86400 => 5,   // per day
20                         3600 => 3     // per hour
21                     ),
22     'silenced' => true
23 ));
24