Setup Sensei LMS

03: Setup Sensei LMS

  • Configure Courses
  • Run: ./sensei.sh
  • Create User Registration Feed
  • Configure Sensei LMS Settings
  • Add Login Button to Header

Run Sensei Shell Script


./sensei.sh is a shell script that will do the following:

  • Delete any auto generated courses, modules, or lessons
  • Update Bonsai Form (ID: 1) to have a product selection dropdown, total calculator, and a Stripe Credit Card form
  • Create an enrollment form (ID: 3)
  • Create LMS pages (enrollment, courses, and my courses)
My Courses page isn't showing a loop of enrolled courses
  • Create Courses
  • Create Lessons
  • Assign Lessons to Courses
  • Set Featured Images

Create a User Registration Feed


Navigate to Bonsai Form (ID: 1) > Settings > User Registration:

  • Add New
  • Create User
  • Username: Email
  • Email Address: Email
  • Password: Set Password via Email Link
  • Role: Subscriber
  • Custom Meta – Product: Product
  • Custom Meta – Total: Total
  • User Activation: Enable user activation by email from WordPress

Configure Sensei LMS Settings


General

  • Set Courses Page to courses
  • Set 'My Courses' Page to my-courses

Courses

  • Image Width – Archive: 870
  • Image Height – Archive: 256
  • Image Width – Single: 870
  • Image Height – Single: 256

Lessons

  • Course Lesson Images: Enable
  • Image Width – Course Lessons: 870
  • Image Height – Course Lessons: 256
  • Single Lesson Images: Eanable
  • Image Width – Single: 870
  • Image Height – Single: 256

Add Login Button to Header


  • Go to /site/web/app/themes/bonsai/resources/views/partials/header.blade.php
  • Comment out current CTA button in the navbar
  • Uncomment the login CTA button in the navbar

Leave a Reply

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

Bonsai

Become a pro member to get full access

Become Bonsai Pro Member
$5

Become a pro member to get full access

Become Bonsai Pro Member
$5

Join Devs to get full access

  • $0.00