Please enable JavaScript in your browser!
Home
Explore
Help
Sign In
RMichael
/
gnu-social
forked from
diogo/gnu-social
Watch
1
Star
0
Fork
0
Files
Tree:
1536d3ef29
Branches
Tags
1.1.x
1.2.x
GS-Oembed-plugin
Nodeinfo
XMPPHP
activitypub
experimental
issue-305
issue-323
issue-326
issue-337
issue-338
master
nightly
gnu-social
/
plugins
/
Blacklist
Mikael Nordfeldth
bb76af4f65
Test URLs against blacklist also on PuSH subscriptions.
7 years ago
..
actions
df7ff4ef1a
Moving form to its own file as we do nowadays
7 years ago
classes
2f86cd8602
utf8mb4 conversion on database with index adjusts
9 years ago
forms
df7ff4ef1a
Moving form to its own file as we do nowadays
7 years ago
locale
d7fd6bac72
Snapshot of the Transifex translation project - October 2015
9 years ago
BlacklistPlugin.php
bb76af4f65
Test URLs against blacklist also on PuSH subscriptions.
7 years ago
README
a614205663
Add plugin READMEs
8 years ago
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');