Posted on

Sensei Certificates and Sensei Course Progress 2.0 Betas

We’ve just released new betas for Sensei Certificates and Sensei Course Progress, two of our most popular extensions.

These betas are a continuation of the work being done for Sensei 2.0. In particular, they add compatibility with the version of Sensei that will soon be available on WordPress.org. The existing extensions are already compatible with the soon-to-be-released Sensei with WooCommerce Paid Courses plugin.

Please note that both Sensei Certificates 2.0 and Sensei Course Progress 2.0 requires a minimum Sensei version of 1.11.0 and a minimum PHP version of 5.6.

Sensei Certificates

Here’s what else you’ll find in the Sensei Certificates release:

You can view the full change log or download the beta.

Sensei Course Progress

For Sensei Course Progress, we’ve fixed a bothersome bug that was affecting some themes like Divi and OceanWP. If your course progress widget didn’t look quite right before, it should look just fine with Sensei Course Progress 2.0.

You can view the full change log or download the beta.

If you find a bug, please submit a new issue for Certificates or for Course Progress. You are also welcome to leave a comment here.

As always, please test 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.

What about the other extensions?

We have a beta ready now for Sensei Content Drip. If you’d like to test that extension, and have an active license for it, please drop a comment here to express your interest. We’ll be releasing betas for the remaining extensions over the coming days.

Posted on

Sensei 2.0 Beta is Here!

Today we’re pleased to announce that Sensei 2.0 is available for beta testing!

There are some important changes in this release:

  • We’ve split Sensei into two plugins – Sensei (free) and WooCommerce Paid Courses (paid). After upgrading Sensei, those with a valid license will have Sensei renamed to Sensei with WooCommerce Paid Courses, which is a bundle of Sensei and WooCommerce Paid Courses. You can read more about this change here.
  • The new minimum required version of PHP is 5.6.
  • The new minimum required version of WooCommerce is 3.0.
  • The Access Permissions setting now only controls lesson content, not lesson and course content.

Everything else . . .

  • We fixed a conflict between the Jetpack shortcodes module and Sensei that caused Sensei videos not to display.
  • We fixed the lesson order changing when a lesson was updated in the classic editor.
  • We fixed completed modules being displayed as “In Progress”.
  • We’ve changed the text domain from woothemes-sensei to sensei.
  • When Sensei is first activated, a pop-up appears asking you to join our mailing list. This pop-up will only appear on sites that have never had Sensei installed before.
  • We added a new Sensei extensions page available from the Sensei > Extensions menu.

There are also a variety of minor tweaks, new hooks, and fixes. We won’t go into detail here, but you can see the full list of changes if you’re interested!

Template File Changes

  • All templates – Changed text domain from woothemes-sensei to sensei
  • content-course.php – Call Sensei_Course::get_course_loop_content_class instead of WooThemes_Sensei_Course::get_course_loop_content_class
  • single-quiz/question-type-*.php – Call Sensei_Question::get_template_data instead of WooThemes_Sensei_Question::get_template_data

Deprecated Functions and Methods

Sensei_Main

  • Sensei_Main::sensei_woocommerce_email_course_details has been deprecated in favour of Sensei_WC::email_course_details
  • Sensei_Main::sensei_woocommerce_reactivate_subscription has been deprecated in favour of Sensei_WC::reactivate_subscription
  • Sensei_Main::sensei_woocommerce_subscription_ended has been deprecated in favour of Sensei_WC::end_subscription
  • Sensei_Main::sensei_woocommerce_complete_order has been deprecated in favour of Sensei_WC::complete_order
  • Sensei_Main::sensei_woocommerce_cancel_order has been deprecated in favour of Sensei_WC::cancel_order
  • Sensei_Main::sensei_activate_subscription has been deprecated in favour of Sensei_WC::activate_subscription
  • Sensei_Main::woocommerce_course_update has been deprecated in favour of Sensei_WC::course_update
  • Sensei_Main::sensei_get_woocommerce_product_object has been deprecated in favour of Sensei_WC::get_product_object
  • Sensei_Main::disable_guest_checkout has been deprecated in favour of Sensei_WC::disable_guest_checkout
  • Sensei_Main::virtual_order_payment_complete has been deprecated in favour of Sensei_WC::virtual_order_payment_complete
  • Sensei_Main::check_user_permissions has been deprecated with no replacement

