Course dedication

Blocks ::: block_dedication
Maintained by Dan Marsden, Catalyst IT
This block allows to calculate estimated dedication time of participants within a course.
Latest release:
6575 sites
1k downloads
211 fans
Current versions available: 5

NOTE: This plugin has a new maintainer.

Thanks to the University of Canterbury for sponsoring the upgrade work to support Moodle 4.0 and the new report builder API.

Introduction

This block allows to see the estimated dedication time to a Moodle course by the participants of the course.

How dedication time is estimated?

Time is estimated based in the concepts of Session and Session duration applied to Moodle's log entries:

  • Click: every time that a user access to a page in Moodle a log entry is stored.
  • Session: set of two or more consecutive clicks in which the elapsed time between every pair of consecutive clicks does not overcome an established maximum time.
  • Session duration: elapsed time between the first and the last click of the session.

Features

This block is intended to be used only by teachers, however the block can be configured to show dedication time to students too.

Teachers can use a tool to analyse dedication time within a course. The tool provides three reporting methods:

  • Dedication time of the course: calculates total dedication time, mean dedication time and connections per day for each student, which you can filter by course group if required.
  • Dedication of a student: detailed sessions for a student with start date & time, duration and ip.
  • Report builder source: The plugin includes a custom report builder source to allow for site-level reporting to be generated.

Credits
Original developed by Aday Talavera, CICEI at Las Palmas de Gran Canaria University
Updated to support Moodle 1.9 - Moodle 3.X 
by Borja Rubio Reyes.
Support for Moodle 4.0 was sponsored by the University of Canterbury.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4

Contributors

Dan Marsden (Lead maintainer)
Borja Rubio Reyes: previous author
Aday Talavera: previous maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • CRYPTLAN FORMACION
    Mon, 13 Feb 2023, 9:03 PM
    hello, any timeline to have ready the block for moodle 4?
  • Dan Marsden
    Tue, 14 Feb 2023, 3:20 AM
    @Fer - please see previous comments here and the code in github smile
  • Vital Uran
    Fri, 3 Mar 2023, 7:16 PM
    Hi Dan, i deleted most of the logs during migration to 4.1, and now at the migrated site i cant see any of the times spent, or no new additional times are added. am i looking at the wrong place (report builder)?
  • Dan Marsden
    Wed, 8 Mar 2023, 7:22 AM
    @Vital, this plugin relies on the logs data to generate time spent, if you have deleted the logs, then it will not be able to calculate historical times. Also keep in mind that it uses a scheduled task to generate the data, so if you do not have cron running correctly it will not be able to generate the stats.
  • lalit Mittal
    Thu, 30 Mar 2023, 11:22 PM
    Hi @Dan,
    After installing the block_dedication plugin and when I am trying to get time spent on the course, and putting the start date and end date same, I am getting a "Division by zero" Error in moodle 4.1 but when I install the block_dedication version 3.9 in moodle 3.9, I am not getting any error. It is shown below

    Total dedication: None
    Mean dedication: None

    Any idea
  • Dan Marsden
    Mon, 3 Apr 2023, 7:27 AM
    @lalit - best place to report issues is in the github issues tracker, but that doesn't sound familiar. Please make sure your cron process is running and the scheduled task responsible for generating the data has run since you installed the plugin too.
  • Chris Gerardi
    Mon, 10 Apr 2023, 10:11 PM
    Hello!
    I have installed the plugin and now I see the block say:
    Dedication
    Time spent calculation task has not run yet.

    What should I be doing now in order to have this task run and generate the report?
  • Dan Marsden
    Tue, 11 Apr 2023, 9:25 AM
    @Chris - the latest version of the code relies on a scheduled task to generate the data for all courses - please ensure you have cron set up correctly on your site - if you would like to know how to trigger specific tasks manually the best place to ask for this sort of help is in the forums here on moodle.org.
  • Joaquín V
    Tue, 9 May 2023, 5:18 AM
    Hi, I am using the extension with moodle 4.1. I have two problems with the extension:

    1. When I want to obtain a report with the time spent on the course and I use the filter (up right), it is displayed but if I click on any of the filter options it closes automatically.

    2. If I click on the wheel of a certain user and choose the option "see session duration report" go to the report page but does not allow downloading the report. It returns the following error: A required parameter (userid) was missing.

    Any solution? Thank you
  • José Ignacio Trujillo González
    Tue, 11 July 2023, 5:33 PM
    I'm getting a real connection time of 185 hours on a student, but this block gives me 153 hours when I set the time between clicks to 150 and roughly 4 hours if I set the time between clicks to 1 minute.

    Am I doing something wrong? Is there any way to set the time between clicks higher than 150, so I can calculate the real time using this block? Seems to work better than the other Course Dedication tool we are using on our Moodle, but can't calculate the real time without raising the limit higher than 150, I think.
  • LIRO CONSULTORAS
    Mon, 24 July 2023, 11:33 PM
    Hola, no se que hago mal. Pero se me ha quedado de repente el tiempo parado y no actualiza. Cron se ejecuta cada 5 minutos. ¿Debo tocar alguna configuración? Gracias
  • Rudraksh Batra
    Thu, 27 July 2023, 11:29 AM
    Hi, After installing this, i cannot see the course dedication configuration screen, as per your screenshot, please advise from where i can see, however i noticed that it shows the complete session time, not the course spent time, i just want to see the course spent time for scorm module time spent, is it possible to get that time from this. pls advise
  • Amadeusz Swiderski
    Mon, 21 Aug 2023, 4:18 PM
    Greetings. Thank you for this extremely useful plugin. Lots of charter schools in the U.S. are required by law to provide this statistic to their administrators. It's also most excellent that it works with Moodle's report builder. However, I have an issue with locking things down because "Conditions" options never show as soon as I select the "User Dedication" as the report source. Conditions would allow Moodle admins to restrict who the audience gets to monitor which is crucial on a system with multiple schools/districts. Any ideas why this feature doesn't work? Is there any plans to update the plugin to fix/include conditions in report builder?
  • Dan Marsden
    Tue, 22 Aug 2023, 6:03 AM
    Thanks @Amadeusz - great to hear it's been useful... I'm never short of "Plans" smile If you're interested in helping by funding further development feel free to reach out privately and I can provide information on our rates, otherwise if you have internal development capabilities, pull requests are always welcome!! - what would also help is if you report any bugs/issues directly to the github issues tracker - thanks!
  • Ali Hastie
    Mon, 18 Sept 2023, 5:33 PM
    Hi, we are using Dedication block with Moodle 4.1 version and staff are asking about the selection of range of dates, which was there within the previous 3.11 version of the block. They want to filter Start of period and End of period dates but can't do this as there is only Session duration within the new filtering options? Cheers
Please login to post comments