forked from GNUsocial/gnu-social
For reference (raised by rozzin in IRC): * http://foldoc.org/module * http://foldoc.org/library * http://foldoc.org/plugin As noted by XRevan86, modules are not necessarily non-essential. As we will keep the modules directory in GS root [therefore, near to plugins/], it is evidenced the difference between both. This is a simple yet fundamental structural change. It doesn't change functionality but makes clearer the way we understand GNU social's internals.
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 ) ));