Please enable JavaScript in your browser!
Home
Explore
Help
Sign In
kim
/
gnu-social
forked from
diogo/gnu-social
Watch
1
Star
0
Fork
0
Files
Branch:
new_modules_system
Branches
Tags
1.1.x
1.2.x
1.20.x
aab
activitypub
experimental
master
new_data_handler
new_modules_system
nightly
v2.0.0beta0
v1.20.x
v1.20.9release
v1.2.x
v1.2.0beta4
v1.1.x
v1.1.3release
gnu-social
/
plugins
/
Blacklist
Diogo Cordeiro
f0a67a1df9
[PLUGINS] Removed GeoURL as the service doesn't exist anymore
5 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
10 years ago
forms
df7ff4ef1a
Moving form to its own file as we do nowadays
7 years ago
locale
f0a67a1df9
[PLUGINS] Removed GeoURL as the service doesn't exist anymore
5 years ago
BlacklistModule.php
82893824db
[CORE] Refactor Plugin API to Module API
5 years ago
README
82893824db
[CORE] Refactor Plugin API to Module API
5 years ago
README
Module 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');