]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/SubscriptionThrottle/README
Empty resource would throw exception
[quix0rs-gnu-social.git] / plugins / SubscriptionThrottle / README
1 The SubscriptionThrottle plugin limits how fast users can subscribe to groups
2 and other users.
3
4 Installation
5 ============
6 add "addPlugin('SubscriptionThrottle');"
7 to the bottom of your config.php
8
9 Settings
10 ========
11 subLimits: Array of time spans in seconds to limit subscriptions to users.
12 groupLimits: Array of time spans in seconds to limit subscriptions to groups.
13
14 Example
15 =======
16 addPlugin('SubscriptionThrottle', array(
17     'subLimits' => array(
18         86400 => 100,   // 100 subs per day
19         3600 => 50;     // 50 subs per hour
20     ),
21     'groupLimits' => array(
22         86400 => 50,    // 50 subs per day
23         3600 => 25;     // 25 subs per hour
24     )
25 ));
26