=== myCred - Learndash ===
Contributors: mycred, wpexpertsio
Tags: lms, learndash, learning, leaderboard, mycred
Requires at least: 4.8
Tested up to: 6.6.1
Stable tag: 2.1.7
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

== Description ==

[myCred Learndash](https://mycred.me/store/mycred-learndash/) is a plugin for WordPress that enabled you to build points based on Learndash plugin. This plugin will help users to get points while they complete courses, lessons, topic or quiz.

Reward users with Points and Badges on Specific Course, Lesson, Topic and Quizzes in the LearnDash learning management system.

== myCred Learndash Features ==
Here are the most notable features of [myCred Learndash plugin](https://mycred.me/store/mycred-learndash/).

**Courses:**

* Award points to users for enrolling in courses.
* Award points to users for enrolling in specific courses.
* Award points to users for completing a course.
* Award points to users for completing a specific course.
* Award points on completing a course having any tag.
* Award points on completing a course having a specific tag.
* Set limits on course attempts (No limit/Day/Week/Month). 

**Lessons:**

* Award points to users for completing any lesson. 
* Award points to users for completing any specific lesson.
* Award points on completing a lesson having any tag.
* Award points on completing a lesson having a specific tag.
* Set limits on lesson attempts (No limit/Day/Week/Month). 

**Topics:**

* Award points to users for completing any topic.
* Award points to users for completing any specific topic.
* Award points on completing a topic having any tag.
* Award points on completing a topic having a specific tag.
* Set limits on topic attempts (No limit/Day/Week/Month). 

**Quiz:**

* Award points on completing any quiz.
* Award points on completing a specific quiz.
* Award points on completing a quiz having any tag.
* Award points on completing a quiz having a specific tag.
* Award/Deduct points on failing any quiz.
* Award/Deduct points on failing a specific quiz.
* Award/Deduct points on failing a quiz having any tag.
* Award/Deduct points on failing a quiz having a specific tag.
* Award points on completing any quiz with a maximum percentage grade.
* Award points on completing a specific quiz with a maximum percentage grade.
* Award points on completing a quiz having any tag with a maximum percentage grade.
* Award points on completing a quiz having a specific tag with a maximum percentage grade.
* Award points on completing any quiz on a range of percentage grades.
* Award points on completing a specific quiz on a range of percentage grades.
* Award points on completing a quiz having any tag on a range of percentage grades.
* Award points on completing a quiz having a specific tag on a range of percentage grades.
* Set limits on quiz attempts (No limit/Day/Week/Month). 

**Groups:**

* Joining a general group: Award points to users for enrolling in a general LearnDash group.
* Joining a specific group: Award points to users for enrolling in a specific LearnDash group.
* Set limits on enrolling in groups: No limit/Day/Week/Month.

**Hooks:**

* Award points automatically points via “Hooks”. These hooks can be set to trigger on multiple LearnDash activities.
* Set Hooks to Award points on Completing a Course.
* Set Hooks to Award points on Completing a Lesson.
* Set Hooks to Award points on Completing a Topic.
* Set Hooks to Award points on Completing a Quiz.
* Set Hooks to Deduct points on Failed at a Quiz.
* Set Hooks to Award points on Upload an Assignment.
* Set Hooks to Award points on Approve an Assignment.

**Leaderboard:**

* Leaderboard for courses.
* Leaderboard for lessons.
* Leaderboard for topics.
* Leaderboard for quizes.

**Course Buy:**

* Allow users to buy courses using myCred points.
* Deny users from buying courses using myCred points.

**Logs:**

* Manage logs for all users point balances.
* Manage all point balances and settings.

**Assignments:**

* Award Points & Badges on uploading an assignment.
* Award Points & Badges when an assignment is approved.
* Award Points & Badges on uploading an assignment of a specific course.
* Award Points & Badges on uploading an assignment of a specific lesson.
* Award Points & Badges when an assignment of a specific course is approved.
* Award Points & Badges when an assignment of a specific lesson is approved.

= Plugin Requirements =

* [myCred 1.8+](https://wordpress.org/plugins/mycred/)
* [Learndash](https://www.learndash.com/pricing-and-purchase/)
* WordPress 5.0+
* PHP 5.3+

= More myCred Freebies Integrations = 

* [myCred H5P](https://mycred.me/store/mycred-h5p)
* [myCred Credly](https://mycred.me/store/mycred-credly)
* [LifterLMS Plugin Integration with myCred ](https://www.mycred.me/store/mycred-lifterlms-integration)
* [myCred BP Group Leaderboards](https://www.mycred.me/store/mycred-bp-group-leaderboards)
* [myCred for Event Espresso 4.6+](https://www.mycred.me/store/mycred-for-event-espresso-4)
* [myCred for Wp-Pro-Quiz](https://mycred.me/store/mycred-for-wp-pro-quiz/)
* [myCred for Rating Form](https://www.mycred.me/store/mycred-for-rating-form)
* [myCred Birthdays](https://www.mycred.me/store/mycred-birthdays)
* [myCred for WP-PostViews](https://www.mycred.me/store/mycred-for-wp-postviews)
* [myCred for TotalPoll](https://mycred.me/store/mycred-for-totalpoll)
* [myCred Gutenberg](https://www.mycred.me/store/mycred-gutenberg)
* [myCred for Events Manager Pro](https://www.mycred.me/store/mycred-for-events-manager-pro)
* [myCred for BuddyPress Compliments](https://www.mycred.me/store/mycred-for-buddypress-compliments)
* [myCred Retro](https://www.mycred.me/store/mycred-retro)
* [myCred for Courseware](https://www.mycred.me/store/mycred-for-courseware)
* [myCred for GD Star Rating](https://www.mycred.me/store/mycred-for-gd-star-rating)
* [myCred for BuddyPress Links](https://mycred.me/store/mycred-for-buddypress-links)
* [myCred for BP Album and BP Gallery](https://mycred.me/store/mycred-for-bp-album-bp-gallery)
* [myCred Elementor](https://mycred.me/store/mycred-elementor/)


= DOCUMENTATION AND SUPPORT =
For more information visit our **[Documentation Page](https://codex.mycred.me/chapter-iv/games/mycred-learndash)**.

== Installation ==

1. Go to Plugins > Add New.
2. Under Search, type myCred Learndash
3. Find myCred Learndash and click Install Now to install it
4. If successful, click Activate Plugin to activate it and you are ready to go.

== Changelog ==

= 2.1.7 =
NEW – Bug fixes.

= 2.1.6 =
TWEAK – Compatible with WordPress Version 6.6.x.

= 2.1.5 =
Fix – Leaderboard warning errors and messages.

= 2.1.4 =
Fix – Leaderboard not generating shortcode.

= 2.1.3 =
New – Code Improvement.

= 2.1.2 =
TWEAK – Compatible with WordPress Version 6.5.2.

= 2.1.1 =
TWEAK – Added compatibility for the myCred v2.6.

= 2.1 =
New – Compatible with WordPress Version 6.1.1.

= 2.0 =
New – Pass quiz having a specific tag
New – Fail quiz having a specific tag
New – Pass quiz having any tag
New – Fail quiz having any tag
New – Complete any quiz with a minimum percent grade
New – Complete any quiz with a minimum percent grade with any tag
New – Complete any quiz with a minimum percent grade with specific tag
New – Complete specific quiz with a minimum percent grade
New – Complete specific quiz with a minimum percent grade with any tag
New – Complete specific quiz with a minimum percent grade with specific tag
New – Complete any quiz with a maximum percent grade
New – Complete quiz with a maximum percent grade with any tag
New – Complete quiz with a maximum percent grade with specific tag
New – Complete specific quiz with a maximum percent grade
New – Complete quiz with a maximum percent grade with any tag
New – Complete quiz with a maximum percent grade with specific tag
New – Complete any quiz on a range of percent grade
New – Complete quiz on a range of percent grade with any tag
New – Complete quiz on a range of percent grade with specific tag
New – Complete a specific quiz on a range of percent grade
New - Complete quiz with any tag
New - Complete quiz with a specific tag
New – Pass any quiz
New – Pass a specific quiz
New – Fail specific quiz
New – Fail quiz having any tag
New – Fail quiz having specifc tag
New – Completing specific course
New – Complete a course having a specific tag
New – Complete a course having any tag
New – Enroll in a specific course
New – Completing specific lesson
New – Complete a lesson having any tag
New – Complete a lesson having specific tag
New – Completing specific topic
New – Complete a topic having any tag
New – Complete a topic having specific tag
New – Enrolled in any LearnDash group
New – Enrolled into a specific LearnDash group

= 1.3.8 =
New – Added translation support.

= 1.3.7 =
New – Added - Award Points & Badges on Upload an Assignment.
New – Award Points & Badges on Approved an Assignment.
New – AwarNew – Points & Badges on Upload an Assignment of a Specific Course.
New – Award Points & Badges on Upload an Assignment of a Specific Lesson.
New – Award Points & Badges on Approve an Assignment of a Specific Course.
New – Award Points & Badges on Approve an Assignment of a Specific Lesson.
Improvement - Interface Enhancement of Course , Lessons and Quiz Settings
Improvement - Code Optimization.

= 1.3.6 =
FIX – Unable to save leaderbaord settings.
Added - Specific Leaderboard for Learndash Activity.

= 1.3.5 =
FIX – Notice wp_enqueue_script was called incorrectly.

= 1.3.4 =
New – Award Points & Badges on Specific Courses.
New – Award Points & Badges on Specific Lessons.
New – Award Points & Badges on Specific Topics.
New – Award Points & Badges on Specific Completed Quizzes.
New – Award Points & Badges on Specific Failed Quizzes.

= 1.3.3 =
Improvement – Improved plugin code.
Improvement – Get plugin updates from wordpress.org

= 1.3.2 =
FIX - Unedfined callback method warning message on update.

= 1.3.1 =
Improvement - Upgrading License System

= Version 1.4 =
Added - Introducing Limit Options in Hook

= 1.2 =
Improvement - Quiz fail points deduction
Added - Different point type for each (Course, Lesson, Topic and Quiz)
Added - New Labels like myCred (Course Badge, Lesson Badge, Topic Badge and Quiz Badge)

= 1.1 =
Allow buying courses in points
Disallow buying courses in points
Leaderboards based on myCred points in courses
Leaderboard for courses
Leaderboard for lessons
Leaderboard for topics
Leaderboard for quiz

= 1.0 =
Initial release