Posted on 6 Comments

Sensei 1.9 beta – Call for testers

Please login to view your messages.

We’ve been hard at work on the latest Sensei update, and it’s almost ready! This beta release contains 514 commits from 10 contributors.

We would really love your help with testing the new features, to make sure it all works seamlessly.

What’s New?

The main changes in this version are an improved template system, built-in language packs, and a new collection of shortcodes for adding Sensei content anywhere in your site.

We need help to test these changes, to make sure that the new features work as they should, and also that everything still works as it did before for existing users.

Template Changes

We’ve made some changes to the frontend Sensei templates, combining files where appropriate, and separating logic from markup, making the templates much more flexible.

We need to test all of the following templates thoroughly. All screens need to be tested both when logged in and logged out. When testing courses/lessons/quizzes, you should test when logged in and taking the course, and when logged in and not taking the course.

    • New Course Archive Page
      • This includes the following new filters:
          • All – Displays all courses
          • Free – Displays all free courses
          • Paid – Displays all paid courses
          • Featured – Displays all featured courses
        • Sort by: Newest first / A-Z
    • Single Course Page (including courses with and without modules)
    • Single Lesson Page
    • Single Quiz Page (including quizzes with all question types)
    • Messages Page
    • Single Message Page
    • My Courses Page
  • My Profile Page

We have updated all templates except for the Email templates. If you have customised your templates in your theme they will still work. Please give us feedback if any of your templates break so we can look at improving the backwards compatibility.

CSS

The main frontend CSS file has moved from /assets/css/frontend.css to /assets/css/frontend/sensei.css

Shortcodes

Previously we relied on shortcodes to display our course archives. In 1.9 we have introduced a new course archive template, as well as some new shortcodes that customers can use to display Sensei content wherever they wish.

The current shortcodes:

  • – A list of all courses.
  • – A list of featured courses.
  • – A list of paid courses (those linked to a WC product).
  • – A list of free courses (not linked, or linked to a free WC product)
  • Login

    – A list of courses the current user is taking or has completed. (Or a login/register form for logged out users).

These will continue to work for at least the next few versions, and we need to make sure they still work as they did before.

However, we will be encouraging people to switch to using the new course archive page, and the new shortcodes instead. The course archive page no longer requires shortcodes, and will be the page you select as “Course Archive Page” in Sensei > Settings.

