=== GamiPress - Leaderboards Include/Exclude Users ===
Contributors: gamipress, tsunoa, rubengc, eneribs
Tags: gamipress, gamification, gamify, point, achievement, badge, award, reward, credit, engagement, ajax, leaderboard, include, exclude, user, role
Requires at least: 4.4
Tested up to: 6.8
Stable tag: 1.0.9
License: GNU AGPLv3
License URI:  http://www.gnu.org/licenses/agpl-3.0.html

Include or exclude specific users or roles on any leaderboard.

== Description ==

GamiPress - Leaderboards Include/Exclude Users let's you include and/or exclude users that will be ranked on a [GamiPress](https://wordpress.org/plugins/gamipress/ "GamiPress") leaderboard!

In addition, plugin includes settings to include and/or exclude users by role.

Important: This plugin requires [GamiPress - Leaderboards](https://gamipress.com/add-ons/gamipress-leaderboards/ "GamiPress - Leaderboards") add-on.

== Installation ==

= From WordPress backend =

1. Navigate to Plugins -> Add new.
2. Click the button "Upload Plugin" next to "Add plugins" title.
3. Upload the downloaded zip file and activate it.

= Direct upload =

1. Upload the downloaded zip file into your `wp-content/plugins/` folder.
2. Unzip the uploaded zip file.
3. Navigate to Plugins menu on your WordPress admin area.
4. Activate this plugin.

== Frequently Asked Questions ==

= How can I configure the users and/or roles to be included or excluded on a Leaderboard? =

On the leaderboard edit screen you will see a new box named 'Include/Exclude Users' that will let you easily setup which users and/or roles to include or exclude from the leaderboard.

== Screenshots ==

== Changelog ==

= 1.0.9 =

* **Bug Fixes**
* Fixed fields script.

= 1.0.8 =

* **Improvements**
* Improved exclude users SQL clause when used in combination with a Group Leaderboard plugin.

= 1.0.7 =

* **Improvements**
* Improved the include/exclude roles and users SQL clause to support multiple inclusion/exclusion at the same time.
* Updated to match with Leaderboards 1.4.0 update.

= 1.0.6 =

* **Bug Fixes**
* Fixed visibility for the boxes located at the leaderboard edit screen.

= 1.0.5 =

* **Improvements**
* Updated to match with Leaderboards 1.3.8 update.

= 1.0.4 =

* **Improvements**
* Updated deprecated jQuery functions.

= 1.0.3 =

* **Improvements**
* Improved the include roles SQL clause to support multiple roles inclusion.

= 1.0.2 =

* **Bug Fixes**
* Prevent query names collision caused by the include adn exclude roles options.

= 1.0.1 =

* **Bug Fixes**
* Fixes user selector.
* **Improvements**
* Make use of WordPress security functions for ajax requests.

= 1.0.0 =

* Initial release.
