Diogo Cordeiro e858629ac3 [aab] Revert structural change of v2 преди 5 години
..
locale e858629ac3 [aab] Revert structural change of v2 преди 5 години
README 34bfdc3e91 [CORE] Refactor Plugin API to Module API преди 5 години
SubscriptionThrottleModule.php 34bfdc3e91 [CORE] Refactor Plugin API to Module API преди 5 години

README

The SubscriptionThrottle plugin limits how fast users can subscribe to groups
and other users.

Installation
============
add "addModule('SubscriptionThrottle');"
to the bottom of your config.php

Settings
========
subLimits: Array of time spans in seconds to limit subscriptions to users.
groupLimits: Array of time spans in seconds to limit subscriptions to groups.

Example
=======
addModule('SubscriptionThrottle', array(
'subLimits' => array(
86400 => 100, // 100 subs per day
3600 => 50; // 50 subs per hour
),
'groupLimits' => array(
86400 => 50, // 50 subs per day
3600 => 25; // 25 subs per hour
)
));