Posted on

Sensei 1.7.3 now available

Version 1.7.3 of Sensei has just been released, with the following changes:

  • Fixed an issue where multiple course completion emails were being sent, and multiple certificates generated.
  • Fixed an issue where prerequisite lessons were not being correctly seen as completed.
  • Gap fill questions now work even if the ‘pre-gap’ and/or ‘post-gap’ fields are left empty. The ‘gap’ field is now the only one required.
  • The ‘Analysis’ title on the Analysis page can now be translated.

We also made several other tweaks to improve performance and tidy up the markup. See the changelog for full details.

Previous updates

1.7.2 – 2015/02/17

  • Prevented the course being marked as complete when the first lesson was completed.
  • Added db indexes to improve performance
  • Fixed an issue with the course component widget for active courses
  • Made sure certificate links were displayed on single course and my courses page
  • Fixed timezone issue on duplicated lessons
  • Made sure only valid ungraded quizzes are displayed in Grading dashboard.
  • Fixed the excerpt display on lesson archives, and restored missing lesson statuses.
  • Ensured compatibility with WooCommerce 2.3

See changelog for full details.

1.7.1 – 2015/02/04

  • Preventing the Delete Course button displaying for paid courses.
  • Improved update script detection.

(Comments are closed on this post. If you are experiencing issues, please contact support via the link in the sidebar.)

Posted on 7 Comments

Sensei 1.7.0 now available – Don’t update before reading this!

It took us slightly longer than anticipated, but Sensei 1.7.0 (codename ‘Sprightly Springbok’) is now available.

As we mentioned previously, Sensei 1.7.0 brings major improvements all round to the speed and performance of your website. We’ve optimised the way Sensei interacts with the database, so you should now experience no decrease in load speed, no matter how many users, courses or lessons you have on your site.

Before you start updating though, please read the following important information.


We strongly recommend that you don’t update to v1.7 on your live site before testing on a staging site first. We suggest copying your live database to a staging site, and testing the update there, so you can make sure all your learner data is still accurate, and everything works as it should before you update your live site.

The update process requires a few manual updates (don’t worry, it only involves clicking a few links).

After updating Sensei you will see the following screen.
After updating Sensei you will see the following screen.

Clicking the first link will open a new window and run an update. When that update is complete you can close that window and then click the second link, and so on, until all the updates have been completed. Note that some of these updates may take a while to complete, especially if you have a lot of users/lessons on your site.

The process is fairly self-explanatory, but please review our previous post for further details, and if you want to know the technical details, you can read this article.

Note:  We also STRONGLY recommend putting your site in maintenance mode while you run the updates. If you have users actively taking courses while you update, then there’s a chance their data could be affected. You can use a plugin such as Ultimate Maintenance Mode to prevent users from accessing your site while the updates are running. (You’ll need to install and activate this plugin before you update Sensei).

Sensei Extension Updates

We also had to update most of our extensions to ensure compatibility with this release, so if you use any of the following extensions, you’ll need to update those to the latest version too:

  • Sensei Modules
  • Sensei Certificates
  • Sensei Course Progress
  • Sensei Course Participants
  • Sensei Content Drip
  • Sensei Share Your Grade

Note: Don’t update these extensions until you’ve updated Sensei, as they won’t work properly with versions prior to 1.7

New Features

I know we said there wouldn’t be any new features in this release in order to keep the performance update separate. But we couldn’t leave you completely empty-handed, so Sensei 1.7.0 introduces the following new features:

  • Multiple Choice multiselect – Multiple choice questions can now have more than one correct answer. You can add as many right or wrong answers as you like. If there is more than one correct answer, then learners will be able to select multiple answers when taking the quiz.


  • Question Description – We added a ‘Question Description’ field, in case any of your questions need a little more explanation (see screenshot above)
  • Gap Fill Auto-grading – Gap Fill questions can now be autograded along with multiple choice and true/false.
  • LaTeX support in quizzes – Using Jetpack’s Beautiful Math module, you can now easily insert complex mathematical formulae in your quiz questions and answers.

Use the links above to view the documentation for each of these new features.

As always, if you encounter any issues in testing, or you find any bugs, please submit a support ticket and we’ll be happy to help you out.

Huge thanks to Psycle Interactive for their invaluable contributions in this release.

Posted on

Sensei Certificates 1.0.7 now available

We just released Sensei Certificates v1.0.7, which contains the following fixes:

  • Certificates will now display users’ First and Last Name if provided, otherwise it will use the Display Name as set in the user profile.
  • Certificate image can now use portrait orientation without any of the image being cut off.
  • Fixed a display issue on the form fields in the template editor.
  • Fixed the ‘visit plugin site’ link on the Plugins page.
Posted on

Sensei 1.6.9 now available

Version 1.6.9 of Sensei has just been released with some important fixes:

  • Fixed an issue where quizzes were not showing up due to some quizzes being duplicated*
  • Fixed the Quizzes panel in the Question edit screen, so it shows all quizzes that the question is used in.
  • Fixed chosen dropdowns on course edit screen
  • Fixed the csv export link on the Analysis overview page. This now exports all results, not just the current page.
  • Updated the link on the theme support notice for themes that don’t declare Sensei support, to link to the correct documentation page.
  • Added ‘view course’ and ‘view lesson’ links after publishing/updating a course/lesson
  • Added an ‘Edit Course’ link to the admin toolbar when viewing a course page.

