forked from strangerstudios/pmpro-courses
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
190 lines (124 loc) · 13 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
=== Premium Courses & eLearning with Paid Memberships Pro for LearnDash, LifterLMS, Sensei LMS & TutorLMS ===
Contributors: strangerstudios, paidmembershipspro, kimannwall, jarryd-long
Tags: course, education, elearning, lms, membership, pmpro
Requires at least: 5.4
Tested up to: 6.3
Stable tag: 1.2.4
Requires PHP: 7.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Create, protect, & sell courses with recurring subscriptions for Paid Memberships Pro, LearnDash, LifterLMS, Sensei LMS, & TutorLMS.
== Description ==
### The best way to protect and sell members-only courses with recurring subscriptions for WordPress.
This is a multi-purpose plugin that offers native course functionality for Paid Memberships Pro. With built-in features, you can:
* Create unlimited private courses and lessons
* Protect access to course content by membership level
* Accept free, one-time payment, or recurring subscriptions for course enrollment
* Track lesson completion by user
If you are already using a course platform or require more functionality, use the integrated modules for LearnDash, LifterLMS, Sensei LMS, and TutorLMS. These are the four most popular WordPress learning management systems—and they all integrate with Paid Memberships Pro through this free plugin.
Courses for Membership automatically protects, enrolls, and unenrolls members from protected courses based on their active membership level or subscription.
### Courses and Lessons with PMPro
The default courses module organizes your course content, protects access by membership level, and tracks lesson completion. You can create an unlimited number of courses and lessons, organize them by your course categories, protect lesson content by membership level, and allow members to track lesson completion.
Refer to our [Default Course and Lesson documentation for help protecting courses](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses&utm_content=courses-default#default-module) using this module.
### Protect LearnDash Courses
LearnDash turns your WordPress site into a learning management system. This premium software manages various e-learning components including courses, lessons, sections, topics, and quizzes. Our Courses for Membership Add On creates a bridge between the content protections of PMPro and the course functionality of LearnDash.
Refer to our [LearnDash documentation for help protecting courses](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses&utm_content=courses-learndash#learndash-module) using this module.
## Protect LifterLMS Courses
LifterLMS is an e-learning plugin for WordPress that is available for free in the WordPress.org plugin repository. The software includes courses, lessons, quizzes, achievement badges, and more. Our Courses for Membership Add On creates a bridge between the content protections of PMPro and the course functionality of LifterLMS.
LifterLMS includes their own features for course enrollment and course membership. You should use this Add On if you are not using their membership features and instead want PMPro to manage your members and membership registrations. This Add On is specifically written to enroll and unenroll members from the courses available for their level.
Refer to our [LifterLMS documentation for help protecting courses](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses&utm_content=courses-lifterlms#lifterlms-module) using this module.
### Protect Sensei LMS Courses
Sensei is an e-learning WordPress plugin by the makers of WooCommerce and Jetpack. The software includes courses, lessons, quizzes, and more. Our Courses for Membership Add On creates a bridge between the content protections of PMPro and the course functionality of Sensei.
Refer to our [Sensei LMS documentation for help protecting courses](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses&utm_content=courses-sensei#sensei) using this module.
### Protect TutorLMS Courses
TutorLMS is an e-learning WordPress plugin by Themeum. The software includes courses, lessons, a teacher and student dashboard, quizzes, and more. Our Courses for Membership Add On creates a bridge between the content protections of PMPro and the course functionality of TutorLMS.
Refer to our [TutorLMS documentation for help protecting courses](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses&utm_content=courses-tutorlms#tutor) using this module.
Learn more about [protecting and selling courses for your membership](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses) in our documentation site.
### About Paid Memberships Pro
[Paid Memberships Pro is a WordPress membership plugin](https://www.paidmembershipspro.com/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses) that puts you in control. Create what you want and release in whatever format works best for your business.
* Courses & E-Learning
* Private Podcasts
* Premium Newsletters
* Private Communities
* Sell Physical & Digital Goods
Paid Memberships Pro allows anyone to build a membership site—for free. Restrict content, accept payment, and manage subscriptions right from your WordPress admin.
Paid Memberships Pro is built "the WordPress way" with a lean core plugin and over 75 Add Ons to enhance every aspect of your membership site. Each business is different and we encourage customization. For our members we have a library of 300+ recipes to personalize your membership site.
Paid Memberships Pro is the flagship product of Stranger Studios. We are a bootstrapped company which grows when membership sites like yours grow. That means we focus our entire company towards helping you succeed.
[Try Paid Memberships Pro entirely for free on WordPress.org](https://wordpress.org/plugins/paid-memberships-pro/) and see why 100,000+ sites trust us to help them #GetPaid.
### Read More
Want more information on protecting course content with Paid Memberships Pro, LearnDash or LifterLMS and WordPress membership sites? Have a look at:
* The [Paid Memberships Pro](https://www.paidmembershipspro.com/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses) official homepage.
* The [Courses for Membership PMPro documentation page](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses).
* Also follow PMPro on [Twitter](https://twitter.com/pmproplugin), [YouTube](https://www.youtube.com/channel/UCFtMIeYJ4_YVidi1aq9kl5g) & [Facebook](https://www.facebook.com/PaidMembershipsPro/).
== Installation ==
Note: You must have [Paid Memberships Pro](https://wordpress.org/plugins/paid-memberships-pro/) installed and activated on your site.
### Install PMPro Courses from within WordPress
1. Visit the plugins page within your dashboard and select "Add New"
1. Search for "PMPro Courses"
1. Locate this plugin and click "Install"
1. Activate "Paid Memberships Pro - Courses for Membership" through the "Plugins" menu in WordPress
1. Go to "after activation" below.
### Install PMPro Courses Manually
1. Upload the `pmpro-courses` folder to the `/wp-content/plugins/` directory
1. Activate "Paid Memberships Pro - Courses for Membership" through the "Plugins" menu in WordPress
1. Go to "after activation" below.
### After Activation: Configure Course Modules
Navigate to Memberships > Courses in the WordPress admin to configure modules.
The Courses settings page controls which modules are active in your membership site. In most cases, you will only need to have one module active at a time. Navigate to Memberships > Courses to choose from the following settings:
1. Default Module: Use the built-in course and lesson custom post types to build a basic e-learning component in your WordPress membership site.
1. LearnDash: Enable the LearnDash module to enable course protection by membership level for your courses in the LearnDash LMS.
1. LifterLMS: Enable the LifterLMS module to enable course protection by membership level for your courses in LifterLMS.
Note: This Add On does not include any update scripts to manage enrollment for existing members. For the LearnDash and LifterLMS modules, all members who have an existing membership level will not be automatically enrolled in courses. Course protection and enrollment is hooked in the level change event: only new members or members that cancel or change their level will be updated. You must manually add and remove current members from protected courses.
The default (built-in) module does not rely on enrollment and will not require any update script.
== Frequently Asked Questions ==
= I found a bug in the plugin. =
Please post it in the issues section of GitHub and we'll fix it as soon as we can. Thanks for helping. [https://github.com/strangerstudios/pmpro-courses/issues](https://github.com/strangerstudios/pmpro-courses/issues)
= I need help installing, configuring, or customizing the plugin. =
Please visit [our support site at https://www.paidmembershipspro.com](http://www.paidmembershipspro.com/) for more documentation and our support forums.
== Screenshots ==
1. Settings page to enable course modules for built-in CPT, LearnDash, and LifterLMS.
2. Courses post type screen shows number of lessons and required membership levels.
3. Edit a single course to add public overview content, add and reorder lessons, categorize the courese, and add membership requirements.
4. A course page on the site frontend showing overview content, a registration box with required levels, and a list of lessons.
== Changelog ==
= 1.2.5 - 2023-08-04 =
* SECURITY: Sanitizing options when saving to the database for activating modules.
= 1.2.4 - 2023-08-01 =
* SECURITY: Added nonces to adding/removing lessons from the default courses module. (@andrewlimaza)
* BUG FIX/ENHANCEMENT: Improved compatibility with auto-enrollment/unenrollment with Multiple Memberships Per User. (@dparker1005)
* BUG FIX: Fixed an issue where Sensei LMS was not redirecting non-members away from the lesson to the course's landing page. (@andrewlimaza)
= 1.2.3 - 2023-07-11
* BUG FIX: Fixed issue where rewrite slug prefix would default to pmpro_course sometimes. The slug prefix should always be course (or course-2/etc if there are other plugins using course already). Flushing the pretty permalink rewrite rules can fix issues.
= 1.2.2 - 2023-06-30 =
* BUG FIX/ENHANCEMENT: Added open to enable or disable the default module's Course CPT archive.
* BUG FIX: Fixed and issue with TutorLMS integration. Clicking Preview lesson button was causing redirect instead of actually preview the lesson.
* BUG FIX: Fixed an issue with default and LifterLMS modules enabled at the same time. LifterLMS courses were giving 404 errors due conflicts with default CPT and Lifter permalinks.
= 1.2.1 - 2023-01-19 =
* ENHANCEMENT: If a course requires only one membership level, redirect directly to the checkout for that level instead of the level select page.
* ENHANCEMENT: Added a small hint when adding a lesson to a course to indicate the lesson is being added to the course.
= 1.2 - 2022-09-27 =
* ENHANCEMENT: Added blocks for "My Courses" and "All Courses" shortcodes. This works only when the default module is being used.
* BUG FIX: Fixed an issue where lessons in TutorLMS weren't restricting correctly.
* BUG FIX: Fixed an issue where the limit attribute wasn't filtering the courses content for [pmpro_my_courses] and [pmpro_all_courses].
* BUG FIX: Fixed an issue for the plugin_action_links throwing an error for certain user roles.
= 1.1 - 2022-06-09 =
* SECURITY: Improved security by preparing, sanitization and escaping of variables.
* ENHANCEMENT: Added integration for SenseiLMS.
* ENHANCEMENT: Added integration for TutorLMS.
* REFACTOR: Removed unused variables and tidied up code where possible.
= 1.0.5 - 2022-01-31 =
* BUG FIX: Fixed an issue where lesson count wasn't showing inside both shortcodes. (printf too few arguments).
* ENHANCEMENT: Improved padding for table header cells to match .widefat td in the lessons metabox.
* ENHANCEMENT: Added the WP POT/PO/MO Generator action for localizing.
* ENHANCEMENT: Tested up to WordPress 5.9.
= 1.0.4 - 2021-12-23 =
* SECURITY: Added an additional permissions check before saving settings.
= 1.0.3 - 2021-12-23 =
* BUG FIX: Fixed issues with saving course module settings.
* Now requiring PHP 5.6+ to match minimum requirements for Paid Memberships Pro.
= 1.0.2 - 2021-07-23 =
* BUG FIX: Fixed issues with saving lessons from the edit post page.
= 1.0.1 - 2021-07-15 =
* BUG FIX: Now waiting until plugin_loaded before loading modules to make sure other LMS plugins are active.
= 1.0 =
* Initial release.