forked from GNUsocial/gnu-social
8c0601816f
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. |
||
---|---|---|
.. | ||
actions | ||
classes | ||
forms | ||
locale | ||
BlacklistPlugin.php | ||
README |
Plugin to prevent use of nicknames or URLs on a blacklist Installation ============ add "addPlugin('Blacklist');" to the bottom of your config.php Settings ======== nicknames: Array of nicknames to blacklist urls: Array of URLs to blacklist Example ======= $config['blacklist']['nicknames'] = array('bad_nickname', 'worse_nickname'); $config['blacklist']['urls'] = array('http://example.org', 'http://example.net'); addPlugin('Blacklist');