Set mandatory time to be spent on each unit?

There's an option in CoursePress to set Timer for each unit and set a "Student Completion Time" which limits the time a student can take to pass the unit. Is there any way to add an option to set a "minimum" or "minimum - maximum" time *required* to be spent on each unit?

Ideally, an instructor could set to require a student to log in and out of each unit and spend a required amount of time in that unit before moving on to the next unit. Can it be added with some code snippet/mu-plugin?

  • Ari
    • Recruit

    Hey Philip,

    Hope you are well!

    This request exceeds the purpose of our support as this is not a feature of the plugin, also it doesn't possible by adding some mu-plugins or with some code snippet.

    However I would like to help out here! Please keep in mind that this feature requires some changes on our plugin's files. This means, they will be overwritten if you update the plugin in future.

    Please download the zip file and extract it, you will find 3 files here.
    replace the below files with the new ones:

    Before replace them please make sure you backed up these files if they get needed in any case.

    How it works?

    When you create the unit, in any of these unit modules, add the Completion Time in below format: Min Time, Max Time or only Max Time.
    Here is the example: 01:00, 03:00
    In this example the minimum time is 1 minute and the max time is 3 minute. Make sure you separated them by comma.
    Also you can skip the Min time by just adding only the max time, like: 03:00

    Now, when student visit the course page, he couldn't click on NEXT button, until he wait the minimum time.

    If you add the multiple Min time in a unit by adding in every modules, like:
    -- Unit One --
    - Module 1, min time: 30 seconds.
    - Module 2, min time: 20 seconds.

    Then the NEXT button will be enabled after 20 seconds, it will get the lowest time.

    Any Further Change
    I’m afraid out of scope of support that we can provide, you can see more here:

    If you need to customize it more or any other modification,then you can post a job in our job board where you can hire a developer to assist further:

    Please note that, no WPMU official staff members are allowed to work in the job board.

    Best Regards, Ari

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.