forked from GNUsocial/gnu-social
46f98b3142
The core plugins whose version was attached to GS's were reseted to 2.0.0. 2.0.0 was chosen as reset version for plugins because it is higher than the one that was set by inheriting GS version. Furthermore, it's a major change from prior plugin versioning system thus it also makes semantic sense. Justification for version bump: == GS == 9a4ab31f26 1.19.0 |
||
---|---|---|
.. | ||
locale | ||
README | ||
SubscriptionThrottlePlugin.php |
The SubscriptionThrottle plugin limits how fast users can subscribe to groups and other users. Installation ============ add "addPlugin('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 ======= addPlugin('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 ) ));