=== LifterLMS === Contributors: thomasplevy, chrisbadgett, kathy11, lifterlms, codeboxllc Donate link: https://lifterlms.com Tags: learning management system, LMS, membership, elearning, online courses, quizzes, sell courses, badges, gamification, learning, Lifter, LifterLMS Requires at least: 4.0 Tested up to: 4.7.4 Stable tag: 3.7.7 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html LifterLMS, the #1 WordPress LMS solution, makes it easy to create, sell, and protect engaging online courses. == Description == LifterLMS is a powerful WordPress LMS plugin that makes it easy to create, sell, and protect engaging online courses. The mission of LifterLMS is to democratize education in the digital classroom. >**Universe Bundle, LifterLMS Pro, LaunchPad theme, Done For You Services and More** > >Users looking for more timely/in-depth support are encouraged to check out LifterLMS Pro. One-on-one LifterLMS Pro support is responded to within 12 business hours. > >6 achievement badge packs and 6 premium certificate backgrounds graphic assets also come with [LifterLMS Pro][pro]. > >If you are looking for the best WordPress theme to pair with LifterLMS, check out the [LifterLMS LaunchPad Theme][lp]. > >You should also check out the [LifterLMS Stripe][stripe], [LifterLMS PayPal][pp], [LifterLMS WooCommerce](wc), [LifterLMS ConvertKit][ck], and [LifterLMS MailChimp][mc] extensions to LifterLMS. > >You can save big and get all the products made by LifterLMS with the [Universe Bundle][bundle]. > >If you'd like to be up and running with a beautiful and professional WordPress LMS website in just 5 days, you can also explore our signature [Done For You][dfy] white glove service. Take a look at the explanation videos of LifterLMS. These 17 tutorial videos are included in the [free LifterLMS demo course][demo]. https://www.youtube.com/watch?v=LugJPS7bhxI More information at [LifterLMS.com][home]. #### [Features][features] Whether you're an entrepreneur delivering your own courses, a school with lots of users, a player in the business-to-business corporate training space, or using online courses for marketing purposes, LifterLMS has your back. LifterLMS works great for health and fitness courses, music courses, real estate courses, language learning courses, and much, much more. **[Learning Management System Features][feature-lms]** + Intuitive course builder + Use text, video, audio, images, or any combination in your lessons + Quizzing + Prerequisites + Student dashboards + Student analytics + Student management **[Ecommerce Features][feature-ecomm]** + Accept one-time and/or recurring payments for your courses and memberships + Coupon system + A voucher code system so you can grant access to large groups of people + Accept credit cards directly on your site with the LifterLMS Stripe Extension + Ecommerce analytics + Create degree programs or course tracks by grouping courses together that can be taken in any order **[Membership Site Features][feature-membership]** + Group courses together inside a membership level so you can sell many courses at once + Protect non-LMS content, like regular WordPress pages, posts, bbPress forums, and more **[Engagement and Gamification Features][feature-engagement]** + Personalized email system triggered on user events in the system that you define + Personalized achievement and badge system triggered on user events in the system that you define + Personalized certificate system **Further Reading** + The [LifterLMS plugin][home] official homepage + The [LifterLMS knowledgebase][docs] + The [LifterLMS blog][blog] + The [LifterLMS podcast][podcast] #### Join Our Growing Community When you download LifterLMS, you join a thriving community of education entrepreneurs, developers, and WordPress enthusiasts. We’re one of the fastest growing open source eLearning communities online, and you are welcome here. If you’re interested in contributing to LifterLMS, head over to the [LifterLMS GitHub Repository][git] to find out how you can pitch in. Want to add a new language to LifterLMS? Swell! You can contribute at [translate.wordpress.org][translate]. Also I'd like to invite you to the [LifterLMS VIP Facebook group][facebook] so you can check out what other LifterLMS users are up to and ask questions to the community. [home]: https://lifterlms.com/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [docs]: https://lifterlms.com/docs/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [blog]: http://blog.lifterlms.com/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [podcast]: http://podcast.lifterlms.com/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [git]: https://github.com/gocodebox/lifterlms/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [demo]: https://demo.lifterlms.com/course/how-to-build-a-learning-management-system-with-lifterlms/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [translate]: https://translate.lifterlms.com/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [facebook]: https://www.facebook.com/groups/lifterlmsvip/ [pro]: https://lifterlms.com/product/lifterlms-pro/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [lp]: https://lifterlms.com/product/launchpad/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [stripe]: https://lifterlms.com/product/stripe-extension/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [pp]: https://lifterlms.com/product/paypal-extension/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [wc]: https://lifterlms.com/product/woocommerce-extension/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [ck]: https://lifterlms.com/product/lifterlms-convertkit/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [mc]: https://lifterlms.com/product/mailchimp-extension/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [bundle]: https://lifterlms.com/product/universe-bundle/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [dfy]: https://lifterlms.com/dfy/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [features]: https://lifterlms.com/features/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [feature-lms]: https://lifterlms.com/features/lms/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [feature-ecomm]: https://lifterlms.com/features/e-commerce/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [feature-membership]: https://lifterlms.com/features/membership/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale [feature-engagement]: https://lifterlms.com/features/engagement/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale == Installation == #### Minimum System Requirements LifterLMS Requires + PHP 5.6 or later + MySQL 5.6 or later + WordPress 4.0 or later Visit our [full system requirements](https://lifterlms.com/docs/minimum-system-requirements-lifterlms/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale) for additional information. #### Automatic Installation This is the simplest way to install LifterLMS as it utilizes WordPress to handle file transfers and you never need to leave the web browser or admin panel. 1. Log in to your WordPress dashboard. 2. Navigate to Plugins -> Add New 3. In the search field type "LifterLMS" and click "Search Plugins" 4. Once you've located LifterLMS click "Install Now" 5. Once installation is complete, click "Activate" #### Manual Installation To manually install LifterLMS you'll need to download the zip file using the "Download" link on this screen. You'll then need to use FTP to manually upload the files to the proper directory on your webserver. Please see this [WordPress Codex document](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation) for full instruction on Manual Plugin Installation. #### Setup Wizard After installing LifterLMS for the first time you will be redirected to the Setup Wizard. This wizard will walk quickly configure LifterLMS so you can get to course creating as quickly as possible. At the conclusion you'll have the option to import a sample course. You can return to the setup wizard at any time by following [these steps](https://lifterlms.com/docs/rerun-lifterlms-setup-wizard/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale). == Frequently Asked Questions == #### Are there any troubleshooting steps you'd suggest I try that might resolve my issue before I post a new thread? First, make sure that you're running the latest version of LifterLMS. And if you've got any other LifterLMS extensions or themes, make sure those are running the most current version as well. The most common issues we see are either plugin conflicts, theme conflicts, or outdated servers. You can test if a plugin or theme is conflicting by manually deactivating other plugins until just LifterLMS is running on your site. If the issue persists from there, revert to the default Twenty Fifteen theme. If the issue is resolved after deactivating a specific plugin or your theme, you'll know that is the source of the conflict. If it is a hosting issue, contact your web host and make sure they’re running the most current version of PHP. Also be sure to check out the official LifterLMS [Knowledge Base](https://lifterlms.com/docs/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale). #### I'm still stuck. Where do I go to file a bug or ask a question? Users of the free LifterLMS should post their questions in the plugin's WordPress.org forum. If you find you're not getting support in as timely a fashion as you wish, you might want to consider purchasing a [LifterLMS Pro license](https://lifterlms.com/product/lifterlms-pro/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale). If you're already a LifterLMS Pro user or you have purchased one of the LifterLMS themes or extensions, you're entitled to log into your account and contact the support team directly on the [LifterLMS website](https://lifterlms.com/my-account/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale). We can provide a deeper level of support here and address your needs on a daily basis during the work week. Generally, except in times of increased support loads, we reply to all comments within 12 business hours. #### LifterLMS is awesome! Can you set it all up for me? Yes. You can get an instant quote for the team at LifterLMS to set everything up for you through our signature Done For You service. Get an instant quote through our automated quote generation tool on the [LifterLMS website services page](https://lifterlms.com/dfy/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale). #### I'm interested in LifterLMS Pro, another LifterLMS extension, or a LifterLMS theme, but there are a few questions I've got before making the purchase. Can you help me get those addressed? Absolutely. If you're not finding your questions answered on the product pages, you can ask your presales questions through this [contact form](https://lifterlms.com/contact/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale). You can also connect live with a member of our team [here](https://lifterlms.com/contact/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale). #### What add-ons are available for LifterLMS, and where can I read more about them? You can find a full list of officlai LifterLMS Add-ons [here](https://lifterlms.com/store/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale) #### I have a feature idea. What's the best way to tell you about it? We care about your feature ideas and what you have to say. You can [request a feature](https://lifterlms.com/contact/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale), [vote on existing feature requests](?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale), and checkout the [product roadmap](https://lifterlms.com/roadmap/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale). #### I still have questions. Where can I find answers? Be sure you’ve taken the free tutorial training video course: [How to Create an Online Course with LifterLMS](http://demo.lifterlms.com/course/how-to-build-a-learning-management-system-with-lifterlms/?utm_source=LifterLMS%20Plugin&utm_medium=README&utm_campaign=Readme%20to%20Sale). == Screenshots == 1. LifterLMS Course Settings 2. LifterLMS Course Builder 3. LifterLMS Course 4. LifterLMS Achievements 5. LifterLMS Sidebar Widgets 6. LifterLMS Course Tiles 7. LifterLMS Sales Analytics 8. LifterLMS Lesson Completion Analytics 9. LifterLMS Membership Settings 10. LifterLMS Lesson 11. LifterLMS Certificate 12. LifterLMS Student Analytics 13. LifterLMS Creating and Engagement 14. LifterLMS Student Dashboard 15. LifterLMS Course Analytics == Changelog == = v3.7.7 - 2017/05/16 = ----------------------- + Updated a few strings on the admin panel to be translateable + Fix PHP warning output during plugin activation + Fix reporting issue related to outputting quiz question answers where the correct answer is the first available answer + Fix PHP 7.1 issue on the checkout screen + Removed some unnecessary files from vendor libraries = v3.7.6 - 2017/05/05 = ----------------------- + New translations for new categories on Add-ons screen + Update to general settings which utilizes featured items from the general settings screen + Update readme & related meta files + Removed advert image files = v3.7.5 - 2017/05/02 = ----------------------- + Upgrade WP Session Manager to latest version + Codestyle updates across most files in codebase to bring to most recent styling guidelines put forth by [WP Coding Standards](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards) = v3.7.4 - 2017/04/26 = ----------------------- + When cloned site detected automatically disable recurring_payments feature & trigger an action 3rd parties can hook into for custom 3rd party features + Add better JS dependency management to prevent issues where assets loaded in the wrong order + Fix issue where dismiss icon on LifterLMS admin notices was positioned poorly on non-LifterLMS admin screens + Fix issue preventing edit account form submission on student dashboard when password strength meter is disabled = v3.7.3 - 2017/04/21 = ----------------------- + Fixed issues where Course Track checks were not functioning properly with relation to prerequisite associations + `LLMS_Generator` can now be used to generate course(s) from a raw array of course data using the SingleCourseGenerator and BulkCourseGenerator + `LLMS_Generator` default post status can be set at runtime using `set_default_post_status()` + Fixed an issue causing JS errors on the `wp-login.php` screen + Tested up to WordPress 4.7.4 ### Template Updates + `course/prerequisites.php` - Prerequisite checks check for 'course_track' rather than 'track' = v3.7.2 - 2017/04/17 = ----------------------- + Resolved a JS errors on admin panel resulting from overly strict asset loading added in 3.7.0 = v3.7.1 - 2017/04/14 = ----------------------- + Fix php notice when no roles are selected for preview management feature = v3.7.0 - 2017/04/13 = ----------------------- **Preview Management** + All new view management for users to make editing content easier for course builders + Admins may customize the roles of users who can access view management + Qualifying users can view content as an enrolled student or a non-enrolled visitor + Default view allows users to bypass all restricitons (drip, membership, enrollment, and so on) for easy course navigation and management + Thanks to [@fabianmarz](https://github.com/fabianmarz) and the team at and the team at [netzstrategen](https://github.com/netzstrategen) for their assistance with this feature! **Improvements** + Edit Account Screen now utilizes updated APIs for better customization management + Improve intelligence of enqueued admin js & css files **Fixes** + Fixed coupon calculation issue related to currencies using commas as the decimal separator + Properly display track related information when reviewing engagements on the admin panel + fixed issue preventing course tracks from being recorded as completed = v3.6.2 - 2017/04/10 = ----------------------- + Fix issue preventing export of vouchers via email + added action `after_llms_mark_complete` to allow custom actions to happen after a course, lesson, etc... is marked complete = v3.6.1 - 2017/03/28 = ----------------------- + Fix issue related to taking a quiz for the first time when no quiz data is available for a user + Fix issue when course outline shortcode is displayed on non LifterLMS post types = v3.6.0 - 2017/03/27 = ----------------------- + Courses and Memberships now have settings to control their visibility in catalogs and search results. For more information visit the [knowledge base](https://lifterlms.com/docs/course-membership-visibility-settings/). + Courses are now a searchable post type. All existing courses will automatically remain excluded from search via new catalog visibility settings. New courses added after this date will be searchable unless the visibility is updated prior to publishing the course. + Added options (and filters) to allow customization of the order of courses displayed on the Student Dashboard + Existing behavior (ordered by enrollment date, most recent to least recent) will be preserved + New installations will default (by popular demand) to Order (Low to High) which will obey the "Order" settings of courses + Customize or update the order for your site by visiting LifterLMS -> Settings -> Accounts and changing the setting for "Courses Sorting" under "Account Dashboard" + New Shortcodes: + `[lifterlms_course_author]` - Display the Course Author's name, avatar, and (optionally) biography. [Info & Usage](https://lifterlms.com/docs/shortcodes/#lifterlms_course_author) + `[lifterlms_course_continue]` - Display a progress bar and continue button for enrolled students only. [Info & Usage](https://lifterlms.com/docs/shortcodes/#lifterlms_course_continue) + `[lifterlms_course_meta_info]` - Display all meta information for a course. [Info & Usage](https://lifterlms.com/docs/shortcodes/#lifterlms_course_meta_info) + `[lifterlms_course_prerequisites]` - Display a notice describing unfulfilled prerequisites for a course. [Info & Usage](https://lifterlms.com/docs/shortcodes/#lifterlms_course_prerequisites) + `[lifterlms_course_reviews]` - Display reviews and review form for a LifterLMS Course. [Info & Usage](https://lifterlms.com/docs/shortcodes/#lifterlms_course_reviews) + `[lifterlms_course_syllabus]` - Display the course syllabus. [Info & Usage](https://lifterlms.com/docs/shortcodes/#lifterlms_course_syllabus) + "Back" & "Next" pagination links on Student Dashboard View Courses are now buttons instaed of text links + Fixed an issue preventing pagination links from displaying on the "View Courses" page of the student dashboard when the endpoint slug was customized + Course and Membership taxonomy archive pages will now properly match the heights of tiles + Fixed typo in `lifterlms_get_enrollment_status_name` filter + Fixed typo in `lifterlms_get_order_status_name` filter + Reduced complexity and redundancy of `llms_get_enrolled_students()` = v3.5.3 - 2017/03/21 = ----------------------- + Ensure that access plan subscription schedule details are fully translateable + Ensure "Services" title on admin add-ons screen can be translated + Fix "View All My Courses" link on Student Dashboard to obey endpoint slug customizations + Membership restriction checks only run on singular posts (not on archives) + Ensure `[lifterlms_course_outline]` and Course Syllabus widget can be used on Quizzes. + Fix reporting widgets for course & lesson completions to report the correct completion types only = v3.5.2 - 2017/03/16 = ----------------------- + Fix course outline shortcode when used on a lesson + Fix custom html form fields produced by `llms_form_field()` = v3.5.1 - 2017/03/15 = ----------------------- + Lessons marked as incomplete will now display as incomplete in the course outline generated by the above Course Syllabus Widget and the course outline shortcode + Updated course outline shortcode / course syllabus widget to utilize new APIs + The template at `templates/course/outline-list-small.php` updated to reflect above changes. If you're overriding this template please review the changes and update accordingly + Fix issue preventing course auto advance on lesson completion + Shortcodes added within `[lifterlms_hide_content]` will now be processed = v3.5.0 - 2017/03/13 = ----------------------- + New course setting **Retake Lessons** allows students to mark lessons as "incomplete" after completing lessons. Admins may enable this site-wide setting under Settings -> Courses. + Course and Membership catalog per page settings will now only accept numbers + "Catalogs" settings tab has been split into "Course" and "Membership" settings + Settings added via filter `lifterlms_catalogs_settings` will be added to the "Course" settings tab and deprecated in the next major release + Default course and membership catalog courses per page changed to 9. Previous default was 10 which results in a 4th row on catalogs with only one item. + Tweaked size of LifterLMS admin tab menu items + Pass API Mode Context to links generated by LifterLMS payment gateways + Fixed typo on general settings screen + Moved LifterLMS Add-on Banners from General Settings to an Add-Ons menu + If required fields exist on checkout and are empty during free quick enrollment users will be redirected to the normal checkout page where they can enter required fields + Updated action scheduler lib to latest version. Minor changes, fixes compatibility with WooMemberships. + Recent activity stats widgets on general settings screen updated to be more reliable and accurate (and performant!) + Added 3 new widgets to enrollments reporting tab: courses completed, lessons completed, and user registrations = v3.4.8 - 2017/03/07 = ----------------------- + Tested to WordPress Version 4.7.3 + Fixed undefined index notice on admin panel + Added a real description to new `_nx()` functions + Access plan trial periods now allow proper translations = v3.4.7 - 2017/03/03 = ----------------------- + Ensure run when the `lifterlms_db_version` option doesn't exist in the database = v3.4.6 - 2017/03/03 = ----------------------- + Fixed a text domain typo preventing translation of "Correct Answer" on quiz results screen + Ensure access plan "periods" are translateable + Now using `date_i18n()` for certificate dates so that dates are properly localized + Load plugin textdomain during `init` rather than `plugins_loaded` = v3.4.5 - 2017/02/23 = ----------------------- + Ensure free access plans are available to logged out users = v3.4.4 - 2017/02/22 = ----------------------- + Added a popup to warn students when leaving a quiz they've already started + Enable removal of student quiz attempts by admins from student reporting screens + Fix an undefined error on quiz reporting screens for incomplete quizzes + Display incomplete (abandonded) quizzes as incomplete (instead of as still running) on the quiz reporting screen + Prevent logged in users from bypassing membership restrictions for free members-only access plans = v3.4.3 - 2017/02/20 = ----------------------- + Fix issue with bbPress integration so that forums restricted to multiple memberships allow users of at least one membership that the forum is restricted to access topics within that forum + Ensure that the correct ajax url is used for quizzes, resolves issue for sites utilizing `FORCE_SSL_ADMIN` + Refactored database background update scripts for increased reliability & performance + Database ugrdate 3.3.0 moved to 3.4.3 in order to accommodate users who were unable to run the 3.3.0 update, please read the [3.4.3 database update notes](https://lifterlms.com/docs/lifterlms-database-updates/#343) for more information. + WIP: refactoring shortcodes to a more sane set of functions and classes = v3.4.2 - 2017/02/14 = ----------------------- + Backwards compatible css for tooltips = v3.4.1 - 2017/02/14 = ----------------------- + Password strength meter now functions correctly when using the [lifterlms_registration] shortcode + Ensure open registration with required voucher prevents registration with invalid vouchers + Lesson completion via quiz completion only recorded the first time the quiz is completed + Fix issue preventing membership catalog from obeying the catalog's ordering settings + Prevent duplicate engagements from being triggered + Admin tables can display percentages as a progress bar! + Students reporting table displays overall progress as a progress bar + Refactored frontend assets class to allow better management of inline scripts = v3.4.0 - 2017/02/10 = ----------------------- + Enrollment for free access plans has improved based on your feedback. For more information see [https://lifterlms.com/docs/checkout-free-access-plans/](https://lifterlms.com/docs/checkout-free-access-plans/) + Updraded Student Management Table for courses and memberships: + Allow searching students by name / email + Allow filtering of students by current status + Allow sorting of students by name, user id, status, and enrollment updated date + Added student's grade to the table (courses only) + Table pagination allows skipping to the first and last pages + Student names link to full student reporting screen + Student IDs added to the table. ID links to the WP User Edit screen which was previously accessible by clicking the student's name + Utilizing improved database queries for displaying data on the table + One-click bulk enrollment of all current members of a membership into an auto-enrollment course. More info [here](https://lifterlms.com/docs/membership-auto-enrollment/#bulk-enrollment) + Students reporting table pagination can now jump to first and last page + Students reporting table pagination now displays current page and total number of pages + Added new class `LLMS_Student_Query` which is modeled, loosely, off of the `WP_User_Query` and allows for querying student data in relation to courses + `LLMS_Admin_Table` abstract now supports filtering and jump to first and last page pagination options + `llms_get_enrolled_students` now utilizes `LLMS_Student_Query` and resolves a bug where some users returned by this query would be returned with the incorrect status. + Ensure `LLMS_Course::has_prerequisite( 'course' )` & `LLMS_Course::has_prerequisite( 'track' )` always return booleans + Made a small performance tweak for courses without audio / video embeds + Fix coupon expiration dates check to be more i18n friendly + Update `LLMS_Coupon` class to utilize 3.3.0 class property enhancements + added `llms_current_time`, a pluggable wrapper for `current_time()` to enable easier unit testing of date-related functions + Shortcodes within course restriction messages are now handled properly to output their intend content rather than the raw shortcode + Ensure the Page Attributes area is available on lessons so WordPress 4.7 custom post type page templates can be utilized = v3.3.1 - 2017/01/31 = ----------------------- + Tested up to WordPress core 4.7.2 + Added new engagement triggers for Quiz completion, quiz failure, and quiz passed. + Refactored Lesson Completion for sanity + Added function `llms_mark_complete()` for simple programmatic completion of courses, sections, lessons, and tracks. See [usage docs](https://github.com/gocodebox/lifterlms/blob/master/includes/functions/llms.functions.person.php#L146-L162) for more information. + Class function `LLMS_Lesson::mark_complete()` has been staged for deprecation. It will still function but developers should update code to use above function. + LifterLMS background updaters will now display a progress report on the admin panel to add some transparency to how the update is doing. + Added `author` support to `llms_membership` post type + Added a way to remove all LifterLMS-generated data during plugin uninstallation. + `llms_get_post()` will now work with any LifterLMS Post Model post types + Removed references to `LLMS_Activate` class which was removed back in 2.0. + Changed include method to session related classes for better handling via phpunit + Refactored some of the `LLMS_Install` class for reliability and test coverage + Changed order of table and option creation during installation. Prevents a database warning from being thrown during installation. + Added funciton for retrieving default difficulty categories added during installation + Added function for removing default categories added during installation + `llms_are_terms_and_conditions_required()` ensure the page id used in this function is an absint + Removed redundant function `LLMS_Lesson::single_mark_complete_text()` + Add css classes for buttons to be auto-width rather than the width of their containers + Fix ID of engagement email class. Allows some filters and actions to actually be used. + Properly display quiz failures as failures on the quiz results screen + `loop/feature-image.php` now works for unsupported PHP 5.5 and down + Fix issue with modyfying section titles from within the course builder + Fix undefined warning resulting from admin notice "flash" being undefined on prexisting saved notices + Updated template at `templates/course/complete-lesson-link.php` to include a few new CSS classes and utilize `llms_form_field()` to standardize buttons = v3.3.0 - 2017/01/23 = ----------------------- + New course option allows displaying the video embed in place of the featured image on course tiles displayed on the course catalog screen + Courses can now be exported individually or in bulk. Export of a course includes all course content, sections, lessons, and quizzes. + Courses can now be duplicated. Duplication duplicates all course content, sections, lessons, and quizzes. + Upon completion of the Setup Wizard a sample course can be automatically installed. + Postmeta keys for Lessons and Sections which denote their relationship to their parents have been renamed for consistency, database upgrade 330 included in this release will rename the keys automatically. [Read more here](https://lifterlms.com/docs/lifterlms-database-updates/#330) + Update to `LLMS_Post_Model` to allow easier programmatic definition and handling of extending class properties + classes extending `LLMS_Post_Model` can now be serialized to json and converted to arrays programatically + new function `llms_get_post()` allows easier instantiation of an `LLMS_Post_Model` instance + Added LifterLMS Database Version to the system report = v3.2.7 - 2017/01/16 = ----------------------- + Fix float conversion of large numbers with relation to coupon price adjustments = v3.2.6 - 2017/01/16 = ----------------------- + Tested up to WordPress Core 4.7.1 + Fix the display of track-related engagements on the engagement admin screen + Fix float conversion of large numbers with relation to prices = v3.2.5 - 2017/01/10 = ----------------------- + New shortcode: `[lifterlms_pricing_table]` allows pricing table display outside of a course or membership. See [https://lifterlms.com/docs/shortcodes/#lifterlms_pricing_table](https://lifterlms.com/docs/shortcodes/#lifterlms_pricing_table) for usage information. + New shortcode: `[lifterlms_access_plan_button]` allows custom buttons for individual access plans to be created outside of a pricing table. See [https://lifterlms.com/docs/shortcodes/#lifterlms_access_plan_button](https://lifterlms.com/docs/shortcodes/#lifterlms_access_plan_button) for usage information. + ensure every return from `llms_page_restricted` is filtered. Thanks to @matthalliday + Ensure purchase page can only load for valid access plans + Course / Membership taxonomy archives now obey orders defined by their respective catalog settings + Fix language of automatic validation error message for numeric field types + Fix translation function error causing course syllabus to display incorrect "x of x" text + Added correct text domain to an i18n string displayed on the checkout confirmation screen, thanks @ymashev + Ensure search result pages are viewable by members and non members regardless of result membership restrictions (unless site is restricted to sitewide membership) = v3.2.4 - 2017/01/03 = ----------------------- + Fixed tooltips on lesson preview tiles (in course syllabus and on next/prev tiles inside lessons) to show the actual reason the lesson is inaccessible rather than always showing a generic enrollment message + Removed the language "You must enroll in this course to unlock this lesson" in favor of "You do not have permission to access to this content" as a restriction message fallback when no better message is available + "Quiz Results" title is now translateable + Removed deprecated JS file "llms-metabox-data.js" which controlled UI/X for 2.x subscription data on courses and memberships + Non LMS Content (pages, posts, forums, etc...) restricted to multiple memberships will now correctly allow users access to the content as long as they have access to at least one of the memberships + Fixed a redirect loop encountered if direct access to a lesson with an incomplete prerequisite was attempted = v3.2.3 - 2016/12/29 = ----------------------- + Progress and Grade are now sortable columns on the student reporting table + Make enrollment statuses translateable for courses and memberships on the Student Dashboard + "Sign Out" text on student dashboard is now translateable, thanks @yumashev + Fixed prerequisite lesson display on lesson post tables + Ensure post archive (blog) is visible regardless of post membership restrictions + Moved lesson post table managment functions to their own class + Unused section post table management functions removed = v3.2.2 - 2016/12/21 = ----------------------- + Adds filter `llms_student_dashboard_login_redirect` allowing customization of the redirect upon login via the Student Dashboard + Adds a shortcode parameter, `login_redirect` to `[lifterlms_my_account]` allowing customization of the redirect upon login via the Student Dashboard + Adds a new tool under "Tools and Utilities" on the LifterLMS Settings screen which allows users to clear the cached student overall progress and overall grade data + Fixes a compatibility issue with the OptimizePress live editor + Adds a text domain to a translation function where none was present, rendering the string untranslateable = v3.2.1 - 2016/12/14 = ----------------------- + Fix operator position on `is_complete` check = v3.2.0 - 2016/12/13 = ----------------------- ##### LifterLMS Reporting Beta + Students overview displays broad information about your students in a searchable and sortable table + Review data about individual students including: + Membership enrollments and statuses + Course enrollments, status, and progress + Quiz attemtpts and and their submitted answers + Earned achievements and certificates + Sales and Enrollments analytics are now found under the "Reporting" screen + Feedback on the beta? Let us know at [https://lifterlms.com/docs/lifterlms-reporting-beta/](https://lifterlms.com/docs/lifterlms-reporting-beta/) ##### Other Updates & Fixes + Lesson completion checks now look for at least one record of the completed lesson as opposed to looking for exactly one + Fix positioning of teacher avatar on course/membership tiles + Remove explicit color definition from Student Dashboard navigation links for greater theme compatibility = v3.1.7 - 2016/12/06 = ----------------------- + Added support for WordPress Twenty Seventeen theme + Improved the messaging and functions related to LifterLMS Sidebar support + Add alternate language for a quiz requiring 100% grade to pass + Added CSS class `.llms-button-primaray` to lessom "Mark as Complete" buttons + Add box-sizing css rule to LifterLMS form field elements. Fixes layout issues on themes that don't border-box everything. + Fix an issue that prevented the admin notice to enable/disable recurring payments from clearing when a button was pressed from screens other than the LLMS Settings screen + Fix next payment date error when viewing a cancelled recurring order on the student dashboard + Recurring payments now scheduled based on UTC time in accordance with the action scheduler which executes based on UTC rather than site timezone + Add existing lesson to course modal now relies on async search. Improves performance and prevents timeouts on sites with a 500+ lessons + Removed 2.x -> 3.x update notification message + Fix an issue with comment counting on PHP7 + Updated action scheduler library to latest version = v3.1.6 - 2016/11/11 = ----------------------- + Handle empty responses on analytics more responsibly + Fix typo preventing completed orders from displaying in analytics when using course / membership filters + Quiz builder now leverages llmsSelect2 rather than select2 directly. Resolves a number of theme and plugin compatiblity issues. + Prevent bullets and weird margins on LifterLMS notices with slightly more specific CSS + Login error messages will now display regardless of whether or not open registration is enabled + Attempts to access quizzes are redirected or error messages are output when student is not enrolled. = v3.1.5 - 2016/11/10 = ----------------------- + Fix Month display on Analytics Screen = v3.1.4 - 2016/11/10 = ----------------------- + Progress bars are sligthly more intelligent to prevent a widowed "%" on themes with larger base font sizes + LifterLMS Merge code button only displays where it's supposed to now + Fix issue where users removed from a membership were not properly removed from courses they were auto-enrolled into because of that membership + Fix analytics screen JS parsing error = v3.1.3 - 2016/11/04 = ----------------------- + Added new action hooks to the course syllabus widget/shortcode template + Added a small text link on the student dashboard which links to the full courses list of the dashboard + Display order revenue for legacy orders instead of 0 + Make the Order History table on the Student Dashboard responsive + Only display _published_ courses on the student dashboard + Fixes a conflict with WP Seo Premium's redirect manager which was creating access plan redirects + Reenable course review options on the admin panel + Updates review output method so reviews are now output via a removeable action = v3.1.2 - 2016/10/31 = ----------------------- + Update all course and lesson templates to rely only on `global $post` rather than on `$course` and `$lesson` globals which are working inconsistenly across environments + Fix typo related to the line-height of LifterLMS order notes on the admin panel. Thanks [@edent](https://github.com/edent)! = v3.1.1 - 2016/10/28 = ----------------------- + Shortcode `[lifterlms_hide_content]` has some new functionality. See [documentaition](https://lifterlms.com/docs/shortcodes/#lifterlms_hide_content) for usage and more information! + Fix logic when determining if terms and condition checkboxes should be displayed on checkout & open registration. + Define a placeholder on the Terms & Conditions page selection so it can be removed + Explicitly declare `LLMS_Lesson` on lesson audio/video embed templates instead of relying the global `$lesson`. Some environments appear to be losing the global. + Removed unused lesson template "full-descritpion" = v3.1.0 - 2016/10/27 = ----------------------- + New engagement triggers available to allow engagements to be fired when a student enrolls into a course or membership! + Add custom email addresses for to, cc, and bcc when sending email engagements + New Merge Code button for easy merging of custom merge codes when creating emails + Added post table data for LifterLMS Engagements + Added new filter `llms_email_engagement_date_format` which allows customization of the format of the `{current_date}` merge code availabe in LifterLMS Emails + Added explicit max width declaration to images within LLMS Catalogs to prevent image overflow. Fixes some theme compatibility issues. + Optimize course and lesson audio video templates for faster loads + Fix course & lesson video to load videos instead of duplicating audio embeds + Fix coupon usage query so that coupons cannot be used more than the maximum number of times. Also now displays the correct number of coupons used on the coupons post table. + Fix LLMS Engagement Email merge codes to work in subject line = v3.0.4 - 2016/10/20 = ----------------------- + Added shortcode `[lifterlms_login]` so the login form can be displayed. Information usage at [https://lifterlms.com/docs/shortcodes/#lifterlms_login](https://lifterlms.com/docs/shortcodes/#lifterlms_login) + Added internal function `LLMS_Student->get_name()` + Three basic course difficulties will be automatically created on installation and upgrades + Updated course difficulty save methods to rely only on the taxonomy rather than the taxonomy and postmeta table + Updated admin settings screens to only flush rewrite rules on screens where it is necessary to update rewrites + Fix issue with customization of LifterLMS account endpoint URLs + Fix a conflict with [Redirection](https://wordpress.org/plugins/redirection/) url monitoring that was causing redirects to be created from Courses and Memberships to the site home page automatically whenever updating the post + Fix an undefined index warning on courses / memberships when updating post data + Remove confusing and invalid warning message from Membership post screen on admin panel = v3.0.3 - 2016/10/17 = ----------------------- + Added filter `llms_show_preview_excerpt` which can be used to hide the excerpt on course syllabus or next/back preview tiles in lesson navigation + Fix logic so that only free lessons are marked as free lessons post 3.0 upgrade + Fix incorrect display of the "restricted" and "non-restricetd" content areas for memberships + Fix undefinded index warning output by membership metaboxes + Fix dead like under "Force SSL" checkout setting + Course & Membership tiles output by course or membership shortcodes now automatically match column heights like the default catalogs do. + Correctly register students as the "Student" Role + Database Upgrade script converts users with the role "studnet" to "student" = v3.0.2 - 2016/10/14 = ----------------------- + Added action `lifterlms_before_student_dashboard_tab` + Added action `lifterlms_after_student_dashboard_greeting` + Added action `lifterlms_after_student_dashboard_tab` + Added action `lifterlms_sd_before_membership` + Added action `lifterlms_sd_after_membership` + Fix membership shortcode + Fix issue that prevented "Student Dashboard" from rendering if the page was set as the child of another page + Fix undefined function error in admin notices + Fix nonce errors resulting from admin notice html being served from the database rather than being dynamically generated + Fix db ugrade script which was enabling course time period for restrictions for all courses regardless of their pre 3.0 restriction settings + Fix db uprgade script that was causing empty sale dates to show start of unix epoch b/c they were empty strings + Fix Javascript parse error prevnting section & lesson editing from within the course outling on the admin panel + Fix lesson icons from highlighting lesson settings like drip delay & quiz association + Updated course outline color scheme to match the 3.0 admin color scheme overhaul + `LLMS_Lesson::get_assigned_quiz()` will output depecation warnings for those using debug mode. LLMS core no longer uses this function and will be deprecated in the next major release. + Handle enrollment status of legacy orders based on enrollment rather than enrollment AND order status = v3.0.1 - 2016/10/13 = ----------------------- + Properly prefix `llms_is_ajax()` to prevent 500 errors when leaving HTTPS forced checkout screen + Fix student unenrollment from memberships which was leaving a trace of enrollment in the user_meta table + Update student dashboard nav list items to have more specific no styles to prevent "double discs" on various themes + Return course progress bar and "continue" button which was accidentally removed + Added core support for "Divi" theme sidebars = v3.0.0 - 2016/10/10 = ----------------------- **This is a massive update which _breaks_ backwards compatibility for many LifterLMS features. A database migration is also necessary for upgrading users to reformat certain pieces of information which are being accessed differently in 3.0.0** **We strongly recommend that you backup your website before upgrading and, if possible, test LifterLMS 3.0.0 in a non-public-facing testing environment to ensure compatibility with your theme and other plugins and to ensure that 3.0.0 changes do not adversely affect your existing website.** **Please thoroughly read the following changelog and, if necessary, submit support tickets or post in the forums with any questions _prior_ to upgrading. LifterLMS Support _cannot_ and _will not_ manually resolve migration issues which may arise from upgrading to 3.0.0.** + New shortcodes to be documented later, checkout "includes/class.llms.shortcodes.php" if you're feeling anxious + All kinds of CSS changes to make LifterLMS, in general, be a little less old looking + Added a number of CSS classes to various areas in the Checkout template at "templates/checkout/form-checkout.php" + Added a "Cancel" button that allows you to hide the coupon form if the user decides not to add a coupon + Removed jQuery animations from the coupon form toggle in favor of a CSS class toggle. If you decide you want some animations on the form add some CSS transitions to the `.llms-coupon-entry` element (and children) to change when the class `.active` is added or removed from the element. + Refactored JavaScript related to LifterLMS Checkout. Improvements are minimal (if any) but the file is now smaller and more readable! Yay code stuff. + Fixed some redundant text on single payment confirmation screen. ("Single payment of single payment of") + Added a link to memberships listed under "My Memberships" on the LifterLMS Account Screen + LifterLMS Order posts have been renamed in the database from "order" to "llms_order" to prevent any potential conflicts with other plugins. Automated database migration will handle the renaming of old orders. + Fixed undefined variable notice generated by Sections without any lessons inside of them + renamed function `add_query_var_product_id()` to `llms_add_query_var_product_id()` + added a class for interacting with a course TRACK, instatiated by a track term or term_id (`LLMS_Track`) + password strength meter and related settings / options via utilizing WordPress password strength functions available + cleaned up the lesson locked tooltips to be a bit more sane and also utilized in course navigation on individual lessons. + Updated admin menus for LifterLMS content to be more sane and organized and intuitive and so on and so forth ##### Payment Gateways **NOTE: at this release, LifterLMS PayPal is the only payment gateway that will work with this release. We haven't started working on Stripe 4.0.0 which will work with LifterLMS 3.0.0** + Payment gateways powered by a new abstract gateway class + PayPal has been removed from LifterLMS and is available as premium extension ##### Frontend Notices + LifterLMS "Notices" have been rewritten, slightly. + Most templates have been updated + associated CSS has been updated + Some sanity has been added to the related functions ##### Post "Model" Concept / Overhaul Updated classes for programmatically accessing all sorts of data related to custom post types registered by LifterLMS. These post types currently include: + Access Plans -- a non-public post type associated with courses and memberships which store payment related information + Coupons (replaces includes/class.llms.coupon.php) + Courses (replaces includes/class.llms.course.php) + Lessons (replaces includes/class.llms.lesson.php) + Memberships + Orders (replaces includes/class.llms.order.php + Products -- can be instantiated from courses or memberships (replaces includes/class.llms.product.php) + Transaction -- a non-public post type associated with orders which store completed/attempted transaction data ##### Improved admin metabox methods (and related) + Updated custom LifterLMS Admin Metaboxes to have a more sane programmatic interface. This affects nearly all admin metabox classes in the plugin. + A set of methods and classes have been added to improve the programmatic interface around custom post type post tables. These can be found in "includes/admin/post-types/post-tables" ##### Coupons + New class `LLMS_Coupon` allows for easy getting & setting of coupon data. + Updated coupon post table to include relevant coupon information for all coupons at a glance + Refactored admin panel coupon metabox generation to utilize new model for saving data + Added translation functions to all strings in coupon settings screen + Added new coupon settings + _Expiration Date_ -- coupons cannot be applied to a purchase after the expiration date + _Payment Type_ -- coupons can only be applied to either single or recurring payment plans. Existing coupons will be treated as single payment coupons until updated by the Admin. + _First Payment Discount_ -- Applies only to recurring payment coupons. Determines the discount applied to the first payment of a recurring payment transaction. + _Recurring Payments Discount_ -- Applies only to recurring payment coupons. Determines the discount applied all payments (other than the first) of a recurring payment transaction. + _Description_ -- Record internal notes for a coupon visible only by admins on the admin panel + The "Coupon Code" field has been removed in favor of the WordPress Coupon Post Title being utilized as the code. After upgrading, an automated database migration will move all coupon code fields to the title. The title previously functioned as the coupon description. During the migration the existing title will be moved to the new description field. ##### Orders + Added Order Statuses + Completed - Single payment only. Denotes a sucessful transaction + Active - Recurring only. Denotes the subscription is active with no issues + Expired - Recurring only. Denotes the subscription has ended and is no longer active + Refunded - Denotes the order has been refunded. + Cancelled - Denotes the order has been cancelled manually by an admin. + Failed - Denotes payment has failed. For subscriptions a failed payment will switch from "active" to "failed" + Pending - Denotes that the order has been created but payment has not been completed yet + Admin panel order table new features: + The following columns are now sortable in ascending and descending orders: Order, Product, and Date + Added totals based on order type (single or recurring) to the "Total" column + Added an order status column for quick status review + Order notes available for internal and system notes. powered by WP comments. lots of inspiration (and code) from WooCommerce, thank you <3 + Added a bunch of currency settings (as well as right-side currency and decimal-less currency support!) ##### New Templates + __Pricing Table__ at "templates/product/pricing-table.php" utilized by courses and memberships for displaying access plan information. Replaces "templates/membership/purchase-link.php" and "templates/course/purchase-link.php" + __Course Taxonomy Templates__ at "templates/course/categories.php", "templates/course/tags.php", and "templates/course/tracks.php" display comma separated lists for course custom taxonomy terms + __Course Prerequisite Template__ at "templates/course/prerequisites.php" displays prerequisite information (course and tracks) for a given course. + __Meta Wrapper__ templates at "templates/course/meta-wrapper-end.php" and "templates/course/meta-wrapper-start.php" wrap some HTML around various meta data output about a course + Significantly updated checkout process with all kinds of new templates including: + templates/checkout/form-gateways.php + templates/checkout/form-summary.php + __Unified "Lesson Preview"__ at "templates/course/lesson-preview.php" displays "buttons" in course syllabus (on course page) and in course navigation (on lesson pages) + Various template hook priority changes in order to make adding content between default LifterLMS areas easier ##### Deleted Templates + templates/checkout/form-checkout-cc.php + templates/checkout/form-pricing.php ##### New & Updated Admin Interfaces & Templates + Significantly improved, changed, or brand new templates for metaboxes for various post types: + templates/admin/post-types/order-details.php + templates/admin/post-types/order-transactions.php + templates/admin/post-types/product-access-plan.php + templates/admin/post-types/product.php ##### New Functions + `llms_confirm_payment_url()` - Retreive the URL used for confirming LifterLMS Payments + `llms_cancel_payment_url()` - Retreive the URL users are directed to when cancelling a payment ##### Install Script + Removed some legacy default options that were being created and are no longer required for new installations. + Removed unused `update_courses_archive()` function & related hook ##### Select2 Now utilizing a forked version of Select2 to prevent 3.5.x conflicts we've been plagued with ##### Deprecated + Removed filter `lifterlms_get_price_html`, use `lifterlms_get_single_price_html` instead + Removed unused `LLMS_Product->get_price_suffix_html()` function + Removed `LLMS_Product->set_price_html_as_value()` because we didn't like it anymore, don't use anything instead. + Removed `add_query_var_course_id()` function + Removed `displaying_sidebar_in_post_types()` function with the `LLMS_Sidebars::replace_default_sidebars()` function + Filter `lifterlms_order_process_pending_redirect` has been replaced with `lifterlms_order_process_payment_redirect` + Action `lifterlms_order_process_begin` has been deprecated + Removed `lifterlms_order_process_complete` action + Replaced `LLMS_Course::check_enrollment()` with various new utilities. See `llms_is_user_enrolled()` for fastest use. + Officially removed the `LLMS_Language` class + Officially removed the `PluginUpdateChecker` class stubs we created to prevent updating issues with LifterLMS extensions during our transition to 2.0.0. This library has caused nothing but pain for everyone on our team and many of our users. It's gone now, forever. + Removed function `lifterlms_template_single_price()` and replacted with `lifterlms_template_pricing_table()` + Removed templates at "includes/course/price.php" and "includes/membership/price.php" in favor of "includes/product/pricing-table.php" + Removed `LLMS_Person::create_new_person()` in favor of `LLMS_Person_Handler::register()` or `llms_create_new_person()` + Removed `LLMS_Person->set_user_login_timestamp_on_register()` and are simply adding the metadata during registration + Removed `lifterlms_register_post` action hook which fired after new user registration validation, this has been replaced with `lifterlms_user_registration_after_validation` + Removed `lifterlms_new_person_data` and `lifterlms_new_person_address` filters, replaced with `lifterlms_user_registration_data` + Removed `LLMS_Person::login_user()` in favor of `LLMS_Person_Handler::login()` + background updater + system report facelift + inclusion of all new settings via `LLMS_Data` class + Fix setup wizard styles to follow update admin panel styles + add links to last step of setup wizard for documentation and demo + removed a bunch of deprecated coupon-related functions + added a "force ssl" option to ensure checkout is secured + added settings and options around recurring payments and staging sites to prevent duplicate charges when testing on a cloned site + Check course restrictions automatically when checking lesson + Added user_id to all access function checks to allow for checks for non current user + course restriction messages display regardless of enrollment status + check memberships and lock purchase of members only access plans + Fixed titles of course closed and open messages on the course restrictions options + record a start date for access plans based off when order mobes to complete or active for the first time + automatically expire limited access plans + gave a quick facelift & unification to a lot of admin panel elements + Color consistency updated according to LLMS brand guide + Unified frint and backend button classes + Updated all frontend buttons to have consistent classes + Removed the "FREE" lesson SVG in favor of simple text which allows translating + Install & activation overhauls. Resolves [#179](https://github.com/gocodebox/lifterlms/issues/179) + jQuery MatchHeight lib unignored + A bunch of settings pages updated and a bunch of settings deprecated + Gateways setting page removed + Memberships & Courses page combined into "Catalogs" settings + Added a data getting class used by the tracker class + added a new page creation function witn better intelligence that (hopefully) prevents duplicate pages from being created during core page installation + new default country setting + all order status changes recorded as order notes + pending orders can be completed after failed payments + better handling for gateways with fields + JS spinners support multiples via start & stop! + Updated (and semi-finished) analytics + achievemnt metabox converted + minor updates to voucher class + Added a "post state" visible on the Pages posts table identifying if the page is saved as a LifterLMS page (EG: Checkout Page) + Fixed copy/paste error of duplicate enrollment closed message on course restrictions tab + Removed WC integration in favor of WC + Upgade "back to course" template to new lesson API + Renamed `course/parent_course.php` to `course/parent-course.php` for template naming consistency + use `strict` when auto generating usernames when creating from email addresses, resolves [#182](https://github.com/gocodebox/lifterlms/issues/182) ##### 3.0.0 Auto Upgrader + lots of postmeta data rekeyed + intelligently generated defaults for various peices of new meta data on courses, lessons, and memberships + automatically generate access plans from existing course and membership data + update existing orders to pull semi-accurate data into analytics based on new database structure + cleans database of a ton of deprecated options and postmeta data ##### Deprecated + function `llms_is_user_member()`, use `llms_is_user_enrolled()` instead + function `llms_check_course_date_restrictions()` + function `quiz_restricted()` + function `membership_page_restricted()` + function `is_topic_restricted()` + function `llms_get_post_memberships()` + function `llms_get_parent_post_memberships()` + function `parent_page_restricted_by_membership()` + function `outstanding_prerequisite_exists()` + function `find_prerequisite()` + function `llms_get_course_enrolled_date()` + function `llms_get_lesson_start_date()` + function `lesson_start_date_in_future()` + function `page_restricted_by_membership_alert()` + function `llms_does_user_memberships_contain_course()` + class `LLMS_Checkout` + function `LLMS()->checkout()` ##### Auto Enrollment + Course auto enrollment for Memberships has been restored + Works exactly the same as previously except auto-enrollment is not dependent on a course "belonging to" the membership via membership restrictions. This is because membership restrictions no longer apply to courses ##### Analytcis + Charts! I'm really excited about this. I know we still need more data but please say nice things to me, I worked really hard on these little charts. + Updated styles & interface ##### bbPress + Restrict individual forums (and their topics) to LifterLMS Membership levels ##### BuddyPress + Fixes broken course display on bp profile + Adds memberships subpage to bp profile ##### notices + Admin notices class for managing admin notices, it's pretty neat! ##### Student Management on Courses and Memberships + All new and improved student management interface for managing student enrollments from courses and memberhips ##### Deprecated + filter: `llms_meta_fields_course_main`, replace with `llms_metabox_fields_lifterlms_course_options` ##### Manual Payments + Manual Payment Gateway can now be enabled on the frontend! + When a manual payment is recorded the user will be redirected to a view order page where they will be prompted to make a manual payment + Define the payment instructions on the admin panel "Checkout Settings" + Once you verify payment, head to the pending order and hit the "Record a Manual Payment" button to record the transaction + Upon recording the order status will be upgraded to "Complete" and the user will be enrolled automatically ##### Student Dashboard Upgrades + More sane template hooks and functions + Pagination on Courses endpoint (view only a preview on the mian dashboard) + Orders history & view orders screens! Deprecated options (and related functons where applicaple) for the following course & membership options: + `lifterlms_button_purchase_membership_custom_text` + `lifterlms_course_display_outline_lesson_thumbnails` + `lifterlms_course_display_author` + `lifterlms_course_display_banner` + `lifterlms_course_display_difficulty` + `lifterlms_course_display_length` + `lifterlms_course_display_categories` + `lifterlms_course_display_tags` + `lifterlms_course_display_tracks` + `lifterlms_lesson_nav_display_excerpt` + `lifterlms_course_display_outline` + `lifterlms_course_display_outline_titles` + `lifterlms_course_display_outline_lesson_thumbnails` + `lifterlms_display_lesson_complete_placeholders` + `redirect_to_checkout` In all scenarions either a `add_filter` (returning false) or a `remove_action()` can be used to replicate the option. v3.0.0-beta.4 - 2016/09/01 ------------------------------ + fix issue with course prereq checks + next payment due date visible on order admin view + trial end date visible on order admin view ##### Free Access Plans + "Free" access plans now defined as such based on a checkbox rather than by entering 0 into the price + Only single payment access plans can be free (a free recurring payment makes no sense but we can certainly discuss this if you disagree with me) + trials are disabled with free plans (because trials only apply to recurring plans) + sales are disabled for free access plans ##### Checkout Form JS API + unified JS checkout handler + allows extensions to enqueue validation or pre-submission JS functions that should run prior to checkout form submission ##### Manual Payment Gateway + handles purchase of access plans marked ar FREE & orders that are discounted to 100% via coupons ##### Open Enrollment + Open Enrollment allows users to register on the account dashboard without purchasing a course + Voucher settings are available to customize whether vouchers should be optional or required during open registration + Better error reporting around voucher usage during enrollment ##### Deprecated Functions + `llms_get_coupon()` + `get_section_id()` + `check_course_capacity()` ##### Quizzes + Updated admin metaboxes to use new metabox abstract class + display 0 instead of negative attempts on quiz summary + updated logic in start button template ##### Emails (for engagements) + Admin metabox updated to new API + Postmeta data migration: + `_email_subject` renamed to `_llms_email_subject` + `_email_heading` renamed to `_llms_email_heading` = v2.7.12 - 2016/09/22 = ------------------------ + Added a new filter on content returned after port permission checks + Added additional information to plugin update message in preparation for major 3.0 release + Updated plugin contributor metadata = v2.7.11 - 2016/07/22 = ------------------------ + Removed a duplicate action hook on course archive loop. + Switched registration template include to use a more sane function + Added updated banner adds with prettier ones. Wooooooo. = v2.7.10 - 2016/07/19 = ------------------------ + Fix undefined noticed related to LifterLMS custom post type archive filtering + Fix filter which was supposed to allow custom engagment types to be queried & triggered by engagements automatically but was passing data incorrectly = v2.7.9 - 2016/07/11 = ----------------------- + We are now properly storing delayed engagment trigger data. + Fixed an issue with our engagment query functions that caused, in very rare circumstances, the extra engagements to be triggered during an engagment trigger due to a lack of specificity in our query + Fixed an undefined property notice related to email engagments when the email had no subject or header + Fixed a typo in the description of a translation function. + Added an engagment debug logging function. You can log all sorts of data related to engagements by adding `define( 'LLMS_ENGAGEMENT_DEBUG', true );` to your `wp-config.php` file. + Allow course title shortcode to be used on course pages (and quizzes too). Documentation incorrectly said it was available on courses so we've fixed the function to allow for use on courses. = v2.7.8 - 2016/07/05 = ----------------------- + Bugfix: Restore access to quiz results on quiz completion = v2.7.7 - 2016/07/01 = ----------------------- ##### Russian + LifterLMS is now 100% Translated into Russian thanks to our new Russian Translation Editor [@kellerpt](https://profiles.wordpress.org/kellerpt/) ##### l18n + All transition messages between questions during a Quiz are now translatable. + LifterLMS subpages below the LifterLMS icon on the admin panel will now always display regardless of how you've chosen to translate the menu items. Hopefully puts to rest a long-standing i18n issue. ###### Bug fixes + Attempting to access a quiz when not enrolled in the associated course and having not properly started the quiz now results in a useful error message rather than a PHP warning. + We've adjusted the way we're adding a admin panel "seperator" to reduce conflicts with other plugins that have menu items with the same position as our seperator (51). + Added new logic to display an error message (instead of nothing) if there's an error during question loading. + Resolve issue with course progress bar when added to a quiz sidebar (assuming your theme has sidebar support on your quizzes). + Updated version number in the changelog for last version (it was supposed to be 2.7.6) = v2.7.6 - 2016/06/28 = ----------------------- + Students manually removed by Memberships by using the "Students" tab of a LifterLMS Membership will now be fully removed from the membership. + Updated a few time-related strings to be l18n friendly. These items were all around Quiz time reporting and quiz time limits. + Updated testing information, tested up to WP 4.5.3 + Fixed date of last release on changelog. It had the wrong date. Does that really matter? + Updated readme.txt description area, we have a new youtube video! Yassss. = v2.7.5 - 2016/06/13 = ----------------------- ##### New features + Added an "id" parameter to both LifterLMS Courses and LifterLMS Memberships shortcodes ##### i18n + Allow date translation on quiz results screen by using `date_i18n()` instead of `date()` + Allow date translation on my courses screen by using `date_i18n()` instead of `date()` + Ensure course status "Enrolled" is translatable on my courses screen ##### Fixes + Thanks to [@kjohnson](https://github.com/kjohnson) who fixed undefined index warnings & errors which occurred when viewing the last lesson in a section when the next section contained no lessons. + Resolved an issue where formatting for "Restricted Access Description" course content would not display proper formatting. + Fixed an issue with the "FREE" stamp for a free lesson caused layout issues. + Removed the "is-complete" css class from incorrectly being added to lesson preview tiles for free lessons + Fix an escaping issue when rendering Course titles inside LifterLMS notices. Prevents "\'s" from displaying when "'s" should be displaying (and similar issues). = v2.7.4 - 2016/05/26 = ----------------------- + Fixed a bug with the new localization methods from 2.7.3 + Removed bundled it_IT translation files in favor of official language pack available at [https://translate.wordpress.org/projects/wp-plugins/lifterlms/language-packs](https://translate.wordpress.org/projects/wp-plugins/lifterlms/language-packs). + Removed bundled en_US translation files because LifterLMS is in English so the files are unnecessary. + Fixed a few mis-labled filters applied when registering LifterLMS Custom Post Types + Adjusted the default supported features of LifterLMS Quizzes and Questions + Quizzes now support custom fields as per user request + Commenting, thumbnails, and excerpts are no longer "supported" as they were never intended to be and were never correctly implemented. + If you are relying on any of these features for your quizzes or questions please use the following filters to re-implement these features: `lifterlms_register_post_type_quiz` or `lifterlms_register_post_type_question`. These will allow you filter the default arguments LifterLMS passes to the WordPress function `register_post_type()` = v2.7.3 - 2016/05/23 = ----------------------- + Added a separate filter for login redirects `lifterlms_login_redirect` and added the user_id as a second parameter available to the filter + Added second parameter to `lifterlms_registration_redirect` to allow access to the registered users's user_id + Fixed a timestamp conversion issue on Course sale price checks that caused indefinite sales (those with no date restrictions) to appear not on sale during certain periods of time. The period would differe depending on the server's timezone settings and the time of visit. + Added a "Pointer" when hovering quiz summary accordion to allow for a slightly more obvious user experience that the elements are expandable. + Added some new localization methods to ensure strings that only appear in Javascript files will be translator friendly. This initially fixes a few issues on the Quiz Summary page and during quiz taking where strings only appeared in Javascript and were, therefore, completely inaccessible to translators. = v2.7.2 - 2016/05/19 = ----------------------- + In course syllabus widget & shortcodes free lessons will now be clickable links. + Record `llms_last_login` timestamp in usermeta when a user registers. = v2.7.1 - 2016/05/09 = ----------------------- ##### Enrollment & Voucher Checks + Enrollment functions will now automatically check to ensure that users are not already enrolled in a course or membership before enrolling. This addresses an issue which would create double enrollment for user redeeming a voucher for a product they were already enrolled in. + Vouchers will now automatically check to see if the user has already redeemed this voucher before allowing the user to redeem it. This would have caused multiple enrollments and would allow one user to eat up an entire voucher by using it over and over again for funsies. A voucher can now *only* be redeemed once by a user as intended. + `llms_is_user_enrolled()` now allows developers to check membership enrollment. Previously this function would only check enrollemnt of Courses despite what the documentation stated. ##### Translation + 3 strings have had translation functions added to them. This makes LifterLMS voucher reemptions translatable! ##### Bugs & Fixes + Fix javascript dependency & enqueueing issue on admin panel which prevented LifterLMS settings from saving correctly in various places + Removed inline CSS from "next lesson button" on quiz completion / summary screen. This was overriding some default styles and making the button very thin and gross. = v2.7.0 - 2016/05/05 = ----------------------- ##### LifterLMS Custom User Fields Exposed + Custom fields added during registration via LifterLMS account settings are now exposed on the admin panel via the student's WordPress user profile + All custom fields that are available (billing and phone) are editable on the WordPress user profile by anyone with profile edit access regardless of LifterLMS settings. If the settings are disabled (eg not required for registration) you can still add this information manually to a user's profile. This is useful if you require the information and then disable it later, you would still be able to access the information on the admin panel but would no longer be required for user's during registration. + A few new filters added to help developers customize the experience here. Check out the documentation at [https://lifterlms.com/docs/lifterlms-filters/#admin-user-custom-fields](https://lifterlms.com/docs/lifterlms-filters/#admin-user-custom-fields) ##### Membership Manual Add & Remove Student Functions + Duplicated "Students" tab from the Course admin screen to Memberships + Students can be manually added to a membership by an admin + Students can be removed manually from a membership by an admin ##### Updates + Added the ability for students to edit their phone number via their account settings page if the phone number registration option is enabled on the site. ##### Fixes + Fixed a few spelling errors on LifterLMS admin panel order screens + Fixed a typo on meta data for LifterLMS admin created (manual) orders = v2.6.3 - 2016/05/02 = ----------------------- + Removed redirecting action from WooCommerce integration that was causing issues on mutliple product purchase checkouts with larger databases. + Added a new payment action `lifterlms_order_complete` which runs at the same time as some previous actions during payment processing but servers a different purpose. This is mostly in preparation for a forthcoming AffiliateWP integration. + Fixed an issue with LifterLMS certificate background image that caused the wrong dimensions to be returned when outputing a LifterLMS certificate background image = v2.6.2 - 2016/04/27 = ----------------------- + Fix class conflict in collapsible course outline widget template which caused some UX issues. + Added new filters run during course & lesson sidebar registration to allow customization of LifterLMS sidebars + `lifterlms_register_course_sidebar` + `lifterlms_register_lesson_sidebar` + Removed a stray logging function. + Cleaned up some undefined variable warnings & notices on the quiz summary template + Fixed an issue appearing when registering users did not submit the optional phone number which caused a PHP notice + LifterLMS Orders generated by WooCommerce will now have a payment method of "WooCommerce". This also addresses an undefined notice produced during WooCommerce order completion because a LifterLMS Payment Method wasn't being defined. = v2.6.1 - 2016/04/26 = ----------------------- + Fix class conflict in collapsible course outline widget template which caused some UX issues. = v2.6.0 - 2016/04/25 = ----------------------- ##### Collapsible Course Outline Widget + By request we've added an option to make your course outline widgets collapsible! + View feature [Documentation](https://lifterlms.com/docs/course-syllabus-widget/) + New translations available related to feature. I think it's 4 strings. ##### Bug Fixes + Removed an unused CSS selector that caused some issues on the admin panel. This resolves an issue identified with the Page Builder by SiteOrigin plugin. The selector was very generic (`.title`) and may have caused issues with other themes or plugins using that class. + Resolved an issue that prevented post update, save, and publishing messages for core post types (posts, pages) from displaying properly. = v2.5.1 - 2016/04/22 = ----------------------- + Fixed session handler initilization as it was being initialized prior to user data availability. + Staged `LLMS_Language` class for deprecation in favor of WordPress translation functions `__()`, `_e()`, etc... **If you're a developer you'll start seeing warning's on screen or in your logs if you're using this function, it will be completely removed in the next MAJOR release (3.0.0)** + Added a new function to handle the deprecation warning above (`llms_deprecated_function`) and now that we have this function we'll start deprecating all the things. Just kidding, or am I? + This gives translators access to 69 new strings that were previously untranslatable! However, this number might be innacurate +/- 5 strings. I only counted it once and I don't feel like the exact number is important enough for a recount to ensure accuracy. /shrug = v2.5.0 - 2016/04/15 = ----------------------- **Admin Panel Order Table Updates** + Several visual improvements to the table + Exposed the following fields on the table + Order number + Customer name (with a link to their WP profile) + Customer email (mailto link) + Payment gateway used (this is filterable per gateway as well so gateways can improve the functionality here in the future) + Added a link to the product edit page from the product column + Free orders will now display as "Free" as opposed to {currency}0.00 + Removed the not-so-useful "Order" column which was a long ugly string of data that was displayed in other columns already + Removed the "Password Protected" flag since *all* orders are always automatically password protected for added security. This flag distracts from the interface so we've removed it. Orders _are_ still password protected though. + Numerous strings that were previously not translatable have been made translatable on this screen + A few new strings that previously didn't exist are now available for translation **Fixes and other small changes** + Fixed a translation issue on the LifterLMS menu that we thought we fixed in the last release but have now really fixed (probably). + Fixed a few small issues with engagements as they related to external engagements triggered by other plugins and LifterLMS extensions. + Tired of seeing a banner for a plugin you've already installed? We have your back! The general settings area will now only display banners for plugins that aren't installed. + Fixed various javascript issues, mostly removed `console.log()` statements. + Fixed a spelling error on the membership admin panel settings screen = v2.4.1 - 2016/04/07 = ----------------------- + Tested and compatible with WordPress 4.5 Release Candidate. + Fixed a pagination issue related to updates to the quiz builder from 2.4.0 which would cause results to return incorrect results on the last page of paginated results in the "Add Question" dropdown. + Added translation functions to LifterLMS Menu Items. Resolves an issue where translated LifterLMS installations might not see all the menu items under the LifterLMS Icon. + Italian translation updates curtosey of [@AndreaBarghigiani](https://github.com/AndreaBarghigiani) + On some themes the "Next Lesson" button was displayed while quizzes were being taken. We now *always* hide the next lesson button when a quiz is being taken. + Adjusted some static functions to be non static in `class.llms.post-types.php` + Added a function to ensure support for post thumbnails on LifterLMS custom post types + If a user views a course that is available to them because it belongs to a membership level they are a member of, course pricing information will no longer be visible. This addresses a confusing user experience issue. Previously it _appeared_ like payment for a course was still required even though it really wasn't. + Fixed undefined variable warning on quiz summary screen + Resolve an issue with quiz timer that caused issues on time display if the time limit was set to a fraction of a minute (eg 1.5 minutes) + resolved an undefined variable warning resulting from courses still holding a reference to a membership after the membership has been deleted or trashed = v2.4.0 - 2016/03/29 = ----------------------- ##### Performance Improvements on the LifterLMS Quiz Builder + Completely rewrote Javascript associated with building a LifterLMS Quiz. Our users have been identifying some performance issues and slowness when working with larger databases. We've refactored the Javascript and our related database queries to allow faster quiz building and fewer timeouts when working in the quiz builder. + Fixed a bunch of undefined variables that would produce PHP warnings in various quiz templates + Added validation to quiz questions on the admin panel to prevent the same question from being added to a quiz multiple times. + Fixed an issue that prevented quizzes from correctly marking the lesson as completed when the quiz was passed. + Added three new actions now available for developers to hook into. + `lifterlms_quiz_completed` called upon completion of a quiz (regardless of grade) + `lifterlms_quiz_passed` called when a quiz is completed with a passing grade + `lifterlms_quiz_failed` called when a quiz is completed with a failing grade + Course Progress and Course Syllabus shortcodes (and widgets) now work on Quiz pages + Completed Metabox refactor for the LifterLMS Quiz post type and removed `LLMS_Meta_Box_Quiz_General` class. All functions now exist in `LLMS_Meta_Box_Quiz` + Added validation to the Quiz general settings + Cannot only enter numbers in attempts, percentage, and time limit fields + Cannot enter a negative number or a number greater than 100 in the percentage field + Removed the membership restriction metabox from quiz admin and question admin screens ##### Other fixes + Fixed an issue that caused multiple certificates awarded for the same Course or Lesson to not properly display on the My Account page. + Removed an event bound to the publishing of a LifterLMS Question that called a function that didn't exist and caused a Javascript error on the console (but didn't actually cause any problems) + Removed a warning message that would display on sidebars when a shortcode was being displayed in a place that it couldn't function. We now simply don't display any content if the shortcode can't function. + Resolved an issue that prevent users from "purchasing" products when using a 100% coupon and the Stripe payment gateway. Users experiencing this issue should also update to Stripe 3.0.1. + Fixed an AJAX related issue that was incompatible with PHP7 + Added the ability to have a "max" value on LifterLMS Admin Metabox number fields = v2.3.0 - 2016/03/24 = ----------------------- ##### Engagements Refactoring (lots of bugfixes, performance improvements, more hook & filter friendly) + We've completely rewritten the LifterLMS Engagement Handler methods (`class LLMS_Engagements`) and added some new engagement actions. + The rewrite unifies engagement handling into one function that can be easily hooked into by plugin and theme developers. + We've moved any engagment related data out of the main `LifterLMS` class + Fixed the broken engagement delay functionality which now runs of `wp_schedule_single_event`. This makes the function more reliable and also keeps it within the traditional WordPress architecture. + Added an additional check before sending emails or triggering any engagments that will prevent the achievement from being awarded or the email from being sent if the post is in not published. This fixes an issue that caused emails in the trash from still being emailed. + Removed the unused `LLMS_Engagements` class and file + Added two new engagment trigger events "Membership Purchased" and "Course Purchased" + Deprecated actions -- Removes some redundancy because the triggering actions (`lifterlms_course_completed` triggered the notification action, instead `lifterlms_course_completed` simply triggers the engagement now). + `lifterlms_lesson_completed_notification` + `lifterlms_section_completed_notification` + `lifterlms_course_completed_notification` + `lifterlms_course_track_completed_notification` + `lifterlms_course_completed_notification` + `lifterlms_user_purchased_product_notification` + `lifterlms_created_person_notification` ##### Bug and Issue fixes + Adjusted the size of the LifterLMS Admin Menu Icon. It was super big because of, perhaps, some overcompensation. It caused an issue on Gravity Forms admin pages for some reason (we didn't ever determine why) but we've resolved it by using an appropriately sized icon. + Fixed a CSS issue that caused some weirdness on the course archive page on mobile devices + Fixed an issue with automated membership expirations + Fixed a function that should have been called statically in `LLMS_Ajax` class + Fixed a ton of issues related to the triggering of engagements and cleaned up a lot of classes and functions associated with them. + Properly instatiate `LifterLMS` singleton via LLMS() function and prevent direct instantiation of the class via `new LifterLMS()`. + Removed the deprecated 'class.llms.email.person.new.php' file as it was rendered useless a long time ago and caused some duplicate emails. = v2.2.3 - 2016/03/15 = ----------------------- ##### Translations + Added translation functions around quite a few untranslated strings. Thanks to the team at [Netzstrategen](http://netzstrategen.com) + Added German translation .mo and .po files again thanks to the team at [Netzstrategen](http://netzstrategen.com) ##### Student Enrollment Functions We've refactored a bit of our code related to how to programmatically enroll a student in a course or membership during registration and purchase. A new class `LLMS_Student` makes working with a LifterLMS student (user) a bit easier. We'll begin exposing user meta data through this class as we continue to improve the usability of the codebase for other developers. We've also created a simple enrollment function `llms_enroll_student()` which enables programmatic enrollment to LifterLMS courses or memberships. This was previously handled in a pretty schizophrenic manner and this unifies various ways of enrollment into one clean function. All enrollment moving forward will use this functions. The enrollment function calls a new action as well as calling existing enrollment-related actions: + `before_llms_user_enrollment` - called immediately prior to begining the user enrollment function + `llms_user_enrolled_in_course` (previously existing) + `llms_user_added_to_membership_level` (previously existing) This also addresses an issue that prevented the `llms_user_enrolled_in_course` action from being called when a user was auto-enrolled in a course because they joined a membership level that included auto-enrollment in one or more courses. ##### Bug and Issue fixes + Fixed an inconsistency in the way membership IDs were being saved to the postmeta table that would cause courses to not *appear* restricted on the Membership Enrollment tab, even though they were actually restricted and functioning correctly. + New lines are now preserved in the quiz question clarification text areas, thanks to @atimmer + Escape HTML in the quiz question description fields on the admin panel to allow outputting html without rendering it, thanks @atimmer + Fixed an issue related to the outputting of restricted course and membership content which caused errors on certain themes + added a clearfix to the `.llms-lesson-preview` element on the course syllabus template + Removed the `class.llms.person.handler.php` file as it wasn't actually being used by anything anywhere and contained no functions + Removed some unused and depreacted class functions from the LLMS Student Metabox class + Fixed an undefined javascript error resulting from code cleanup in 2.2.2. This issue prevented Vouchers from being published. The code has been further cleaned. = v2.2.2 - 2016/03/15 = ----------------------- ##### One step closer to a public GitHub repository We've made a assive syntatical update to almost every file in the codebase for a (finally) unified and clearly defined coding standard. This puts us one step closer to beginning to open our GitHub repo publicly and accepting pull requests and contributions from developers everywhere. Okay, we haven't exactly _clearly_ defined it yet. We're working off a modified version of the [WordPress Coding Standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/). Notable exceptions are related to file names because Thomas Levy didn't have the energy to rename a bunch of files as well as ignoring the Yoda Conditions standards. We'll be fixing these deviations in the future. ##### Quizzes + Created new time calculation and humanizing functions related to the display of quiz time on quiz results pages + Quizzes will now display hours, minutes, and seconds depending on the time it took to take the quiz + Timing calculations are more accurate and quizzes that are completed in less than 60 seconds will not bug out and display incredibly long lengths + Resolved an issue that occassionally prevented quiz data from saving during the last question causing the quiz to hang in an uncompletable state + Quiz questions now have a default point value of 1, thanks @atimmer + Quiz question answers now accept valid HTML as per `wp_kses_post`, thanks again to @atimmer ##### Translations + Thanks to @AndreaBarghigiani and the team at [codeat](http://codeat.co/) LifterLMS now ships with Italian language files! ##### Issue and bug resolutions + Fixed a restriction issue that would happen when individual lessons were restricted to a membership level + Fixed an issue with the `[lifterlms_my_account]` shortcode that was preventing the shortcode from working on the Divi theme. + Engagements will now only be triggered if they are "Published". Resolves an issue where draft or trashed engagements were still firing. + Fixed CSS overflow on LifterLMS Meta boxes. Fixes an issue where select boxes would be hidden inside a metabox. + Changed the ConvertKit extension banner image on the LifterLMS general settings page and replaced added a link to the extension now that it's available. + Added a link to the new ConvertKit extension to the .org readme + When restricting an entire site to a membership level the page selected as the "Terms and Conditions" page in LifterLMS settings will automatically bypass Membership restriction settings. This will allow your unregistered users to actually read the T&C that they're confirming during registration. + CSS fix for `has-icon` class on course syllabus + Fixed a PHP warning that displayed when purchasing a membership with no auto-enrollment courses + Fixed an undefined variable warning in the WooCommerce integration class + Fixed a few templating issues related to certificates + Added a few new CSS rules that should make certificates more compatible across various themes + Added a css class to LifterLMS Next Lesson buttons, `llms-next-lesson` + Updated the scheduled event name for cleaning up LifterLMS session data from the WP database. It had a conflicting name with the scheduled event for expiring LifterLMS memberships. = v2.2.1 - 2016/03/07 = ----------------------- + Added a few actions to the `class.llms.voucher.php` class. = v2.2.0 - 2016/03/04 = ----------------------- ##### Translations + We've updated our .pot file for the first time in quite a while. We're really sorry for de-emphasizing translation. An updated .pot file will now accompany each version of LifterLMS whenever a translatable string is adjusted or when a new string is added. + We've also made it easier to include custom translations. Read our [Translation Guide](https://lifterlms.readme.io/docs/getting-started-with-translation). ##### Certificate Background Images _We've completely rewritten the certificates template (but it's all backwards compatible)._ + New filters are available to make customizing the certificate template easier for developers. All new filters are documented at [https://lifterlms.readme.io/docs/functions-certificates](https://lifterlms.readme.io/docs/functions-certificates). + A new WordPress Image Size is now available and will be used for generating the image used by default when uploading certificates to the media library. Fore more information on these new settings visit [https://lifterlms.com/docs/certificate-background-image-sizes/](https://lifterlms.com/docs/certificate-background-image-sizes/). ##### Course and Membership Pricing & Sales + Sale price start and end date are now completely optional. + Provide neither a start date nor an end date to have a sale run indefinetly + Provide a start date with no end date to have a sale start at a pre-determined time with no pre-determined ending + Provide an end date with no start date to have a sale end a a pre-determined date but start immediately + Provide a start date and an end date to have a sale run for a pre-determined period of time + Optimized the `LLMS_Product` class to provide more reliable and extenable use of the class + The templates related to pricing functions have been refactored. Affected templates include: "templates/course/price.php", "templates/loop/price.php", "templates/membership/price.php" + Many people complained about the size of the `.llms-price` element on course and membership tiles on loop pages. We removed the inflated size and will now default to your theme for sizing. You selector remains the same if you wish to customize the size of the price text. ##### Coupon Updates + Coupons can (finally) be removed after being applied! + Coupons can now be restricted to specific courses and/or memberships + Percentage based coupons can no longer be created with a value larger than 100% + Added numeric restrictions to usage and coupon amount fieds on the admin panel + Fixed a programmatic error that prevented product restrictions from being entirely removed + Fixed a few instances where hardcoded a US Dollar symbol ($) where a dynamic currency symbol should have been displayed. ##### Wow Bad Syntax, Very Typo, Such Grammar, So Undefined + Fixed a typo in filter associated with modifying the registration of the lesson post type (`lifterlms_register_post_type_lesson`) + Fixed a grammatical error in a Membership restriction message + Fixed a syntax error in "/templates/course/outline-list-small.php" that prevented the `done` CSS class from being properly applied to completed lessons + Fixed a few typos and grammatical errors on the Course and Membership settings metaboxes + Fixed an undefined variable in "templates/course/syllabus.php" + Fixed an issue on the system report that prevented the "Courses Page" from being reported properly + Fixed an issue that caused PHP warnings on the admin panel for students or WP users with no LifterLMS menu permissions + Fixed an installation warning caused by a reference to an undefined class variable + Fixed an HTML character encoding issue that caused `–` to display on the admin panel when viewing LifterLMS Orders + Fixed an undefined variable found during engagment triggering for non-email engagements. ##### Additional, less exciting updates + Added input type restrictions to course & membership price fields. + The "Emails" LifterLMS Settings Tab has been renamed "Engagements." All Email settings are found under this tab as well as some new settings related to other kinds of LifterLMS engagements. + Added `the_content` filter to the content of emails sent by LifterLMS + Fixed some CSS issues on Voucher screens + Updated Courses settings retrieval function to retrieve the correct "shop" page id + Added translation functions to voucher export meta box class + Vouchers Export metabox will only allow export after a voucher has been published. This prevent's an issue caused by attempting to export voucher codes before they were saved in the database via the publish / save action. + Vouchers can no longer be saved with a use of "0" + added a CSS class for various syllabus outputs that notes that the lesson has an icon. Previously CSS relied on "is-complete" to output styles for having an icon but with the addition of placeholders the "is-complete" is used only to note that the lesson is completed and "has-icon" is a more semantic class that applies to both complete and incomplete lessons with an icon. + Removed the membership restriction metabox from some post types where it shouldn't have been displaying. + admin select fields now have an option `allow_null` (default to "true") which can be set to `false` in order to prevent the output of the default "None" option = v2.1.1 - 2016/02/15 = ----------------------- ##### System Report + A new LifterLMS Admin Page is available which reports information about various server, WordPress, and LifterLMS settings that will help expedite support requests. + More information about the system report is available at [https://lifterlms.com/docs/how-to-use-the-lifterlms-system-report/](https://lifterlms.com/docs/how-to-use-the-lifterlms-system-report/) ##### Additional Updates + Fixed a javascript issue which prevented users from saving vouchers + Cleaned up formatting in a large number of included PHP files = v2.0.5 - 2016/02/15 = ----------------------- + PayPal requests now using HTTP Version 1.1 in preparation for June 2016 [TLS 1.2 and HTTP/1.1 Updates](https://www.paypal-knowledge.com/infocenter/index?page=content&widgetview=true&id=FAQ1914&viewlocale=en_US). This resolves user's inability to begin PayPal checkout when using Sandbox mode. + Updated deprecated function opt out to run off a constant that can be defined in `wp-config.php` instead of using a filter that is hard to use in the way that it is intended. = v2.0.4 - 2016/02/15 = ----------------------- + Fixed a typo on the `class_exists` check in the deprecated functions file + added a filter so that progressive users can opt out of loading the deprecated functions file = v2.0.3 - 2016/02/12 = ----------------------- + Removed an unsed quiz stub = v2.0.2 - 2016/02/11 = ----------------------- + Bugfix: removed a progressive syntax array that caused fatal errors on older versions of PHP = v2.0.1 - 2016/02/11 = ----------------------- ##### Updated General Settings Screen + Improved the general settings interface to be more visually appealing and to provide some ad space to alert customers to other LifterLMS products and information. + Moved Currency options to the Checkout settings screen ##### Bug Fixes + Properly initialized jQuery on the vouchers metabox admin scripts + removed some php shortcut echos (``) + Resolve issue where courses that are available with a membership or on it's own outside of the membership would prevent users from accessing content if they were not a member. + Fixed a few files where undefined variables were being referenced and generating php notices + removed an call to a WordPress core function that has never existed. Not sure what we were thinking there... ###### Enhancements + Updated CSS to provide better course syllabus layout on smaller screens + Added validation to prevent against duplicate voucher code creation = v2.0.0 - 2016/02/04 = ----------------------- ##### Auto-advancing lessons + We've heard your feedback and added a new global course option which will auto-advance a student to the next lesson upon lesson completion. ##### Bug Fixes + Added spaces between numbers and "of" on the counter for course syllabus templates + Removed a template hook that was creating duplicate lesson thumbnails on quite a few themes ##### Membership Admin Improvements Visit the "Enrollment" tab on any membership to see some new additions to make managing your memberships easier. + You can now add courses to and remove courses from a Membership from the Membership itself + You can now opt to automatically enroll students in a course (or multiple courses) when they sign up for a membership by checking "Auto Enroll" next to the course on the Membership enrollment tab ##### Student Enrollment & Removal on Courses Admin Screen We've updated the Students tab interface for performance and usability! + AJAX enabled searching by student name and or email + Increased performance for course page load by only calling student information when needed. This resolves a bug identified by users with large user databases and/or low-powered servers. + Allow for addition or removal of several students at a time. ##### Syllabus Template + Added a Course setting to optionally enable Lesson Thumbnails on the Course Syllabus + Added a Course setting Display greyed out lesson completion checkmark icons on lessons not competed in the course syllabus + Rewored CSS on the course syllabus to rely on floats rather than absolute positioning, should allow for more robust custimization with less frustration + Refactored the syllabus template at "templates/course/syllabus.php" for better performance and readability ##### Updates and enhancements + User email is now displayed on the "Students" table on student analytics screens + Membership now has it's own admin menu + Reordered the LifterLMS admin menu and submenu items + Removed membership specific taxonomies from courses + Removed course specific taxonomies from memberships + Coupon code is now a required field when creating a coupon + "Humbled" the metabox on all post types that restricts the post to a membership. The metabox would previously gain priority over the WordPress publishing actions metabox. The priority has been reduced to "default" and will to fall into line with all other metaboxes on the screen and appear based on registration priority. If you can't find the metabox, SCROLL DOWN! If you want to put it back up on the top, you can simply drag it up there and WordPress will save your preference. ##### Deprecated Classes We've added a "deprecated" file which holds a few stubs for classes and functions deprecated below as to prevent fatal errors. The functions and classes in the deprecated class are classes which we know are being utilized by approved LifterLMS extensions and will allow users to upgrade LifterLMS without upgrade extensions without breaking their websites! + `LLMS_Activate` which as previously used to activate the plugin for updates via the LifterLMS Update Server and is no longer required. + PUC (plugin update checker) Library has been completely removed as it is no longer required for plugin updates. + `LLMS_Analytics_Dashboard` was removed as it was a stub that was never used and shouldn't have ever been released as a part of the LifterLMS codebase. I can't believe no one reported this bug! ##### Deprecated Functions + `lifterlms_template_section_syllabus()` **The following are officiallby deprecated and removed to prevent WooCommerce compatibility conflicts** + `is_shop()` replaced by `is_llms_shop()` + `is_account_page()` replaced by `is_llms_account_page()` + `is_checkout()` replaced by `is_llms_checkot()` ##### Deprecated Templates + templates/course/section_syllabus.php ##### New Account Dashboard Filters *[View documentation for more information](https://lifterlms.readme.io/docs/filters-account)* + `lifterlms_account_greeting` + `lifterlms_my_courses_title` + `lifterlms_my_courses_enrollment_status_html` + `lifterlms_my_courses_start_date_html` + `lifterlms_my_courses_course_button_text` + `lifterlms_my_certificates_title` ##### New Checkout Page Filters: *[View documentation for more information](https://lifterlms.readme.io/docs/filters-checkout)* + `lifterlms_checkout_user_logged_in_output` + `lifterlms_checkout_user_not_logged_in_output` ##### New Course Filters: *[View documentation for more information](https://lifterlms.readme.io/docs/filters-course)* + `lifterlms_product_purchase_account_redirect` + `lifterlms_product_purchase_redirect_membership_required` + `lifterlms_product_purchase_checkout_redirect` + `lifterlms_product_purchase_membership_redirect` + `lifterlms_lesson_complete_icon` = v1.5.0 - 2016/01/22 = ----------------------- ##### WooCommerce Integration Enhancements __NOTE: The following enhancements only apply when the WooCommerce Integration is enabled__ **Always redirect to the WooCommerce Cart when a SKU Matched Product can be found** + LifterLMS Products (courses and memberships) which are SKU matched to a WooCommerce product will now automatically add the related WooCommerce product to the WooCommerce shopping cart and then automatically redirect the visitor to the WooCommerce cart when the visitor attempts to enroll in a course or membership from the LifterLMS course or membership page. + If no WooCommerce product is found via a SKU match, the user will proceed to the LifterLMS checkout. + This will enable you to determine which Cart you want a user to use on a product by product basis. You may sell certain courses via WooCommerce and others via LifterLMS (should you choose to do so). **Multiple Item Checkout** + When a WooCommerce order is complete user's will now be automatically enrolled in **all** courses and/or memberships in the WooCommerce order. This improves upon a previously limitation that would only allow WooCommerce checkout with one LifterLMS product at a time. + The products in the order will be intelligently SKU matched to LifterLMS Courses or Memberships. + You may also mix and match between WooCommerce products matched to LifterLMS products and those which are not matched to LifterLMS products. For example, your customers may now buy a Course via SKU matching as well as a T-Shirt that is not matched to a LifterLMS course via a SKU. ##### Other Fixes and improvements + Fixed a bug that caused quiz results to display for users who had never taken the quiz. + Added Wistia as an oEmbed provider to fix an issue related to default oembed handling in WordPress 4.4. + added a `.cc_cvv` class that mimics the existing `#cc_cvv` styles to allow gateway extensions to change the ID of the field in their credit card forms + Added support for new 1.4.5 capability fixes to be also be reflected under the "+New" menu item in the WP Admin Bar. There are no changes to the filters, the capability filters will simply also remove restricted post types from the admin bar now (as they should). + Tested and compatible up to WordPress 4.4.1 ##### Deprecations **The following functions have been staged for deprecation in LifterLMS 2.0!** + Setup the `is_account_page()` function to be replaced by `is_llms_account_page()` function. The original causes conflicts when WooCommerce is installed as WooCommerce includes a core function by the same name. All references to `is_account_page()` in LifterLMS have been removed and the original has been left to prevent issues with developers currently relying on the LifterLMS version of thefunction. + Setup the `is_checkout()` function to be replaced by `is_llms_checkout()` function. The original causes conflicts when WooCommerce is installed as WooCommerce includes a core function by the same name. All references to `is_checkout()` in LifterLMS have been removed and the original has been left to prevent issues with developers currently relying on the LifterLMS version of thefunction. = v1.4.5 - 2016/01/13 = ----------------------- + Significant improvements to LifterLMS admin permissions as well as a hardening of permissions. Previously LifterLMS admin screens and menus were available to any users with `edit_posts` capabilities. This has been changed to `manage_options`. Filters for all screens and menus have been added with this release. If you're site currently relies on users with `edit_posts` to be able to access LifterLMS settings and analytics screens you must utilize these new filters in order to maintain their access. Please see full documentation on the new filters at [https://lifterlms.readme.io/docs/filters-admin-menu-and-screen-permissions](https://lifterlms.readme.io/docs/filters-admin-menu-and-screen-permissions). **Please consider testing your changes outside of production before updating to LifterLMS 1.4.5 in production.** + Allow "Payment Method" to be translated on the "Confirm Payment" screen + Allow the name of the payment gateway to be filtered on the "Confirm Payment" screen + Added pagination support to lifterlms membership archive pages + Fixed a bug related to some required global variables for quizzes and lessons being incorrectly set on certain hosts + updated readme file to remove incomplete documentation + Added Chosen multi-select options to admin panel metaboxes (settings and posts) + Added two new actions that developers can hook into: + `llms_user_enrolled_in_course`, called when users are enrolled in a course. Usage details available [here](https://lifterlms.readme.io/docs/actions-user#llms_user_enrolled_in_course). + `llms_user_added_to_membership_level`, called when users are added to a membership level. Usage details available [here](https://lifterlms.readme.io/docs/actions-user#llms_user_added_to_membership_level). = v1.4.4 - 2015/12/21 = ----------------------- ##### Updates + My account page can now (optionally) display a list of memberships a student is currently enrolled in + Student analytics on the admin panel display student's Memberships + Student analytics on the admin panel will now display student's progress through courses in addition to their current enrollment status. + Custom taxonomy archive templates for Course tags, categories, tracks, and difficulties now exist and properly function. + Custom taxonomy archive templates for Membership categories and tags now exist and properly function. + Added the `[lifterlms_memberships]` shortcode which was documented but never implemented. Details on usage available at [https://lifterlms.readme.io/docs/short-codes#memberships-lifterlms_memberships](https://lifterlms.readme.io/docs/short-codes#memberships-lifterlms_memberships) + Added basic styles to LifterLMS pagination HTML elements (elements with class `.llms-pagination`) which formerly had no associated CSS. ##### Deprecations + Setup the `is_shop()` function to be replaced by `is_llms_shop()` function. The original causes conflicts when WooCommerce is installed as WooCommerce includes a core function by the same name. All references to `is_shop()` in LifterLMS have been removed and the original has been left to prevent issues with developers currently relying on the LifterLMS version of thefunction. It *will* be removed in the next major update (2.0) and will be noted as an officially deprecated feature at that time. ##### Bug fixes + Fixed pagination issues when using the `[lifterlms_courses]` shortcode + Fixed an issue with the `is_shop()` function that prevented courses per page option from functioning properly on the default course archive page + Student analytics profile on admin panel will display the correct number of memberships the student is enrolled in. + Fixed a small CSS issue that caused extra white space to be displayed above Course or Membership tiles on archive pages when using the WordPress Twentyfifteen default theme ##### Miscellaneus + Account settings screen displays the correct title ("Account Settings" it previously said "Archive Settings") + Made language changes to the LifterLMS settings intro screen copy + Added link to CourseClinic on settings intro screen + Added link to LifterLMS documentation on the settings intro screen = v1.4.3 - 2015/12/11 = ----------------------- + Fixed an issue that could prevent some older servers from being able to run LifterLMS = v1.4.2 - 2015/12/10 = ----------------------- + Tested and compatible with WordPress version 4.4 + BugFixes: fixed issue in `llms_featured_img()` that was preventing the `$size` variable from being passed to the WP core function being utilized. + BugFixes: correctly handling conflicts with Plugin Update library = v1.4.1 - 2015/12/02 = ----------------------- + Feature: Custom single price text - Display custom text for the single price on the courses and course page. Custom field does not require a single payment price be set. IE: Free! + Feature: Custom Purchase Course Button Text Option. Change the text of the Take This Course button in Settings->Courses. + Feature: New Become A Member button on courses that are restricted to memberships. + Feature: Custom Become A Member Text Option. Change the text of the become a member button in Settings->Courses. + Feature: Paypal Debug Mode. Enable debug mode in Settings->Gateways to view responses from Paypal API when errors occur. + Updates: Updated support links in Settings->General. + Updates: added minor styling to course page to increase margin and padding for some themes. + Updates: Achievement content now available to pull into custom templates. The Achievement content is not by default displayed but can now be used in custom templates. + BugFixes: Resolved issue with no default price selected at checkout when only recurring option existed. + BugFixes: Lesson prerequisite now alert the user and provide a link to redirect the user to the next required lesson in the course. + BugFixes: Paypal errors now return error message instead of white screen when Paypal API fails. + BugFixes: Corrected JavaScript error with modals on course edit page in Internet Explorer 11. = v1.4.0 - 2015/10/29 = ----------------------- + Feature: Free lessons - demo lessons that can be taken at any time by any user + Feature: Guest lessons - demo lessons that can be taken by a non-logged in user + Feature: Random quiz question - quiz questions can now be set to be in user set order or random order + Updates: Automatically registers appropriate sidebars for Genesis theme + Updates: Backend file cleanup + Updates: Text cleanup + Updates: Adds greater localization support (more strings to translate! yay!) + Updates: Cleans up some unneccessary console.log() calls + Updates: Removes mass of commented out code (cleaner reading) + Updates: 'Next Lesson' button added after successful completion of quiz + Updates: 'Next Lesson' button at bottom of lesson properly gets starting lesson of next section at the end of the previous section + Updates: 'Previous Lesson' button at bottom of lesson will now properly get last lesson of previous section (if applicable) + Updates: Move Registration Form to global templates to allow users to disable registration on login page but use registration form on custom page. + BugFixes: WordPress pages are now properly restricted by memberships + BugFixes: Fixes bug that caused order screen to act up if user was deleted + BugFixes: Resolves nastly little bug that caused syllabus numbers to be out of whack + BugFixes: Resolved error with WooCommerce integration where courses would not always register the user + BugFixes: Corrected CSS conflict with Bridge theme settings page = v1.3.10 - 2015/10/15 = ------------------------ + Updates: Clarifies some prerequisite text + Updates: Quiz questions are now randomized! + Updates: Fixes small CSS issue + BugFixes: Resolves fatal errors with a small subset of premium themes v1.3.9 - 2015/10/5 ------------------ + BugFixes: Removes conflict with Yoast SEO + BugFixes: Fixes CSS issues with box-sizing takeover + Feature: New Settings Tile: Session Management. Found at LifterLMS->Settings->General. + Feature: Clear User Session Tool. You can now clear all LifterLMS user session data from your site in LifterLMS->Settings->General + Updates: Backend code cleanup = v1.3.8 - 2015/10/02 = ----------------------- + BugFixes: Fixes Random error notices + Updates: Updates email template handler = v1.3.7 - 2015/09/25 = ----------------------- + Updates: Adds Spanish translation + Updates: Adds new filter 'lifterlms_single_payment_text' to customize single payment string on checkout + Updates: Student analytics now indicate which courses a student has completed + BugFixes: Resolved security issue with WordPress searches and lessons + BugFixes: Fixes analytics bug that potentially arises after a course is deleted = v1.3.6 - 2015/09/18 = ----------------------- + BugFixes: Fixes pesky Zend Error that plagued some unfortunate victims + BugFixes: Students can now be properly deleted from the course + BugFixes: Fixes random class redeclaration error messages + Updates: Adds new filter 'lifterlms_quiz_passed' to customize 'Passed' text after quiz + Updates: Adds new filter 'lifterlms_quiz_failed' to customize 'Failed' text after quiz = v1.3.5 - 2015/09/11 = ----------------------- + Revisions: Fixes typos + Updates: Adds sidebar functionality to various themes = v1.3.4 - 2015/09/04 = ----------------------- + BugFixes: Fixes bug with featured image on course page + BugFixes: Fixes issue with lesson completed percentage on analytics page = v1.3.3 - 2015/09/01 = ----------------------- + Updates: Removes depricated plugin updater + Updates: Adds Course Track prerequisite + Updates: Various text fixes + BugFixes: Fixes lesson name on prerequisite notification + BugFixes: Fixes critical error with WordPress customizer = v1.3.2 - 2015/08/30 = ----------------------- + Hotfix: resolves issues with sidebar shortcodes + Updates: Text clarifications = v1.3.1 - 2015/08/28 = ----------------------- + Hotfix: resolves issue with ajax url = v1.3.0 - 2015/08/28 = ----------------------- + Improved popopver behavior in course creation. + BugFixnig. Prevent multiple lesson and section form submition + Fixed typos at backend quiz page + Fixed check for update bug when plugin isn't properly activated. + BugFixing, quiz post type should show author metabox + Added course category filter to lifter_lms shortcode + BugFixing, typo in [lifterlms_course_progess shortcode] + BugFixing, Analytics shouldn't fetch students meta info from users were deleted. + Adds in basic review functionality + Updates plugin-updater to remedy PHP conflicts + Fixes date bug in Analytics + Cleans up jQuery console messages + Adds in course tracks = v1.2.8 - 2015/07/17 = ----------------------- + Updated Portuguese translation file + Fixed issue where quiz score could not be equal to required grade. + New Feature: Quiz Results Summary. Display the quiz results to the user on quiz completion. + New feature: Clarification. Display information about correct and incorrect answers to users + New Feature: Display correct answers to user on quiz completion + Removed ability to add negative time limit to quiz + New Membership feature: Make membership archive links go directly to checkout. Setting allows you to skip membership sales page and send users directly to registration and checkout. + Sidebar support for prototype theme + Sidebar support for X theme + Sidebar support for WooCanvas + New Shortcode: [lifterlms_hide_content]: Use to restrict content on a page, course or lesson to a specific membership. Pass the post id of the membership you want to restrict the content to. Example: [lifterlms_hide_content membership="5"] + New updates to gulp build process + Class autoloading and LLMS namespace introduced for more efficient coding. = v1.2.7 - 2015/06/05 = ----------------------- + Minor bug fix with lesson redirect to quiz + Minor change to global Course object instantiation. + Bug Fix: Remove student from course + Bug Fix: Appearance Menus missing select field (THANKS ANDREA!) + New Course Setting: Hide Course Outline on course page + New Shortcode: [lifterlms_course_outline] - displays course outline with settings (see documentation) + Membership metabox design update + Certificate metabox design update + Achievement metabox design update + Lesson metabox design update + Emails metabox design update + Coupons metabox design update + Update to certificate design (better alignment and theme functionality) + Better theme sidebar support + More awesome control for devlopers building new settings for LifterLMS + Advanced filter system for metabox fields with finite control for 3rd party developers. + Woocommerce confict correction to archive templates + Style updates to allow themes better control on design = v1.2.6 - 2015/04/28 = ----------------------- + Corrected issue with lesson re-order on save + corrected html formatting issue on purchase page + corrected html formatting issue on course page = v1.2.5 - 2015/04/23 = ----------------------- + Corrected excerpt to not pull in lesson navigation + Modified metabox api for better extension integration + Corrected issue with order not displaying all information if coupon was not applied to order = v1.2.4 - 2015/04/22 = ----------------------- + Moved All Course metaboxes to global Course Options Metabox + Move Enrolled and Non-Enrolled user wysiwyg post editors to Options Metabox + Removed Course Syllabus metabox, Added Course Outline Metabox + Set priority of Course Outline and Course Options Metabox to top + Added ability to Create new section to Course Outline + Added abiliyt to Create new lesson to Course Outline + Added ability to add existing Lesson to Course Outline + Added Lesson duplicate functionality when adding lesson previously assigned to another course. + Added ability to drag lessons between sections in Course Outline + Added ability to edit Section Title in Course Outline + Added ability to edit lesson title and excerpt in Course Outline + Added New Style and Design for better usability to Course Outline + Added Lesson Icon with tooltip to Course Outline: Prerequisite - shows if prerequisite exists and displays name of prerequisite + Added Lesson Icon with tooltip to Course Outline: Quiz - shows if quiz is assigned to course and displays name of quiz + Added Lesson Icon with tooltip to Course Outline: Drip Content - shows if drip days are set and # of days + Added Lesson Icon with tooltip to Course Outline: Content - displays if lesson has content added. + Added Course Outline Metabox to Lesson Post Editor: Allows you to assign lesson to section and view entire course tree. Links to Course and all other lessons in course. + Style Update: backgrounds on frontend. Removed all references to white background on front end elements + Corrected Restriction for course in past. Updated course in past message to display as Course ended instead of Course not available until. + Added restriction message when user attempts to visit a restricted lesson. + Updated course syllabus sidebar widget to not display lessons as links if user is not enrolled in course. + Added ability to use Attribute Order for sorting Courses and Memberships on Archive pages. + Added support for selling memberships with Woocommerce. LifterLMS now checks memberships for SKU matches in addition to Courses when products are purchased using WooCommerce. + Added gulp for scss, js and svg management + Added svg sprite and svg class for managing svg elements on front and backend. + Added better language translation support for strings + Refactored Ajax Classes for cleaner, faster development + Refactored metabox build class for cleaner, faster development + Refactored Course syllabus to reduce query size for larger, complex courses + Added Handler classes for Lessons, Sections, Courses and Posts + Refactored Course get / set methods to reduce database queries = v1.2.3 - 2015/03/12 = ----------------------- + Achievement design and functionality updates + Achievemnt shortcode added + Better searching added to engagement screen + Achievement bug fixes + On screen error reporting added to activation for trouble shooting + Custom engagement methods added to certificate, achievement and sections + Corrected new user registration engagement bug + LifterLMS access reduced from manage_options to edit_posts + Filters added to analytics to allow custom developement + Engagment bug fix: Section and Lesson bug select + Syllabus bug corrected: No longer displays lessons in section box if no sections exist. + Removed depreciated achievement template + Membership Bug fix: Membership restriction will now only display on single posts. = v1.2.2 - 2015/02/23 = ----------------------- + Corrected drip content bug + Added Ajax functionality to quiz + rounded quiz grades + Added quiz time limit setting to Quiz + Added quiz timer to quiz, front end + Quiz allowed attempts field now allows unlimited attempts + Set Ajax lesson delete method to not return empty lesson value + Set next and previous questions to display below quiz question + Decoupled Single option select question type from quiz to allow for more question types + Added Quiz time limit to display on Quiz page + Added functionality to automatically complete quiz when quiz timer reaches 0 + Moved Quiz functionality methods from front end forms class to Quiz class = v1.2.1 - 2015/02/19 = ----------------------- + Updated settings page theming + Added Set up Quick Start Guide + Added Plugin Deactivation Option + Updated language POT file + Added Portuguese language support. Thank you Fernando Cassino for the translation :) = v1.2.0 - 2015/02/17 = ----------------------- + Admin Course Analytics Dashboard Page. View at LifterLMS->Analytics->Course + Admin Sales Analytics Dashboard Page. View at LifterLMS->Analytics->Sales + Admin Memberships Analytics Dashboard Page. View at LifterLMS->Analytics->Memberships + Admin Students Search Page. View at LifterLMS->Students + Admin Student Profile Page ( View user information related to courses and memberships ) + Lesson and Course Sidebar Widgets ( Syllabus, Course Progress ) + Course Syllabus: Lesson blocks greyed out. Clicking lesson displays message to take course. + Misc. Front end bug fixes + Misc. Admin bug fixes + Course and Lesson prerequisites: Can no longer select a prerequisite without marking "Has Prerequisite" + Admin CSS updates + Better Session Management + Number and Date formatting handled by seperate classes to provide consistant date formats across system + Zero dollar coupon management: Coupons that set total to 0 will bypass payment gateway, generate order and enroll users. + Better coupon verification. + Better third party payment gateway support. Third party gateway plugins are now easier to develop and integrate. + User Registration: Phone Number Registration field option now available in Accounts settings page. = v1.1.2 - 2014/12/18 = ----------------------- + Moved Sidebar registration from plugin install to init = v1.1.1 - 2014/12/16 = ----------------------- + Added user registration settings to require users to agree to Terms and Conditions on user registration + Added comments to all classes methods and functions + Removed unused and depreciated methods + Added Lesson and Course Sidebar Widget Areas + Fixed bug with course capacity option + Fixed bug with endpoint rewrite + Added localization POT file and us_EN.po translation file = v1.1.0 - 2014/12/08 = ----------------------- + Updated HTML / CSS on Registration form + Added Coupon Creation + Added Coupon support for checkout processing + Added Credit Card Support processing support + Added Form filters for external integration + Added Form templates for external integration + Added Account Setting: Require First and Last Name on registration + Added Account Setting: Require Billing Address on registration + Added Account Setting: Require users to validate email address (double entry) + Added password validation (double entry) on user registration / account creation + Added Quiz Question post type and associated metaboxes + Added Quiz post type and associated metaboxes + Added ability to assign a quiz to a lesson + Added front end quiz functionality + Added Course capacity (limit # of students) ### User Admin Table + Added Membership Custom Column that displays user's membership information + Added "Last Login" custom column that displays user's last login date/time ### User Roles + Updated user role from "person" to "student" + Added temporary migration function to transition any register users with "person" role to "student" role + Added "Student" role install function ### BUDDYPRESS + BuddyPress Screen Permission Fix + Added two additional screens to BuddyPress: Certificates and Achievements ### MISC + Added llms options for course archive pagination and added course archive page pagination template + Added user statisticc shortcode = v1.0.5 - 2014/11/12 = ----------------------- + Fixed a mis-placed parenthesis in templates/course/lesson-navigation.php related to outputting excerpt in navigation option + Changed theme override template directory from /llms to /lifterlms + Update the positiong & name of the "My Courses" Menu in BuddyPress Compatibility file + New meta_key _parent_section added for easier connection and quicker queries. + Section sorting on course syllabus + Edit links added to course syllabus + Assign section to course and view associated lessons metabox added to sections + Assign lesson to section and view associated lessons metabox added to lessons + Assigned Course, Assigned Section, Prerequisite and Membership Required added to lesson edit grid + Assigned Course added to section edit grid' + New membership setting: Restrict Entire Site by Membership Level (allows site restriction to everything but membership purchase and account). + Updated template overriding to check child & parent themes + Updated template overriding to apply filters to directories to check for overrides to allow themes and plugins to add their own directories = v1.0.4 - 2014/11/04 = ----------------------- + Templating bug fix + Added shortcode and autop support to course and lesson content / excerpt = v1.0.3 - 2014/11/04 = ----------------------- + Major Templating Update! + Removed Course, Lesson and Membership single lesson templates. + Course and Section content templates now filter through WP content = v1.0.2 - 2014/10/31 = ----------------------- + Added lesson short description to previous lesson preview links -- it was rendering on "Next" but not "Previous" + Added a class to course shop links wrapper to signify the course has been completed + Removed an uncessary CSS rule related to the progress bar = v1.0.2 - 2014/10/30 = ----------------------- + Fixed SSL certificate issues when retreiving data from https://lifterlms.com + Added rocket settings icon back into repo = v1.0.1 - 2014/10/30 = ----------------------- + Updated activation endpoint url to point towards live server rather than dev