All the following shortcodes and their parameters need testing thoroughly:

     – A list of featured courses
  • Login

     – A list of the courses the current user is taking. The default order here is by ‘title’ and order ‘ASC’. You can choose to show the completed or the active courses by the status parameter. If you omit this all courses (active and completed will be shown.
     – A list of specific courses by id. If no id’s are specified this shortcode will show all courses. By default this will show the most recent course by date. You can also specify the teacher and the category. Teacher can be the user ID or the teacher user name. Category can be the slug, id or term name.
  •  – A list of users with the teacher role, as link to their archive page. The include parameter is for adding extra users to the list of teachers. The exclude paramater will remove teachers already on the list.
  •  – A list of private Sensei messages for the current user.
  • Sensei LMS 3.8

    Sensei LMS 3.8 is available now and introduces two new blocks – Conditional Content and Lesson Actions.

    Conditional Content

    The Conditional Content block, available on the course page, is very handy when you’d like to display content to a specific group of people. For example, you may want to write some sales copy to entice people to enrol in your course, but not display it to those who are already enrolled. The Conditional Content block makes this possible!

    To configure the block, just add some child blocks inside it and set the visibility condition to only display the content when the person is enrolled in the course, is not enrolled in the course, or has completed the course:

    Lesson Actions

    The Lesson Actions block groups together the actions that can be taken on the lessons page including viewing the quiz, marking the lesson as complete, moving to the next lesson in the course, or resetting the progress of the current lesson. Each of the buttons can be customized by changing its style, color or border.

    You can use the dropdown in the toolbar to simulate what the learner will see depending on whether or not they have completed the lesson:

    When creating a new lesson, the Lesson Actions block (and Contact Teacher block) are automatically added to the page for you. They are equivalent to the elements that already appear on the lesson page, but because they have been rewritten as blocks, it’s now possible to change how they look, adjust their order, or remove them altogether:

    What If I Don’t Want to Use Blocks?

    If you’d rather not use blocks for new lessons, you can remove them in the editor and the PHP template will be used to render the lesson as before. This will create a consistent experience for learners until you’re able to update existing lessons to also use blocks.

    What Else is in This Release?

    Here are some other improvements you’ll find in 3.8:

    • We’ve ensured that all Sensei blocks can be properly translated.
    • We fixed an issue where the lesson order was changing when a lesson was updated.

    See the full list of changes.

    Developers: For deprecations, please see the beta release post.

    To update, please head on over to Dashboard → Updates in the WordPress admin.

    Please note: While we have thoroughly tested this release, it’s always possible that we’ve missed something. We recommend that you test the update on a staging site before updating your live site.

    Thank you to all our testers and contributors!

    Sensei LMS 3.8

    Sensei LMS 3.8 is ready for testing, and contains two brand new blocks!

    Conditional Content Block

    The Conditional Content block can be used to conditionally display content on the course page depending on whether the visitor is enrolled or not enrolled in the course, or has already completed it:

    Lesson Actions Block

    The Lesson Actions block is a grouping of buttons that enables a learner to perform specific actions for a lesson. The style of these buttons are inherited from the theme, but can be customized independently:

    See what else is in this release.

    Testing Sensei LMS

    *Please note that the test site integrates with Smartlook to record your visit. Smartlook is GDPR compliant out of the box, and any recordings will be deleted automatically after 1 month.

    If you find a bug, please submit an issue on Github or leave a comment on this post. Our tentative release date is February 9th.

    WooCommerce Paid Courses 2.3.1

    WooCommerce Paid Courses 2.3.1 fixes an issue where some text was not being translated.

    Testing WooCommerce Paid Courses

    Beta testers will receive the WooCommerce Paid Courses beta directly to their inbox. If you would like to sign up to be a beta tester and have a valid license, please fill out the beta tester signup form using the same email address you used to purchase your license.

    If you find a bug, please leave a comment on this post. Our tentative release date is February 9th.

    As these are beta releases, please test them on a staging site and not your live site. If you don’t have a staging site, you can use the WP Staging plugin to create one.

    For Developers

    If you’re a developer, there’s a single deprecation in Sensei LMS that you need to be aware of:

    • Sensei_Block_Take_Course::get_course_prerequisite_message – Replaced by Sensei_Course::get_course_prerequisite_message
    • Sensei_Setup_Wizard::setup_wizard_set_script_translations (Added on February 9)

    Thank you to all our testers and contributors!

    What’s New in Sensei LMS 3.7?

    Sensei LMS 3.7 contains some important bug fixes and performance improvements, and adds an integration with the Site Health tool.

    One especially important bug fix involves a pesky issue where some learners were being added to a course or lesson multiple times. This was preventing those learners from making progress in the course. As part of that fix, we’ve also brought back the ability to remove a learner’s progress at the lesson level.

    Upon upgrading to 3.7, indexes are automatically added to the comments table if they don’t already exist. As Sensei LMS stores a lot of data in this table, this should noticeably improve the performance of large sites.

    We’ve also added an integration with the Site Health tool. The integration does some checks on the status of the learner enrolment job and migration, and will also let you know if your theme is using outdated Sensei template files:

    See the full list of changes.

    What’s New in WooCommerce Paid Courses 2.3?

    When a learner purchases one or more courses, those courses are now listed on the Order Details page. Clicking on any of the courses takes the learner right to that course:

    We’ve also added a Courses section to the sidebar of the My Account page, which navigates to the learner’s My Courses page:

    Developers: For new hooks, deprecations and template file changes, please see the beta release post.

    To update, please head on over to DashboardUpdates in the WordPress admin.

    Please note: While we have thoroughly tested this release, it’s always possible that we’ve missed something. We recommend that you test the update on a staging site before updating your live site.

    Thank you to all our testers and contributors!

    Sensei LMS 3.7

    Sensei LMS 3.7 is now available for testing. This release includes some performance improvements, small enhancements, and important bug fixes:

    See what else is in this release.

    New Filters

    • sensei_add_comment_indexes – Whether to add indexes to the comments table. Default true.
    • sensei_duplicate_post_ignore_meta – Meta keys to ignore when duplicating content.
    • sensei_quiz_answer_file_upload_types – Allowed mime types for file upload questions.
    • sensei_show_enrolment_debug_button – Whether to show the enrolment debug button in Learner Management.
    • sensei_tools – Functionality available from the Tools menu.

    New Action

    • sensei_tools_listing_after_{$tool_id} – Display additional information for a specific tool, such as status.

    Deprecations

    • Sensei_Admin_Rest_Api_Testharness – Deprecated the entire class.
    • Sensei_Setup_Wizard::get_woocommerce_connect_data – Use Sensei_Utils::get_woocommerce_connect_data.
    • Sensei_Updates::assign_role_caps – Use Sensei_Main::assign_role_caps.
    • Sensei_Updates::add_sensei_caps – Use Sensei_Main::add_sensei_admin_caps.
    • Sensei_Updates::add_editor_caps – Use Sensei_Main::add_editor_caps.
    • Sensei_Updates::sensei_updates_page
    • Sensei_Updates::function_in_whitelist
    • Sensei_Updates::update
    • Sensei_Updates::set_default_quiz_grade_type
    • Sensei_Updates::set_default_question_type
    • Sensei_Updates::update_question_answer_data
    • Sensei_Updates::update_question_grade_points
    • Sensei_Updates::convert_essay_paste_questions
    • Sensei_Updates::set_random_question_order
    • Sensei_Updates::set_default_show_question_count
    • Sensei_Updates::remove_deleted_user_activity
    • Sensei_Updates::add_teacher_role
    • Sensei_Updates::restructure_question_meta
    • Sensei_Updates::update_quiz_settings
    • Sensei_Updates::reset_lesson_order_meta
    • Sensei_Updates::update_question_gap_fill_separators
    • Sensei_Updates::update_quiz_lesson_relationship
    • Sensei_Updates::status_changes_fix_lessons
    • Sensei_Updates::status_changes_convert_lessons
    • Sensei_Updates::status_changes_convert_courses
    • Sensei_Updates::status_changes_repair_course_statuses
    • Sensei_Updates::status_changes_convert_questions
    • Sensei_Updates::update_legacy_sensei_comments_status
    • Sensei_Updates::update_comment_course_lesson_comment_counts
    • Sensei_Updates::remove_legacy_comments
    • Sensei_Updates::index_comment_status_field
    • Sensei_Updates::enhance_teacher_role
    • Sensei_Updates::recalculate_enrolment

    Testing Sensei LMS

    You can download the Sensei LMS 3.7 beta here. Alternatively, if you don’t have a staging site, you can use our Sensei LMS Test Site. You will be given the same level of access as a teacher, so some functionality may not be available. Please note that the test site integrates with Smartlook to record your visit. Smartlook is GDPR compliant out of the box, and any recordings will be automatically deleted after 1 month.

    If you find a bug, please submit an issue on Github or leave a comment on this post. Our tentative release date is January 21st.

    WooCommerce Paid Courses 2.3

    WooCommerce Paid Courses 2.3 contains a couple of small improvements that we think will make a big difference in helping your learners get started after purchasing a course:

    • Added a link to the My Courses page on the My Account page.
    • Added a Courses section to the order details page so that learners can see which courses they’ve purchased.
    • When a product is sent to the trash, remove that product from all applicable courses.
    • Don’t copy the product over when duplicating a course. This ensures that any learners who purchased the original course don’t gain access to the duplicated course.

    New Filter

    • sensei_wc_paid_courses_my_account_menu_courses_position – Change the position of the Courses item in the My Account menu.

    Deprecations

    • Sensei_WC::course_link_from_order
    • Sensei_WC::generate_order_notice

    Testing WooCommerce Paid Courses

    Beta testers will receive the WooCommerce Paid Courses beta directly to their inbox. If you would like to sign up to be a beta tester and have a valid license, please fill out the beta tester signup form using the same email address you used to purchase your license.

    If you find a bug, please leave a comment on this post. Our tentative release date is January 21st.

    As these are beta releases, please test them on a staging site and not your live site. If you don’t have a staging site, you can use the WP Staging plugin to create one.

    Thank you to all our testers and contributors!

    We are very pleased to announce that Sensei LMS 3.6 is now publicly available. Although technically a minor release, 3.6 packs a major punch!

    What’s New in Sensei LMS 3.6?

    Sensei LMS 3.6 introduces several new blocks to the course page:

    When creating a new course, these blocks are automatically added to the page for you. They are equivalent to the elements that already appear on the course page, but because they have been rewritten as blocks, it’s now possible to change how they look, adjust their order, or remove them altogether:

    Take Course

    The Take Course block is a button that enables a registered user to enrol in the course. Once enrolled, the Take Course button is no longer displayed for that user. The block can be customized by changing its style, colors or border.

    Contact Teacher

    The Contact Teacher block enables registered users to contact the teacher. The user is not required to be enrolled in the course in order to send a message to the teacher. Similar to Take Course, the Contact Teacher block can have its style, colors and border customized.

    Course Progress

    Course Progress displays the user’s progress in the course. This block is only visible to users who are already enrolled. The course progress block enables you to customize the border radius, progress bar height, and colors.

    Course Outline

    In addition to displaying the modules and lessons that make up a course, the course outline block enables you to build your course structure right inside the editor! Any modules or lessons you add to the block will be created automatically once the course is saved:

    Please note that it’s not currently possible to add existing modules or lessons to the course outline block. Given this, the recommended flow for creating a new course is to start with the course outline block, and then add content to the individual modules and lessons once they’ve been created.

    You can learn more about how to use these blocks in our documentation. A future release will add more blocks for both lessons and quizzes.

    What If I Don’t Want to Use Blocks?

    If you’d rather not use blocks for new courses, you can remove them in the editor and the PHP template will be used to render the course as before. This will create a consistent experience for learners until you’re able to update existing courses to also use blocks.

    What Else is in This Release?

    Here are some other enhancements and fixes you’ll find in 3.6:

    • Ensure analysis export works with RTL languages.
    • Fix incorrect rounding of maximum file size for file upload questions.
    • Ensure learners who have already viewed a quiz see the latest updates the next time they view it.
    • Remove wrapper elements from templates. This should improve the look of Sensei pages on some themes.
    • Enforce minimum PHP version of 7.0.

    See the full list of changes.

    What’s New in WooCommerce Paid Courses 2.2?

    WooCommerce Paid Courses 2.2 extends the Take Course block, and changes it to a Purchase Course button if there is a single product attached to the course, or pricing cards if there are multiple products attached to the course:

    Developers: For new hooks, deprecations and template file changes, please see the beta release post.

    To update, please head on over to DashboardUpdates in the WordPress admin.

    Please note: While we have thoroughly tested this release, it’s always possible that we’ve missed something. We recommend that you test the update on a staging site before updating your live site.

    Thank you to all our testers and contributors!

    Today we’re releasing Sensei LMS 3.6 Beta 2 and WooCommerce Paid Courses 2.2 Beta 2. We are on track to release on December 10th, 2020.

    Sensei LMS

    Here’s what’s changed in Beta 2:

    Course Outline Block

    • Add support for default theme colors to Course Outline block
    • Add support for default theme colors to the module border color setting
    • Make border rules for “Minimal” module style less specific to allow overrides
    • Fix race condition when saving
    • Fix how “Edit Lesson” link displays in WordPress 5.4

    Contact Teacher Block

    • Change Contact Teacher button default style

    Other

    • Don’t show “Course Video” metabox when any Sensei block is added to the course page
    • Use Sensei logo in block inserter

    *Please note that the test site integrates with Smartlook to record your visit. Smartlook is GDPR compliant out of the box, and any recordings will be deleted automatically after 1 month.

    WooCommerce Paid Courses

    Here’s what’s changed in Beta 2:

    Purchase Course Block

    • Warn learner when buying a product containing a course they are already taking
    • Expand the editor and the frontend to support many purchase blocks
    • Ensure variable products work with purchase block

    Other

    • Fix typo in package generation to include `lang` folder

    You can learn more about these releases here.

    Sensei LMS 3.6

    Sensei LMS 3.6 is now available for testing. This release introduces a number of blocks that are available when adding or editing courses:

    • Take Course button
    • Contact Teacher button
    • Course Progress
    • Course Outline

    When creating a new course, these blocks are automatically added to the page for you. They are equivalent to the elements that already appear on the course page, but because they have been rewritten as blocks, it’s now possible to change how they look, adjust their order, or remove them altogether.

    Course Outline Block

    The course outline block is especially noteworthy. In addition to displaying the modules and lessons that make up a course, the course outline block enables you to build your course structure right inside the editor. Any modules or lessons you add to the block will be created automatically once the course is saved:

    What Else is in This Release?

    Here are some other enhancements and fixes you’ll find in 3.6:

    • Ensure analysis export works with RTL languages.
    • Fix incorrect rounding of maximum file size for file upload questions.
    • Ensure learners who have already viewed a quiz see the latest updates the next time they view it.
    • Remove wrapper elements from templates. This should improve the look of Sensei pages on some themes.
    • Enforce minimum PHP version of 7.0.

    See the full list of changes.

    Testing Sensei LMS

    You can download the Sensei LMS 3.6 beta here. Alternatively, if you don’t have a staging site, you can use our Sensei LMS Test Site. Please note that the test site integrates with Smartlook to record your visit. Smartlook is GDPR compliant out of the box, and any recordings will be deleted automatically after 1 month.

    WooCommerce Paid Courses 2.2

    WooCommerce Paid Courses 2.2 integrates with the Take Course block, changing it to a Purchase Course button if there is a single product attached to the course, or pricing cards if there are multiple products attached to the course:

    Testing WooCommerce Paid Courses

    Beta testers will receive the WooCommerce Paid Courses beta directly to their inbox. If you would like to sign up to be a beta tester and have a valid license for WooCommerce Paid Courses that has not expired, please fill out the beta tester signup form using the same email address you used to purchase your license.

    If you find a bug in Sensei LMS or Sensei with WooCommerce Paid Courses, please submit an issue on Github or leave a comment here. Our tentative release date is December 10th.

    For Developers

    If you’re a developer, here are the technical details of what’s changed in Sensei LMS 3.6.

    Sensei LMS 3.6

    Template File Changes

    • templates/course-results.php – Changed article element to div and removed section.
    • templates/course-results/lessons.php – Changed article element to div.
    • templates/single-course.php – Removed article and section elements.
    • templates/single-lesson.php – Removed article and section elements.
    • templates/single-message.php – Removed article and section elements.
    • templates/single-quiz.php – Removed article and section elements.

    New Filters

    • sensei_block_type_args – For WordPress < 5.5, filters block arguments. For WordPress >= 5.5, use register_block_type_args instead.
    • sensei_course_complete_prerequisite_message – Filter course prerequisite message.
    • sensei_use_sensei_template: Whether to use Sensei’s templates and content wrappers.
    • sensei_use_wp_register_link – Force Sensei to output the default WordPress user registration link.

    New Action

    sensei_loaded: Fires once all global objects have been set in Sensei LMS.

    Deprecated Functions & Methods

    • Sensei_Admin::get_lesson_order
    • Sensei_Lesson::on_lesson_published
    • Sensei_Core_Modules::reset_none_modules_transient

    There are no deprecations or new hooks in WooCommerce Paid Courses 2.2.

    As these are beta releases, please test them on a staging site and not your live site. If you don’t have a staging site, you can use the WP Staging plugin to create one.

    Thank you to all our testers and contributors!

    We’ve been hard at work developing our first block for Sensei LMS — the course outline block! This block streamlines the course building experience, and enables you to make simple design changes to the course outline that is displayed on the course page.

    Although the block is not yet released, we’re making it available now on our test site for you to experiment with. We’ll use your feedback to make further improvements to the block prior to its release.

    If you’re interested in trying it out, please continue reading or jump to How to Try the Course Outline Block to get started now.

    Course Outline Block

    After logging into our test site and creating a new course, you will see the course outline block, where you can choose to create a module or a lesson:

    Clicking on Create a module updates the block with a view that enables you to add a module, module description, and lesson. You can add as many modules and lessons as needed for your course:

    Fundamentally, the course outline block helps you to develop the basic structure of your course. Once you save your changes, any modules or lessons that have been added to the block are automatically created behind the scenes. Similarly, any changes you make to the block for an existing course are carried over to the individual modules and lessons.

    Block Settings

    The course outline block offers a variety of settings that enable you to adjust styles, colors, typography and other design elements:

    Future Blocks

    The course outline block is the first of several blocks we are planning to build for the course page. Blocks currently in development include:

    • Take this Course button
    • Contact Teacher button
    • Course progress bar

    We will add these blocks to the test site as they become available. In the meantime, these elements continue to be rendered on the site using the existing PHP template.

    How to Try the Course Outline Block

    To try the course outline block, follow these steps:

    • Register for a user account on our test site*. Your account will be created with the Teacher role.
    • Once you’ve logged in, create a new course. The course outline block will already be added to the page.
    • Add modules and lessons, change the block settings, and see what the block looks like as a learner.
    • Once you’re done, navigate back to the Courses page and click the link in the notice to share your feedback with us:

    *Important: The test site integrates with Smartlook to record your visit. We will use the screen recordings to identify block functionality that may be confusing to use, and to make improvements that help make the block more intuitive. Smartlook is GDPR compliant out of the box, and any recordings will be deleted automatically after 1 month.

    Sensei LMS 3.5 has just been released and brings with it the ability to export courses, lessons and questions. This means you can export course content from one site and import it into another one, making it easier than ever to transfer courses between Sensei LMS sites.

    Exporter

    Sensei’s new export functionality is available from the Sensei LMS > Export menu. This first iteration supports exporting courses, lessons and questions in zip format. The downloaded zip file contains individual CSV files, one per selected content type:

    Export content to a CSV file

    Sample Course

    We’ve also added a new option to the setup wizard to install a sample course. This course is created in draft status so that it’s not publicly available, and walks you through how to get started with Sensei LMS:

    Install a sample course

    You can reach the setup wizard at any time by going to Courses > All Courses, clicking the Help tab at the top, and then clicking the Setup wizard button:

    Launch the setup wizard

    What Else is in this Release?

    • Courses with any status are displayed in the Course Prerequisite dropdown. Previously, only published courses were listed.
    • We fixed an issue with duplicate content sometimes being imported.
    • We fixed an error in the setup wizard that occurred when navigating to a previous step.

    For Developers

    If you’re a developer, here’s what you need to know about Sensei LMS 3.5.

    Deprecated Code

    • includes/3rd-party/wordpress-importer.php – Deprecated the entire file.

    To update, please head on over to DashboardUpdates in the WordPress admin.

    Please note: While we have thoroughly tested this release, it’s always possible that we’ve missed something. We recommend that you test the update on a staging site before updating your live site.

    In WooCommerce Paid Courses 2.1, it’s easier than ever to remove a learner’s enrollment. No more searching for orders — learners can now be removed with a single click! And restoring their enrollment is just as easy!

    With this release, we are also bumping the minimum supported version of WordPress to 5.2 and PHP to 7.0 to match WooCommerce.

    Remove Enrollment

    For enrolled learners, a new Remove Enrollment link is displayed when hovering over a learner in Learner Management. Clicking this link removes the learner from the course, revoking their access. The status of any order, subscription or membership associated with the learner’s enrollment is unaffected.

    Please note that if the course is tied to a product, subscription or membership, and the learner purchases that product / subscription / membership again, they will be re-enrolled in the course:

    Learner Management - Remove Enrollment

    Restore Enrollment

    Unenrolled learners who previously purchased a course can have their enrollment restored by clicking the Restore Enrollment link. This will re-enroll the learner in the course, and enrollment will once again be controlled by the associated order / subscription / membership:

    Learner Management - Restore Enrollment

    Enroll

    Unenrolled learners who do not have an active order / subscription / membership associated with their enrollment (for example, for a free course or one where an administrator enrolled them directly via Learner Management) can be re-enrolled by clicking the Enroll link. Fundamentally it does the same thing as restoring an enrollment — it enrollers the learner in the course — only there is no order / subscription / membership controlling enrollment:

    Learner Management - Enroll

    We hope these changes help to streamline the management of your learners!

    For Developers

    If you’re a developer, here’s what you need to know about WooCommerce Paid Courses 2.1.0.

    Deprecated Code

    • Sensei_WC_Paid_Courses\Course_Enrolment_Providers\WooCommerce_Simple::maybe_trigger_order_trash_change

    To update, please head over to DashboardUpdates in the WordPress admin.

    Please note: While we have thoroughly tested this release, it’s always possible that we’ve missed something. We recommend that you test the update on a staging site before updating your live site.

    Take the All-New Course Outline Block for a Spin!

    Author: donnapep

    We’ve been hard at work developing our first block for Sensei LMS — the course outline block! This block streamlines the course building experience, and enables you to make simple design changes to the course outline that is displayed on the course page. Although the block is not yet released, we’re making it available now […]

     – Display a specific course page’s content by id.
  • No course categories found. – Display the course categories in a list. The categories will link to the archive pages. To only show top level categories, set the parent parameter to zero.
  • [sensei_unpurchased_courses] – A list of all courses linked to a WC product, which the current user has not yet purchased.

Language Packs

If a Sensei translation exists for your chosen language, it can now be installed and updated directly from WP admin.

To test this:

  • Go to our Sensei project on Transifex, and choose a language from the list (preferably one that is mostly translated).
  • Go to Settings > General in your WordPress dashboard and change your Site Language to your chosen language.
  • When you click ‘Save Changes’ your site’s language will change, and you should see a notification at the top of your dashboard telling you there is a Sensei translation available for your language.
  • Click ‘Install’ and the language pack will be installed. You should see a success message, and your Sensei admin pages should now display in your selected language.
  • Also test switching to a language that isn’t in the list on Transifex and make sure you aren’t prompted to install a language pack.

There are currently only a small number of language packs available, mostly with incomplete translations. We will be posting again soon with more details on how you can help contribute Sensei translations.

Other changes

There are several other changes in this release, which also need testing:

  • When lessons are completed, you will now see a “Next Lesson” button in the completion message.
  • Improved support for Twenty Fifteen theme
  • Added support for Twenty Sixteen theme
  • Improved support for Storefront theme
  • If you view a quiz that has no questions, you will be redirected back to the lesson
  • All chosen dropdowns have been replaced with Select2
  • Questions can now have a zero grade
  • Course management metabox on Edit Course screen which links directly to learner management and grading.

Important notes for developers

  • Sensei()

    now officially replaces

    $woothemes_sensei

    , which will be deprecated in a future update.

  • The php classes are now auto loaded when needed instead of loading all classes for every request. New filters for all sensei core post type for easier customization.
  • You’ll notice that our class naming convention is no longer class-woothemes-sensei but rather class-sensei.
  • Better class and function comments to assist developer IDE with discovery.

How to test

If you’re interested in helping us test this update, please complete this short form, and we’ll get back to you soon with further details:

Sign up for beta testing

Timeline

This round of beta testing will be open until Monday 30th November, so the sooner you can test the better.

6 thoughts on “Sensei 1.9 beta – Call for testers

  1. Hi there!
    Any idea when Sensei 1.9 will be released?
    Thanks!

    1. Scheduled for some time next week, Denis 🙂

      1. Great! Thanks, Dan!

  2. Hi Dan, what a wonderful plugin. As designer I had for my customer setup a site with some restricted & paid content and a kind of user forum for asking learners each other and teacher. This site is not a schooI more a health portal. I gave bbpress, Memberships and Subscriptions a chance, but each time I saw limitations which did not work in case of customer whishes, I remembered how easy this would be if customer would switch over to sensei. I am happy to see next version.
    Beside the only thing which frustrates me is poor theme compatibility. I made a copy of template files and saved in child theme folder, but I was suprised that it works. It would be better, if knewed what I did? This is my limitation.

    Thanks, Adrian.

  3. Any news on the release, guys? The 1.8.8 bug not allowing to show the lessons to unregistered users is really hitting hard on my SEO 🙁

    1. It’s scheduled for tomorrow (2nd February). Sorry for the delay.

Leave a Reply

Your email address will not be published. Required fields are marked *