This commit is contained in:
Aaron
2012-12-20 17:46:30 +13:00
parent 11c68cecd6
commit 2396c9d9cb
2 changed files with 9 additions and 2 deletions

View File

@ -7,24 +7,28 @@ This plugin is intended to be used with YOURLS (cf. http://yourls.org)
It has been tested on YOURLS v1.5.1 and YourlsBlacklistIPs v1.3 It has been tested on YOURLS v1.5.1 and YourlsBlacklistIPs v1.3
Current version is 0.02 Current version is 0.03
Contact : *apelly[ at ]len[ dot ]io* Contact : *apelly[ at ]len[ dot ]io*
**INSTALL :** **INSTALL :**
- In user/plugins, `git clone https://github.com/apelly/YourlsBlacklistDomains.git` - In user/plugins, `git clone https://github.com/apelly/YourlsBlacklistDomains.git`
- Go to the plugins administration page and activate the plugin. - Go to the plugins administration page and activate the plugin.
**UPDATE :** **UPDATE :**
- In user/plugins/YourlsBlacklistDomains, `git pull https://github.com/apelly/YourlsBlacklistDomains.git` - In user/plugins/YourlsBlacklistDomains, `git pull https://github.com/apelly/YourlsBlacklistDomains.git`
**USAGE :** **USAGE :**
You will see in the admin section a new admin page where you can manage the blacklist. You will see in the admin section a new admin page where you can manage the blacklist.
Enter one domain on each line, you may remove the www when adding a new domain, the blacklisting relies on simple substring matching. Enter one domain on each line, you may remove the www when adding a new domain, the blacklisting relies on simple substring matching.
Credits Credits
------- -------
Thanks to https://github.com/Panthro for YourlsWhiteListDomains which was basically all of the code for this. Thanks to https://github.com/Panthro for YourlsWhiteListDomains which was basically all of the code for this.
- https://github.com/Panthro/YourlsWhitelistDomains - https://github.com/Panthro/YourlsWhitelistDomains
@ -33,8 +37,11 @@ Also thanks to https://github.com/LudoBoggio for the YourlsBlacklistIPs plugin w
Changelog Changelog
--------- ---------
v0.03 Fix some crap code
v0.02 Cosmetic changes v0.02 Cosmetic changes
v0.01 Initial code v0.01 Initial code
--- ---
Notice Notice

View File

@ -3,7 +3,7 @@
Plugin Name: YourlsBlackListDomains Plugin Name: YourlsBlackListDomains
Plugin URI: https://github.com/apelly/YourlsBlacklistDomains Plugin URI: https://github.com/apelly/YourlsBlacklistDomains
Description: Plugin which disallows blacklisted domains and bans the submitters IP address. GPL v3 Description: Plugin which disallows blacklisted domains and bans the submitters IP address. GPL v3
Version: 0.02 Version: 0.03
Author: apelly Author: apelly
Author URI: http://len.io Author URI: http://len.io
*/ */