Note: This fix prevents quizzes from being duplicated for any new lessons. If you have existing lessons where you can’t see the ‘view quiz’ button, or the quiz is empty when it should have questions, then you need to do the following:

  • Go to /wp-admin/edit.php?post_type=quiz to view all your quizzes (you’ll need to enter that in the address bar, as there is no link to it).
  • If you see any duplicated quizzes, view each one to find the one that contains your quiz questions, and delete the empty ones.
  • This should fix your quizzes

If this doesn’t help, or you don’t have any duplicate quizzes and your quizzes still aren’t working, then please submit a support ticket, as it’s most likely a different issue.

Posted on 2 Comments

Release 1.6.8 available today

We’ve been hard at work trying get you the latest features in version 1.7.0 but while working at this we’ve picked up a few other pesky bugs which we wanted to squash. We also didn’t want you to wait on these so today you can get the Sensei version 1.6.8 which fixes the following issues:

  • We’ve had an issue with lessons where the “View Quiz” button would not show up for certain lessons.
  • The quiz submission email was being sent out to the admin account instead of the course teacher.
  • The login logout link didn’t allow you to specify multiple words. For example in certain languages login is 2 words. This broke the way it works. Please read more about how this affects you here.

Please go to your account to get the latest version or if you have the WooThemes helper installed please updated the plugin as you would normally.

Posted on 20 Comments

Important Information about Sensei 1.7

Sensei 1.7 is very close to completion, and we wanted to give you all a heads up about the changes in this version.

This release will consist solely of a major code refactor to do with the way Sensei stores learner data, which will solve the scaling issues that certain users have been seeing on sites with large amounts of data. It will greatly improve the speed of your site, particularly the Sensei-related pages on the frontend and in the dashboard.

Manual Updates Required

The changes we’ve made will require some manual updates to convert all of your existing data to the new structure.

Note:  We STRONGLY recommend putting your site in maintenance mode while you run the updates. If you have users actively taking courses while you update, then there’s a chance their data could be affected. You can use a plugin such as Ultimate Maintenance Mode to prevent users from accessing your site while the updates are running. (You’ll need to install and activate this plugin before you update Sensei).

You’ll still be able to update Sensei via the Dashboard > Updates page as usual, but once Sensei is updated to v1.7 you will be taken to a new page that will force you to run certain Sensei-specific upgrades before you can use your WordPress dashboard for anything else. Running the upgrades is simply a matter of clicking on each upgrade link in the given order, so it’s easy to do, but critical in order to get your site running correctly.

Once you’ve completed those upgrades you’re good to go and you will have access to your entire WordPress dashboard again. You should now notice a significant improvement in the loading speed of your Analysis, Grading and Learner Management pages.

Data Discrepancies

After running the updates, you may notice that some of the data in your Sensei admin pages is slightly different than before. There are several reasons for this:

  1. ANALYSIS: If you had any courses marked as ‘private’ before you ran the update then the total course count will have increased as it now counts both public and private courses.
  2. ANALYSIS: Some of the active vs completed counts may be a bit different – this will be because of inconsistent data stored previously – the new counts are correct.
  3. GRADING: The numbers for each of the quiz statuses don’t add up to the total number – this is because we are no longer counting lessons without quizzes in any of the statuses, but the total count still includes them.
  4. GRADING: Some of the ungraded quizzes have disappeared – this will be for the same reason as #3.

Test First!

We always recommend testing any plugin update on a staging site before you update your live site, and in this case we can’t stress that strongly enough.

Our recommendation is to copy the database from your live site into a staging site so you can test the update with real data, and make sure everything goes smoothly, before applying it on your live site.

Where are all the Features?

This is such an important update, we wanted to keep it separate from any new features, so we can ensure it goes as smoothly as possible for everyone.

Don’t worry though, the features we had planned for 1.7 have just been bumped to v1.8, which will be following very shortly after. You won’t have long to wait for more awesomeness! Check out our roadmap for details of the planned features.

Technical Details

If you’re interested to know the technical details of what will be changing in v1.7, we’ve written an article about it in our knowledge base.

We’ll post again here when 1.7 is ready. Subscribe to make sure you don’t miss it!

Posted on

Version 1.6.7 available

We’re happy to announce the release of the Sensei version 1.6.7 . This is a bug fix release, which goes a long way to make sure all those pesky little bugs are squashed.

Please download the latest version from your dashboard or Use the Helper plugin on your site for a one click update.

What we’ve changed:

Fixes ( Bugs squashed )

  • Lesson complete class assigned to the right lessons. The lesson complete class was not assigned to the right lessons on the single course page.
  • Remove pagination from the courses widget component. The course specific widgets were erroneously affected by the global page pagination query parameters. Paged=2 would cause the widgets to come up empty.
  • Remove php notice on accessing lesson_completion and using undefined variables. This simply removed the notice which also avoids any bugs related to an undefined index in future.

Tweaks ( small alterations )

  • Prevents sending email when a lesson has no quiz questions.
  • When changing the lesson author, the quiz author is also updated accordingly.
  • Added text filter to the sign up message.
  • Hide ‘reset quiz’ and ‘view quiz’ buttons for non logged-in users and update the access settings text to reflect the correct logic.
Posted on

Sensei 1.6.6 fix release now available

Sensei 1.6.6 is now available via automatic update in your dashboard.

This release contains several fixes, which you can read about in the changelog.

We also added a dashboard notice for sites using a theme that doesn’t declare Sensei support.

The ‘back to course’ and ‘back to module’ links have now also been comined into a single ‘breadcrumb trail’. We also released Sensei Modules 1.0.8 to account for this change, so if you use Modules, you should update that extension too.