=== BuddyBoss LearnDash ===
Contributors: buddyboss
Tags: learndash, lms, courses, groups, buddyboss
Requires at least: 6.0
Tested up to: 6.9.4
Requires PHP: 7.4.0
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

LearnDash integration for BuddyBoss Platform — connects BuddyBoss groups to LearnDash courses, reports, and member profile course tabs.

== Description ==

BuddyBoss LearnDash bridges your BuddyBoss community with LearnDash LMS, turning social groups into collaborative learning spaces. Sync BuddyBoss groups with LearnDash groups, surface course progress in member profiles, and give group organizers built-in reports — all from a single integration. Designed to keep Platform free of LearnDash-specific code, so site owners only pay the runtime cost of LMS features when they actually use them.

= Key Features =

* **Group ↔ Course Sync** - Bi-directional sync between BuddyBoss groups and LearnDash groups, including auto-assignment of group members to enrolled courses
* **Profile Courses Tab** - Display each member's enrolled courses, progress, and completion status on their BuddyBoss profile
* **Group Reports** - Built-in reports on course progress, completion, and quiz performance for group organizers
* **ReadyLaunch Support** - Native integration with BuddyBoss ReadyLaunch — Courses primary nav, course sidebar, and ReadyLaunch-styled course templates
* **Global Search** - LearnDash courses, lessons, topics, and quizzes appear in BuddyBoss global search with proper thumbnails and access-aware results
* **REST API** - Endpoint exposing course data for the BuddyBoss App and headless consumers
* **Email Notifications** - LearnDash quiz and group email notifications routed through the BuddyBoss email system
* **New Settings UI** - Modern React-based admin settings under BuddyBoss → Settings → LearnDash

= Requirements =

* **WordPress** 6.0 or higher
* **PHP** 7.4 or higher
* **BuddyBoss Platform** (Required)
* **LearnDash LMS** (Required)
* **Node.js** 18.x or higher (for development)
* **Composer** 2.x or higher (for development)

== Installation ==

= Automatic Installation =

1. Log in to your WordPress admin panel
2. Navigate to Plugins > Add New
3. Search for "BuddyBoss LearnDash"
4. Click "Install Now" and then "Activate"

= Manual Installation =

1. Download the plugin ZIP file
2. Log in to your WordPress admin panel
3. Navigate to Plugins > Add New > Upload Plugin
4. Choose the downloaded ZIP file and click "Install Now"
5. After installation, click "Activate Plugin"

= Configuration =

1. Ensure BuddyBoss Platform and LearnDash LMS are installed and activated
2. Navigate to BuddyBoss → Settings → LearnDash in WordPress admin
3. Enable group ↔ course sync and configure default sync behavior
4. Configure profile course visibility and group report access
5. Optionally enable enrolled-only search gating for LearnDash CPTs

== Changelog ==

= 1.1.0 =
* Bug: Core - Fixed an issue where clicking "View details" on the BuddyBoss products not showing update details
* Bug: Core - Fixed an issue with the course count shown on the group Courses tab and a related setting that was not saving correctly
* Bug: LearnDash - Fixed an issue where course certificates were not showing up on member profiles

= 1.0.3 =
* Bug: Core - Fixed an issue where LearnDash course single pages failed to load when ReadyLaunch was enabled

= 1.0.2 =
* Bug: Core - Fixed an issue that prevented LearnDash Group Courses and Reports navigation items from appearing when sync settings were enabled

= 1.0.1 =
* Bug: Core - Fixed an issue where the LearnDash course page layout appeared broken

= 1.0.0 =
* New Feature! - The BuddyBoss LearnDash integration is now a separate addon plugin, works with new React-based Backend Settings 3.0 interface with a cleaner backend structure for better scalability and easier maintenance
