Please enable JavaScript in your browser!
Главная
Обзор
Помощь
Вход
diogo
/
gnu-social
Следить
19
В избранное
39
Ответвить
35
Файлы
Обсуждения
116
Запросы на слияние
5
Вики
Ветка:
nightly
Ветки
Метки
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 Peralta Cordeiro
6e031d623a
[VersionBump] 2.0.0beta0
3 лет назад
..
actions
df7ff4ef1a
Moving form to its own file as we do nowadays
7 лет назад
classes
2f86cd8602
utf8mb4 conversion on database with index adjusts
9 лет назад
forms
df7ff4ef1a
Moving form to its own file as we do nowadays
7 лет назад
locale
6e031d623a
[VersionBump] 2.0.0beta0
3 лет назад
BlacklistPlugin.php
165edc2609
[CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL
3 лет назад
README
a614205663
Add plugin READMEs
8 лет назад
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');