Sensei 1.9.3 bug fix release

Sensei 1.9.3 is now available. See our documentation for details of how to update.

This release fixes several bugs, including:

  • Message titles now link to the individual messages.
  • Make sure Sensei does not affect the display of blog posts.
  • Courses linked to product variations can now be purchased.
  • Make sure lessons can’t be viewed until the prerequisite is complete.
  • Fixed the course component widget for active and completed courses.
  • Ensure courses can’t be accessed if linked to a subscription that is on-hold, cancelled, or expired.
  • Improved appearance of tabs when using

    Login

  • Added links to “Docs”, “Configure” (Settings), and “Support” in the plugins page.

You can view the full changelog here.

As always, if you experience any issues with this release, please submit a support ticket and our ninjas will be happy to assist.

Sensei 1.9.2 bug fix release

Sensei 1.9.2 is now available. See our documentation for details of how to update.

This release fixes several bugs with the way lessons and course are displayed, including:

  • Use the correct WooCommerce statuses when checking if an order is acceptable.
  • Avoid fatal error when WooCommerce is not activated
  • Ensure the “Start taking this course” button shows up for logged in users.
  • True/false questions should not have default values.
  • Fixed up the course component widget.
  • Added the missing preview label for preview lessons that appear in modules on a single course.
  • Removed users saved data from lesson when they are removed.
  • Removed complete lesson button on lesson when the current user is not taking the lessons course.
  • Hide preview if user is already taking course.
  • Creating sensei pages now updated correctly within settings.
  • Hide add to cart if the course is already in cart.

You can view the full changelog here.

As always, if you experience any issues with this release, please submit a support ticket and our ninjas will be happy to assist.

Sensei 1.9.1 bug fix release

Sensei 1.9.1 is now available. See our documentation for details of how to update.

This release fixes several bugs including:

  • Fixed a fatal error on certain hosts by providing a direct path to woocommerce hooks loading file.
  • Ensure that lessons display full content, not excerpt, for registered users.
  • Ensure that course description is visible on single course page.
  • Ensure preview lessons are visible when logged out.
  • Ensures boolean question type html shows both false and true option correctly.
  • Hide login message from users who are already logged in.

You can view the full changelog here.

As always, if you experience any issues with this release, please submit a support ticket and our ninjas will be happy to assist.

Sensei 1.9 Now Available

(Important: while we have thoroughly tested this release, it’s always possible that we missed something, so we strongly advise you to test the update yourself on a staging site before updating your live site.)

Sensei 1.9 is now available. See our documentation for details of how to update.

We have made a great effort to preserve backwards compatibility, however, there have been significant changes to templates, globals, and hooks, as well as the overall plugin structure, so it’s important to test thoroughly before updating. You can read more about the technical changes here.

Developers can also now refer to our Sensei Developer reference, which details all functionsand hooks in Sensei.

Other features in this release include language packs, new shortcodes, zero-grade questions, and improved lesson navigation.

Extensions

If you use any of the following Sensei extensions, you should also update them to the latest version to ensure they work properly with Sensei 1.9:

  • Sensei Certificates (1.0.12)
  • Sensei Content Drip (1.0.4)
  • Sensei Course Participants (1.1.3)
  • Sensei Share Your Grade (1.0.3)

As always, if you experience any issues with this release, please submit a support ticket and our ninjas will be happy to assist.

Take the Sensei 2015 Survey

It’s time for our annual Sensei customer survey, which helps us learn more about your Sensei needs, and refine our product roadmap based on your responses.

If you’re a Sensei user and you have 5 – 10 minutes to spare, please help us out by completing the survey. We really appreciate your feedback.

Take the survey

1.9 Release Candidate

Sensei 1.9 is almost ready for the final release, but to be 100% sure we didn’t miss anything we wanted to give you the latest changes for a final round of testing.

If you have been testing our alpha and beta versions, we would like to thank you very much for all your efforts. Your input has helped us to catch critical bugs. We’re happy to say that all reported bugs have been fixed.

If you’ve already signed up for beta testing, you’ll shortly be receiving an email with instructions for testing Sensei 1.9 RC1

If you haven’t, you can sign up here.

If you would like to know what has changed please see the 1.9 developer post: What has changed .

Also a reminder that translators can now translate Sensei 1.9 strings on Transifex.

1.9 Developers take note

Most of the items in this post have been mentioned in the beta release post, but I would like to go into further detail. Version 1.0 comes with a lot of under the hood improvements which paves the way for an even stabler learning platform.

These changes may likely affect extensions or themes that you have written although we have tried our utmost to ensure backwards compatibility in all instances.

This post touches on the following issues:

Template Files

For 1.9 we have revamped all template files except for the email system templates. Every single file has been completely changed. With this complete change it is even easier to modify the templates or to add more functionality into them. The files themselves are more readable and include more context.

Removed

  • content-no-permissions.php – Moved into no-permissions.php with new hooks
  • content-single-course.php –  Moved into single-course.php
  • content-single-lesson.php – Moved into single-lesson.php
  • content-single-quiz.php – Moved into into single-quiz.php
  • content-single-message.php – Moved into single-message.php
  • course-results/ course-info.php – Move to function and added via a hook
  • single-course / course-meta.php – Move into a function that is now added via a hook
  • woocommerce / add-to-cart.php – Move into a function that is now added via a hook
  • single-quiz/  quiz-questions.php – Moved into single-quiz.php
  • learner-profile /  learner-info.php – Move into a function that is now added via a hook
  • single-lesson/  lesson-meta.php – Move into a function that is now added via a hook
  • taxonomy-course-category.php – Removed, the taxonomy archive now uses archive-course.php
  • taxonomy-lesson-tag.php – Removed, the taxonomy archive now uses archive-lesson.php

