Diogo Cordeiro b730582336 [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 5 年 前
..
locale aee5506f00 [PLUGINS] Removed GeoURL as the service doesn't exist anymore 5 年 前
README a614205663 Add plugin READMEs 8 年 前
SubscriptionThrottlePlugin.php b730582336 [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 5 年 前

README

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
)
));