Need a way to ensure that a student spends the requisite time on a lesson? Element LMS’s Lesson Timer for Sensei solves this problem by providing a visual countdown timer and disabling the “Complete Lesson” button until the countdown has hit zero.
* Set a required time for each lesson in increments of one minute.
* Optional warning message if learner leaves the lesson.
* Auto-complete the lesson when the timer reaches zero.
* Pause the lesson time when the browser is not in view.
* Disable lesson timer by role.
* Customize timer look and feel through css.
Lesson Timer for Sensei has been tested with WooTheme-Sensei and WooThemes Sensei-module, and the latest versions of Chrome, IE, Safari, Firefox and Opera.
Element LMS is a Silver WooExpert with a focus on using WordPress to deliver online learning. Using Sensei and the Element suite of plugins, we transform WordPress into a SAAS online learning environment. We host and support our Learning Management System (LMS) for clients. For more information about Element LMS and our work, please goto http://www.elementlms.com
- Unzip sensei_lesson_timer.zip.
- Upload the sensei_lesson_timer folder (the folder itself, NOT it’s contents) to the /wp-content/plugins directory.
- Activate the plugin through the Admin Controls under Plugins > Installed Plugins.
How do I set the time for the countdown timer within a lesson?
When you edit a lesson, set the lesson time in Lesson Information.
Can I set a value of less then one minute?
The current version supports 1 minute increments.
Bijdragers & ontwikkelaars
“Element Lesson Timer for Sensei” is open source software. De volgende personen hebben bijgedragen aan deze plugin.Bijdragers
- Update Tested version up to WordPress 5.8.1
- Allow configuration of the timer display size
- Added support to Sensei 3.x – Fix broken Timer Settings
- Updated Readme.txt description and features list.
- Fixed the screenshots not appearing in WordPress.org site.
- Added message about Element LMS.
- Fix timer for lessons with quizzes. Now, timer will not allow quiz to be taken until time runs out.
- Update to work with most recent version of Sensei, 1.9.5.
- Fix missing post-type selector setting, which broke with new version of Sensei.
- Fix missing user-role selector setting.
- Fix a few bad variable names to clean up notices in the debug log.
- Fix issue with plugin not working when installing plugin from Github (https://github.com/Automattic/sensei).
- Improved logic to disable click on ‘Complete Lesson’ and ‘View the lesson quiz’ button while the timer is active.
- Removed previous logic to imply Quizzes were supported. This is being rewritten and will be added in a later release.
- Added / Improved logic to prevent timer from showing when users has already completed Lesson.
- Added / Improved logic to prevent timer from showing when users has not registered for Course.
- Rewrote logic to determine post types to use with timer. Previous logic loading all registered post_types and really only needed to check if the Sensei lesson post type is registered.
- Add check to ensure Sensei plugin is installed and active before Sensei Lesson Timer plugin initialization.
- Reduced the timer placement options via Settings. This can still be managed via a filter.
- Removed styling previously applied by default to the timer. Styling can now be done within the theme.
- Removed the many individual settings filters with single filter when the front-end page loads. The filter ‘sensei_lesson_timer_settings’ passes the complete array of settings which will be used for the timer display. This will make it easier to override the option by knowing all the settings at once. As a second argument to the filter is the current queried object. Included in this array is a single item ‘show_timer’ set to true. If returned value of false the timer will not be shown.
- Also as part of the settings filter array are three new items ‘form_element_cursor’ CSS cursor value added to the lesson submit button. Default is ‘not-allowed’. ‘form_element_title’ if not empty will add a title element to the button. ‘form_element_class’ if not empty well add this custom class to the button. Not the timer already adds the class ‘slt-active-timer’ to the button.
- Cleanup unused and commented out code
- Added proper documentation block on all functions
- Rework plugin initialization to not use global variable.
- Added support for i18n translations. see /languages directory content.
- Moved plugin settings to be within Sensei > Sensei Settings. Look for new tab ‘Lesson Timer’.
- Correct timer displays to include leading zero digits.
- Added settings option to auto-submit Lesson form when timer reaches zero.
- Added settings option to control where the timer digits are displayed in relation to lesson complete button. Options are Outside Right (default), Outside Left, Hide Button, Add timer to button text, replace button text wth timer digits.
- Added WPML Translation configuration file wpml-config.xml to support translation of text and values via WPML
- Added setting (Settings > Reading) to show warning message to user if they attempt to leave page with an active time. (email@example.com)
- First release version.