Moved

  • wrappers/*  – moved to  globals/* 
  • single-course/course-lessons.php – moved to single-course/lessons.php
  • single-course/course-modules.php – moved to single-modules.php/modules.php

New

  • content-course.php – used with the loop-course.php ( not used in single course )
  • content-lesson.php – used with the loop-lesson.php ( not used in single lesson )
  • content-message.php – used with the loop-message.php ( not used in single message )
  • teacher-archive.php – used as a base for the teacher archive with all their courses. Similar to the `author.php` template in WordPress core, but for teachers specifically.

Plugins structure

If you’ve been around the Sensei internals you will have noticed that classes were always `class-woothemes-sensei-name.php`. This has now been renamed  with class-sensei-name.php. The same has been applied within the class name for consistency sake.

All classes have been moved from the /classes/ directory to the /includes/ directory which is now the place where all php functionality will reside.

We also had an `inc` directory in the root folder which held external libraries and company wide scripts. This is now moved into includes/lib/.

Global Sensei Object

Going forward the recommended way to access Sensei from a plugin or theme will be to use Sensei(). Most of the functionality will also be using a static function approach. Deprecated in 2.1 $woothemes_sensei, It will still work but using it will throw errors.

Deprecated Hooks

Hooks have been removed and newer more generic hooks put in their place.

Deprecated

Alternative

sensei_after_user_course_content

sensei_my_courses_content_inside_after

sensei_archive_title

sensei_archive_before_course_loop

sensei_before_user_course_content

sensei_my_courses_content_inside_before

sensei_breadcrumb

sensei_after_main_content

sensei_comments

sensei_after_main_content

sensei_complete_quiz

  sensei_single_quiz_content_inside_before

sensei_course_archive_header

sensei_course_content_inside_before

sensei_course_archive_main_content

sensei_loop_course_before

sensei_course_image

sensei_single_course_content_inside_before array( )

sensei_course_meta

sensei_single_course_content_inside_before

sensei_course_meta_video

sensei_single_course_content_inside_before

sensei_course_results_bottom

sensei_course_results_content_inside_after

sensei_course_results_content

sensei_course_results_content_before

sensei_course_results_info

sensei_course_results_content_inside_before

sensei_course_results_lessons

sensei_course_results_content_inside_after

sensei_course_results_top

sensei_course_results_content_inside_before

sensei_course_single_lessons

sensei_single_course_content_inside_after

sensei_course_single_meta

sensei_single_course_content_inside_before

sensei_course_single_title

sensei_single_course_content_inside_before

sensei_course_start

sensei_single_course_content_inside_before

sensei_learner_profile_content

sensei_learner_profile_content_before

sensei_lesson_archive_header

sensei_loop_lesson_inside_before

sensei_lesson_course_signup

sensei_single_lesson_content_inside_after

sensei_lesson_image

sensei_single_lesson_content_inside_before

sensei_lesson_quiz_meta

sensei_single_lesson_content_inside_before

sensei_lesson_single_meta

sensei_single_lesson_content_inside_after

sensei_lesson_single_title

sensei_single_lesson_content_inside_before

sensei_login_form

sensei_login_form_before

OR

sensei_login_form_after

sensei_message_archive_header

  sensei_archive_before_message_loop

sensei_message_archive_main_content

sensei_archive_before_message_loop

OR

sensei_archive_after_message_loop

sensei_message_single_title

sensei_single_message_content_inside_before

sensei_modules_page_after

sensei_single_course_modules_after

sensei_modules_page_before

sensei_single_course_modules_after

sensei_quiz_action_buttons

sensei_single_quiz_questions_after

sensei_quiz_question_type

sensei_quiz_question_inside_after $question_type

sensei_quiz_single_title

sensei_single_quiz_content_inside_before

sensei_single_course_modules_content

sensei_single_course_modules_before

OR

sensei_single_course_modules_after

sensei_single_main_content (Single Lesson)

sensei_single_lesson_content_inside_before

sensei_single_main_content  (Single Quiz)

sensei_single_quiz_content_inside_before

OR

sensei_single_quiz_content_inside_after

sensei_single_main_content ( Single Course)

sensei_single_course_content_inside_before

OR

sensei_single_course_content_inside_after

sensei_single_main_content  ( Single Message )

sensei_single_message_content_inside_before

OR

sensei_single_message_content_inside_after

sensei_woocommerce_in_cart_message

sensei_single_course_content_inside_before

Help us Translate Sensei

Sensei 1.9 is currently in the beta testing phase, and one of the new features included with it will be downloadable language packs. Sensei in your language at the click of a button!

We rely on the Sensei community to contribute translations. Sensei is currently being translated into 30 languages, but there are only 8 languages with over 80% of the strings translated.

Screen Shot 2015-11-23 at 18.42.13.png

We need more languages!

We are looking for bilingual/multilingual Sensei users who can help us translate Sensei into other languages.

How can I help?

If you know a language other than English, you can help. All you need to do is head over to our Sensei project on Transifex, and click HELP TRANSLATE “Sensei”.

You’ll be taken to a signup page where you can create a free account, and as soon as that’s done you can start translating into any of the listed languages.

If your language isn’t listed, you’ll need to request a new language, and once we’ve approved the new language you can start translating.

I already translated Sensei. How can I contribute my translation?

If you’ve translated Sensei into your language, using POedit, Codestyling Localization, Loco Translate, or any other translation plugin, you can easily upload your .po file to Transifex. Just join the translation team for your chosen language and click on “Upload file”.

How do I use Transifex?

Translating in Transifex is simple, you just select an English string on the left, enter your translation on the right and click “Save”.

If you need more help using Transifex, check out their support pages.

If you have any questions about contributing translations, leave a comment below.