Skip to content

Update from version 1.9.0 (Updating)

Reign Sensei Addon overviewPremiumGet Reign Sensei Addon →

Also called: upgrade, update to 2.0, migrate settings, old settings, keep my settings, lost settings after update, activity feed after update

Version 2.0.0 is a rebuild. Updating keeps every setting you had and deletes nothing.

  1. Update the add-on as you update any plugin.
  2. Open any admin page. The update moves your old settings on the first page load.
  3. Go to Reign Settings > Integrations, then Configure on the Sensei LMS tile.
  4. Read the Update status card. It shows what the update did.
  5. Open Member profiles and tick the activity events you want.

The Update status card lists one line for each step. Your cover image, card options and review settings match what you had before.

Four old settings still matter. The update reads them and writes the new ones.

1.9.0 setting 2.0.0 setting
Show the instructor on courses Cards show: Instructor
Show the price on courses Cards show: Price
Show reviews on courses Course reviews on, and Cards show: Rating
Default course image Default cover image

No. Old options, post meta and terms stay in the database. The new code does not read the group options, so they have no effect.

Why do my activity posts stop after updating?

Section titled “Why do my activity posts stop after updating?”

Version 1.9.0 posted course activity only inside groups linked to a course. Version 2.0.0 posts to member profiles and the sitewide feed instead. The update stores “no events” for Post to the activity feed. Your site posts nothing until you tick events in Member profiles. The Courses tab on profiles is on, as on new sites.

If reviews were on in 1.9.0, they stay on. Who can review is set to Any logged-in member, as 1.9.0 allowed. A site that did not use reviews starts with reviews off and Enrolled learners as the rule.

Then your site looks like a new install, so nothing is moved. It already has the defaults, so it loses nothing.

  • The update runs on any admin page load until it has run once, not only the first. The four old settings are keys inside the sensei settings of reign_options, not separate options. They are enable_avatar_courses, enable_prize_courses, enable_review_courses and default_course_img_url.
  • Run it by hand with wp reign-sensei upgrade. Running it twice changes nothing the second time. It prints one line per routine, saying what it did or “already done”.