README 673 B

123456789101112131415161718192021222324252627
  1. The SubscriptionThrottle plugin limits how fast users can subscribe to groups
  2. and other users.
  3. Installation
  4. ============
  5. add "addPlugin('SubscriptionThrottle');"
  6. to the bottom of your config.php
  7. Settings
  8. ========
  9. subLimits: Array of time spans in seconds to limit subscriptions to users.
  10. groupLimits: Array of time spans in seconds to limit subscriptions to groups.
  11. Example
  12. =======
  13. addPlugin('SubscriptionThrottle', array(
  14. 'subLimits' => array(
  15. 86400 => 100, // 100 subs per day
  16. 3600 => 50; // 50 subs per hour
  17. ),
  18. 'groupLimits' => array(
  19. 86400 => 50, // 50 subs per day
  20. 3600 => 25; // 25 subs per hour
  21. )
  22. ));