=== Restrict Author Posting ===
Contributors: mcjambi
Tags: restrict user, banned user, user role, posting to category, specific posting category,author role
Requires at least: 3.0
Tested up to: 4.8
Stable tag: 2.1.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Donate link: http://www.jamviet.com/2015/05/restrict-author-posting.html
This plugin allow you to restrict the category that your site contributors or an author can post to.
== Description ==
My plugin will help you to add restriction category to User profile, so the author or editor can post in just specific categories.
* New Update: If user is restricted to a category, the first one in the list will be chosen as a default for that user if he didn’t chose the category he wants to publish in ( thanks to [ash](http://dvvlc.com/) for this bug ). AND delete Category no longer show an error in User's Profile !
* New Update: Include a new function to restrict author using media file ( image/video ), just a checkbox in User Profile, you can restrict Author using all media file or just his/her own file !
Just a small code, and run in Admin Screen so it'll never slow down your website !
If you have any question, or found a bug, please [let me know](http://www.jamviet.com/2015/05/restrict-author-posting.html) !
Many thanks to [Pete Stoves](http://ordinarygentlemen.co.uk) help me to debug and add multi-select function in plugin !
Enjoy !
Buy me a beer,
[Make a small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=9MSQMWM4VAYTN&lc=VN&item_name=Jam%20Project¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
== Installation ==
Just unzip plugin and move all of theme to plugins folder inside Wordpress directory, then go to Admin > Plugins to active it, Done !
== Screenshots ==
1. Choose a category for author
2. In editor there are only alowing categories !
3. User now can be restricted using own file in media
== Changelog ==
= 2.1.5 =
Add translate function !
= 2.1.4 =
Add and improve code !
= 2.1.2 =
Fixed bug in User's Profile can not generate Password
= 2.1 =
Add new Function: Restrict User using file in Media, now author can be restricted using his/her own file only in Media Page or in New Post screen.
= 2.0.2 =
Fixed error in saving data !
= 1.2.0 =
Fixed some error !
Add new function: More than one category can be selected !
Remove Warning in editor screen, the author or editor now doesn\'t know what happended ( :P )
= 1.1.9 =
Fixed some error !
= 1.1.8 =
Fixed small bug
= 1.1.7 =
Fixed English and something more !
= 1.1.6 =
* Fixed something missing.
= 1.1 =
* Add remove restrict user option in admin panel
= 1.0 =
First version release.
== Upgrade Notice ==
= 2.1.5 =
Add translate function !
= 2.1.4 =
Add and improve code !
= 2.1.3 =
If user is restricted to a category, the first one in the list will be chosen as a default for that user if he didn’t chose the category he wants to publish in ( thanks to ash for this bug ). AND delete Category no longer show an error in User's Profile !
= 2.1.2 =
Fixed bug in User's Profile can not generate Password
= 2.1 =
Add new Function: Restrict User using file in Media, now author can be restricted using his/her own file only in Media Page or in New Post screen.
= 2.0.2 =
Fixed: Administrator can not restrict himself anymore !
Fixed: if empty, delete itself
= 1.2.0 =
Now Admin can add more than one allowing category to an author !
= 1.1.8 =
Now some user can not change his/her restriction except administrator
= 1.1.7 =
Now admin can not see the restriction in his profile !
= 1.1.6 =
Fixed something more ...
= 1.1 =
Add more option in dropdow box to remove restrict for a user