Sensei_Utils

  • Sensei_Utils::sensei_is_woocommerce_present has been deprecated in favour of Sensei_WC::is_woocommerce_present
  • Sensei_Utils::sensei_is_woocommerce_activated has been deprecated in favour of Sensei_WC::is_woocommerce_active
  • Sensei_Utils::sensei_customer_bought_product has been deprecated in favour of Sensei_WC::has_customer_bought_product

Sensei_Frontend

  • Sensei_Frontend::activate_purchased_courses has been deprecated in favour of \Sensei_WC_Paid_Courses\Courses::activate_purchased_courses
  • Sensei_Frontend::activate_purchased_single_course has been deprecated in favour of \Sensei_WC_Paid_Courses\Courses::activate_purchased_single_course
  • Sensei_Frontend::sensei_woocommerce_in_cart_message has been deprecated in favour of Sensei_WC::course_in_cart_message

Sensei_Course

  • Sensei_Course::get_product_courses has been deprecated in favour of Sensei_WC_Paid_Courses\Courses::get_product_courses
  • Sensei_Course::get_product_courses_query_args has been deprecated in favour of Sensei_WC_Paid_Courses\Courses::get_product_courses_query_args

Sensei_WC_Utils

  • Sensei_WC_Utils::wc_version_less_than has been deprecated in favour of version_compare( WC()->version, $str, '<' )
  • Sensei_WC_Utils::is_product_variation has been deprecated in favour of $product->is_type( 'variation' )
  • Sensei_WC_Utils::get_order_id has been deprecated in favour of $order->get_id()
  • Sensei_WC_Utils::get_product has been deprecated in favour of wc_get_product
  • Sensei_WC_Utils::get_parent_product has been deprecated in favour of wc_get_product
  • Sensei_WC_Utils::get_formatted_variation has been deprecated in favour of wc_get_formatted_variation
  • Sensei_WC_Utils::get_product_variation_data has been deprecated in favour of \Sensei_WC_Utils::get_variation_data
  • Sensei_WC_Utils::get_product_from_item has been deprecated in favour of $item->get_product()
  • Sensei_WC_Utils::get_checkout_url has been deprecated in favour of wc_get_checkout_url

Other

  • sensei_wc_add_to_cart has been deprecated in favour of Sensei_WC::the_add_to_cart_button_html
  • sensei_check_if_product_is_in_cart has been deprecated in favour of Sensei_WC::is_product_in_cart
  • sensei_simple_course_price has been deprecated in favour of Sensei_WC_Paid_Courses\Frontend\Courses::output_course_price
  • is_woocommerce_active has been deprecated with no replacement
  • sensei_check_woocommerce_version has been deprecated with no replacement

Deprecated Shortcodes

Additionally, the following legacy shortcodes will now log deprecation warnings. A notice will also be displayed on the front-end that is only visible to users with the edit_posts capability (i.e. it won’t be visible to students or guests):

  • newcourses
  • featuredcourses
  • freecourses
  • paidcourses
  • usercourses
  • allcourses

Deprecated Hooks

  • sensei_show_delete_course_button (the Delete Course button that may appear on the My Courses page will be removed in Sensei 4.0)
  • sensei_merge_courses_with_parent_product has been deprecated in favour of sensei_wc_paid_courses_merge_courses_with_parent_product
  • sensei_wc_subscriptions_get_subscription_types has been deprecated in favour of sensei_wc_paid_courses_subscriptions_get_subscription_types
  • sensei_wc_memberships_auto_start_course has been deprecated in favour of sensei_wc_paid_courses_memberships_auto_start_course
  • sensei_wc_memberships_auto_start_courses has been deprecated in favour of sensei_wc_paid_courses_memberships_auto_start_courses
  • sensei_wc_single_add_to_cart_button_text has been deprecated in favour of sensei_wc_paid_courses_add_to_cart_button_text
  • sensei_wc_order_statuses has been deprecated in favour of sensei_wc_paid_courses_order_statuses

Release Testing

We’d like to keep Sensei 2.0 in beta for the next 3 weeks.

If you’d like to help us test Sensei with WooCommerce Paid Courses, please fill out this form. The beta will be sent to those users who have an active Sensei license, so please be sure to enter the email address you used to purchase Sensei.

If you do not have an active Sensei license but are still interested in testing, you can download the free beta version of Sensei here.

