Please enable JavaScript in your browser!
Home
Esplora
Aiuto
Accedi
diogo
/
gnu-social
Segui
19
Vota
39
Forka
35
File
Problemi
116
Pull Requests
5
Wiki
Albero (Tree):
c2a0f85274
Rami (Branch)
Tag
1.1.x
1.2.x
1.20.x
1.5
experimental
master
nightly
v3
v2.0.0beta0
v1.20.9release
v1.2.0beta4
v1.1.3release
gnu-social
/
plugins
/
Blacklist
Diogo Cordeiro
aee5506f00
[PLUGINS] Removed GeoURL as the service doesn't exist anymore
5 anni fa
..
actions
df7ff4ef1a
Moving form to its own file as we do nowadays
7 anni fa
classes
2f86cd8602
utf8mb4 conversion on database with index adjusts
9 anni fa
forms
df7ff4ef1a
Moving form to its own file as we do nowadays
7 anni fa
locale
aee5506f00
[PLUGINS] Removed GeoURL as the service doesn't exist anymore
5 anni fa
BlacklistPlugin.php
0c2c3ec862
[CORE] Plugin API now extends a new Module API
5 anni fa
README
a614205663
Add plugin READMEs
8 anni fa
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');