Your Moodle version

Blocks: Course dedication

Maintained by Picture of CICEI ULPGC CICEI ULPGC, Picture of Aday Talavera Aday Talavera
This block allows to calculate estimated dedication time of participants within a course.
Moodle 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6


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.


This block is intended to be used only by teachers, so students aren't going to see it and their dedication time. However, 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 views:

  • Dedication time of the course: calculates total dedication time, mean dedication time and connections per day for each student.
  • Dedication time of a group: the same but only for choosed group members.
  • Dedication of a student: detailed sessions for a student with start date & time, duration and ip.

The tools have a link to download all data in spreadsheet format. The use is restricted by a capability to teachers and admins only. The table presentation is improved with Twitter Bootstrap styles if current theme inherits from bootstrapbase theme.

This block cannot be used in the site page, only in courses pages.

All texts in English and Spanish (AMOS).

Moodle automatic updates

If Moodle notifies you about updating this block and offer you two versions, always use the latest version which is tagged as "reset". That is the new Moodle 2 version as seen in the screenshots and have all the features.


Support is offered in English and Spanish in these forum discussions:

Code repository:



This block was developed by CICEI at Las Palmas de Gran Canaria University.

First version for Moodle 1.9 by Borja Rubio Reyes.

Updated and improved version for Moodle 2 by Aday Talavera Hierro.




Picture of CICEI ULPGC
CICEI ULPGC (Lead maintainer)
Picture of Aday Talavera
Aday Talavera: maintainer
Picture of Borja Rubio Reyes
Borja Rubio Reyes: author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Daniel
    Sat, Jul 6, 2013, 5:18 AM
    Merci... Thank you
  • Daniel
    Sat, Jul 6, 2013, 5:19 AM
    Thank you...
  • Picture of Huseyn Hoca
    Fri, Aug 2, 2013, 4:09 PM
    i set it but when i click teh "Calculate" the message is the File not found. What is the problem help please. Urgently...
  • Picture of CICEI ULPGC
    Sun, Aug 4, 2013, 4:14 AM
    I don't know why that messages its appearing to you. Can you tell us what version of the plugin and Moodle are you using? Also review your install because that could be the cause.
  • Picture of Daniel Torres
    Wed, Aug 7, 2013, 12:58 AM
    Hi, I have moodle 2.4 and this module does not work, What can I do?
  • Picture of CICEI ULPGC
    Thu, Sep 19, 2013, 5:35 PM
    Please accept our apologies. We uploaded a wrong version of the block to Moodle that didn't work. All errors should be fixed in current uploaded version.
  • Daniel
    Fri, Feb 7, 2014, 5:38 AM
    Do you propose we quickly your block for Moodle 2.6?
    Thank you in advance.
  • Picture of Aday Talavera
    Fri, Feb 7, 2014, 5:32 PM
    I updated the latest version to reflect that it still works in Moodle 2.6.

    We are working in a major update of this block along with users suggestions posted in the forums and here.
    We hope to release it soon.
  • Picture of Aday Talavera
    Tue, Feb 18, 2014, 12:35 AM
    We have published a major update of this block with great new features. You can see the new plugin description and screenshots for more information.

    Note: as a side effect translation changed a lot and we needed to delete all of them except English and Spanish, as these are the only languages we can translate.
  • Picture of German Valero
    Tue, Feb 18, 2014, 10:02 AM
    Hi Aday,

    Please look at :

    "From now on, whenever a maintainer publishes a new version of their contributed plugin, strings are automatically sent via a web service to the AMOS. This process respects the supported Moodle version setting so the strings appear at the correct Moodle branch in AMOS.

    This works for new plugins that will be uploaded into Plugins in the future, too. With the exception that the strings appear in AMOS only after when the plugin is approved as a part of its validation.

    This new mechanism works for all plugins that were uploaded into the Plugins directory and are written for Moodle 2.0 and higher. Contributed plugin maintainers are now encouraged to transfer all their current code to this new scheme:

    The plugin code itself should now contain just the English strings in the /lang/en folder.
    All other translations are to be maintained via AMOS and you as the plugin maintainer do not need to look after them any more! Translated strings for contributed plugins are part of the standard language packs generated by AMOS.
    If your plugin code currently contains some translation, you (as the plugin maintainer) should submit it as a contribution into AMOS prior to dropping it from your plugin's source code. AMOS stage page provides a form to upload strings from an existing PHP file. You are supposed to import all non-English string files you currently have shipped with your plugin (eg. /lang/cs/yourmodule.php) into the AMOS stage and then submit them language pack maintainers.

    We believe that this new procedure will make translation of contributed plugins much easier than it ever been - for both the plugin maintainer and translators, too.

    Should you have any questions regarding this new feature, do not hesitate to ask in AMOS support forum at this site."

    That means that you should not include the Spanish translation within the lang folder of your plugin. You can send it to the language pack maintainer (Benito Arias).

  • Picture of Aday Talavera
    Tue, Mar 4, 2014, 8:40 PM
    I updated the plugins fixing some bugs for older version of Moodle 2 and deleting spanish strings because now they are included in AMOS.
    If you use spanish translations, you should go to languages admin panel and use reload local translations option.
  • Picture of Aday Talavera
    Thu, Mar 6, 2014, 12:00 AM
    Please accept our apologies, last version still had unresolved errors with oldest Moodle 2 versions. In this version we tested more the code to ensure that all issues have been corrected.
  • avatar
    Thu, Apr 3, 2014, 8:22 PM
    I have Moodle 2.4 and course dedication 2012020105 currently installed.
    It notifies me to install :
    - 2014021400 for Moodle 2.x :
    - 2014030401 for moodle "reset" :

    Which of them should I use and why ? I didn't understood the difference, only in translation ?
    Will the times computed be the same ?

    Thank you, and thanks for your work.
  • Picture of Aday Talavera
    Thu, Apr 3, 2014, 8:38 PM
    Install the version tagged as "reset". That is the latest version with all the new features as seen in the screenshots.

    In the latest version, all contributed transalations were lost, and only spanish translation is in the AMOS right now.
  • avatar
    Thu, Apr 3, 2014, 9:05 PM
    Thank you very much.
1 2
Please login to post comments