To test translations, you will need to rename the .po and .mo files inside the /wp-content/languages/plugins folder from woothemes-sensei-{$locale}.{$ext} to sensei-{$locale}.{$ext}. This step is required because we still need to migrate Sensei translations from Transifex to GlotPress and have them use the new text domain. Unfortunately, we are unable to complete this step until after Sensei is listed on WordPress.org.

Also, we have not yet updated our extensions to work with Sensei 2.0. We will be working on that next while the beta is in testing. UPDATE: We now have betas for Certificates, Course Progress and Content Drip.

During testing, if you come across a bug, please submit an issue on Github or leave a comment here.

As this is a beta release, please test it 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.

Thanks to all of our testers and contributors!

Posted on

Upcoming changes in Sensei 2.0

There are some updates coming to Sensei! Nothing changes for you immediately, but we wanted to let you know what’s new — and why.

When Sensei 2.0 launches in a few weeks, it will be available as two separate plugins – a free version available on WordPress.org for anyone who wants to offer online courses on their website, and a WooCommerce Paid Courses extension for those who’d like to sell courses through WooCommerce.

Why are we doing this?

We want to make it possible for anyone who wants to create online courses to be able to do so with Sensei. By creating a free version, we draw closer to realizing our vision of democratizing online learning.

What does this mean for me?

If you currently have a valid Sensei license for your site, nothing changes in Sensei 2.0. Your existing Sensei plugin will continue to function as before, and you’ll continue to get updates and support.

(Eventually, there will be a migration process to seamlessly transition your site from Sensei to Sensei + WooCommerce Paid Courses, but that won’t happen until after the release of Sensei 2.0.)

I have a question.

Ask it! We invite you to add a comment to this post with any questions you have.

Posted on

Sensei Certificates 1.1.1 Beta

A beta release of Sensei Certificates has just been released. This release contains two new translations and some bug fixes. You can download it here.

Here’s what’s in this beta release:

If you find any problems with this beta, please leave a comment or open an issue. Thanks!

Posted on

Sensei 1.12.2 Has Shipped

Sensei 1.12.2 is now available. This release fixes some PHP warnings and security issues. We recommend updating to 1.12.2 as soon as possible.

Here’s what you’ll find in this release:

Please report any issues you may find in the comments or on Github. Thank you!

Posted on

Sensei 1.12.2 Beta 2 Is Out

Sensei 1.12.2 Beta 2 is now available for testing. You can download it here.

Here’s a list of what’s been fixed in this beta:

Please report any issues you find in the comments. Thanks!

Posted on

Sensei 1.12.2 Beta 1 is Ready for Testing

Today we’ve released Sensei 1.12.2 Beta 1. You can download it here.

This releases touches many files across the entire codebase. As such, we encourage everyone to test Sensei functionality in both WP admin and on the front-end of your site.

What else can you help test?

Please report any issues you find in the comments. Thanks!

Posted on

What’s New in Sensei Media Attachments 1.0.1

We’ve just shipped a release of Sensei Media Attachments. This is a maintenance release which updates the location of the media files, fixes some translation strings, fixes some coding standards errors, removes the use of a deprecated Sensei hook, and adds Russian translations.

Please refer to the change log for the full list of changes in this release.

Posted on

Sensei 1.12.1 Release Notes

Sensei 1.12.1 is now available. This release patches some theme compatibility bugs introduced by Sensei 1.12.0, plus fixes a couple of other issues patched by some of our awesome third party developers.

Here’s what you’ll find in Sensei 1.12.1:

Special thanks to @MustafaEltayeb for letting us know and helping us investigate the comment issues.

Theme Compatibility and You

If you’ve made any modifications to your theme in the past to enable it to work with Sensei, but have not explicitly declared support for it, it’s possible that your theme may not look as it did prior to Sensei 1.12.

To fix this, please ensure that you add the following code snippet to your theme, which formally declares Sensei support:

add_action( 'after_setup_theme', 'declare_sensei_support' );

function declare_sensei_support() {
    add_theme_support( 'sensei' );
}

Read more about disabling theme compatibility.

Posted on

What’s New in Sensei Course Progress 1.0.8

We’ve just shipped a release of Sensei Course Progress that fixes an issue with the widget display, removes some PHP notices, and updates the Russian translations.

Widget Display Issue

Previously, the widget was not displaying lessons that were not a part of a module. If the course had no modules at all, the widget would only display the course title and nothing else.

This has been fixed in 1.0.8. The widget now displays all modules that are not in a module under the heading “Other Lessons”.

Please refer to the change log for the full list of changes in this release.