=== CourseBoost ===
Contributors: tasmicsy
Tags: lms, learndash, tutor lms, course completion, elearning
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Boost course completion rates with automated reminders and a learner progress dashboard. Works with Tutor LMS, LearnDash, and LifterLMS.

== Description ==

**CourseBoost** helps online course creators turn enrolled learners into course completers.

Low completion rates are the #1 problem for online course creators. Learners sign up with good intentions but drift away. CourseBoost solves this with two core tools:

= Automated Email Reminders =
Automatically email learners who haven't logged in for a set number of days (default: 7). Bring them back before they forget about the course entirely.

* Set your own inactivity threshold (1–90 days)
* One reminder per learner per day, per course
* Full send log in your dashboard
* Manual trigger for testing

= Learner Progress Dashboard =
A clean progress bar displayed on the course page showing:

* Lessons completed vs. total lessons
* Percentage complete
* Motivational message that changes based on progress

= Supported LMS Plugins =
* Tutor LMS (free & pro)
* LearnDash
* LifterLMS

== Installation ==

1. Upload the `courseboost` folder to `/wp-content/plugins/`
2. Activate the plugin through the **Plugins** menu in WordPress
3. Go to **CourseBoost** in the admin sidebar
4. Confirm your LMS is detected (green checkmark)
5. Set your inactivity threshold and save

== External Services ==

This plugin connects to the Anthropic Claude API to power the AI Course Assistant feature.

**What it does:** When a logged-in learner submits a question on a course page, the question text and a summary of the course content (lesson titles and text) are sent to Anthropic's API. The API returns an AI-generated answer which is displayed to the learner.

**When data is sent:** Only when a learner actively submits a question via the AI Course Assistant chat widget. No data is sent automatically.

**What data is sent:** The learner's question text and course content excerpts (lesson titles and body text, up to 500 characters per lesson). No personally identifiable information is sent.

**Service provider:** Anthropic, PBC
- Terms of Service: https://www.anthropic.com/legal/consumer-terms
- Privacy Policy: https://www.anthropic.com/legal/privacy

Note: The AI Course Assistant requires the site administrator to provide their own Anthropic API key. This plugin does not provide API access.

== Frequently Asked Questions ==

= Which LMS plugins are supported? =
Tutor LMS, LearnDash, and LifterLMS. Full feature support for Tutor LMS in the free version.

= When are reminder emails sent? =
Once per day via WordPress cron (WP-Cron), at midnight server time. You can also trigger them manually from the CourseBoost dashboard.

= Will learners receive multiple emails per day? =
No. CourseBoost logs every send and skips learners who already received a reminder today.

= How do I show the progress bar on my course page? =
It appears automatically on Tutor LMS course pages. You can also use the shortcode `[courseboost_progress]` anywhere.

== Screenshots ==

1. CourseBoost dashboard showing system status and settings
2. Reminder send log
3. Learner progress bar on a course page

== Changelog ==

= 0.1.0 =
* Initial release
* Automated inactivity email reminders
* Learner progress bar with shortcode support
* LMS auto-detection (Tutor LMS, LearnDash, LifterLMS)
* Manual reminder trigger and send log

== Upgrade Notice ==

= 0.1.0 =
Initial release.
