Your Moodle version

Blocks: Progress Bar

Maintained by My ugly mug Michael de Raadt
A time management tool for you and your students
  • A time-management tool for students
    • Shows progress in activities/resources of a course
    • Colour coded to quickly see completed/viewed
  • Teachers select which pre-existing activities/resources are to be included
  • Order by times/deadlines or course order
  • Overview page for teachers showing progress of all students
    • Identify and contact at-risk students
  • Combined progress on Dashboard page


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6


My ugly mug
Michael de Raadt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • My ugly mug
    Mon, Nov 16, 2015, 8:55 AM
    Hi, Jinxing Chen.

    If you could find out what tables that module access, you might be able to come up with an entry for it. Look at what is in the blocks/prorgress/lib.php file for the 'turnitintool' plugin for a similar entry. You might want to update to the latest version of Progress Bar before doing that.

  • Star
    Mon, Nov 16, 2015, 11:46 AM
    Hi, Michael
    Thanks for your advice, I have checked blocks/progress/lib.php, for block_progress_monitorable_modules function, return array has one item for turnitin

    'turnitintool' => array(
    'defaultTime' => 'defaultdtdue',
    'actions' => array(
    'submitted' => "SELECT id
    FROM {turnitintool_submissions}
    WHERE turnitintoolid = :eventid
    AND userid = :userid
    AND submission_score IS NOT NULL"
    'defaultAction' => 'submitted'

    From the above array item, it was for Turnitin Assignment 1 (turnitintool), not for Turnitin Assignment 2 (turnitintooltwo).

    Looking for DB, turnitintooltwo related some tables: mdl_turnitintooltwo, mdl_turnitintooltwo_courses, mdl_turnitintooltwo_parts, mdl_turnitintooltwo_peermarks, mdl_turnitintooltwo_ submissions, mdl_turnitintooltwo_users.

  • My ugly mug
    Thu, Nov 19, 2015, 9:48 AM
    You might try duplicating that array element and substituting in the new table names and check if the field names are the same. Let me know how that goes.
  • Picture of Catalina Cano
    Fri, Nov 20, 2015, 12:10 PM
    Hola, yo necesito agregar un nuevo campo de filtro dentro de la barra de progreso, he modificado el archivo overview.php sin embargo tengo un error que dice:
    Un paramétro necesario (city) faltaba
  • Picture of Akhilesh Semwal
    Fri, Nov 20, 2015, 8:45 PM
    Dear Michael,

    Category enrolled students are not coming in overview. only students enrolled in particular courses of that category are coming in overview. Please help.
  • Picture of Graham Moir
    Sat, Nov 21, 2015, 9:00 PM
    Hello. On Moodle 2.9.1+ and Progress Bar 2015111600 everything works fine for individual students, but when logged in as an administrator and clicking on 'overview of students' I get

    "Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request."
    This is on a course with 11 enrolled students. The error message doesn't give much info, but there don't appear to be any other problems with the site. Any suggestions to fix this or diagnose it further ?

  • Star
    Tue, Nov 24, 2015, 7:31 AM
    Dear Michael
    Our Uni start using Equella as main repository, therefor most of resources will be under Equella (mod_equella) resource module.
    Had try upgrade the progress bar block to the latest version, but seems can NOT recognize/monitored Equella resource. And same as Turnitin 2 (mod_turnitintooltwo) which I've comment before?
    What's the best method to make Progress bar block CAN recognize these two modules? Or have you got any plan to upgrade it on the next version?

  • Picture of Modestos Stavrakis
    Tue, Nov 24, 2015, 8:15 PM
    Hi Michael,

    I tried to upgrade the plugin to the latest version 2015111200 but I get blank screens with no error messages on the debug log. This happen to all courses with active block.
    My current version is 2013121800 running on 2.3.1+

    Is there something I am missing.

  • My ugly mug
    Thu, Nov 26, 2015, 6:20 AM
    Hi, all.

    Sorry for my delay in responding. I've been unwell.

    Akhilesh: I'm not sure what version you are using. The requirement for city and country was removed a few versions ago. If you are seeing an error, please report it on and provide more details about the error.

    Graham: It may be that the file permissions on the overview.php file are not set correctly. Others have reported that previously.

    Jinxing Chen: I don't have plans of adding Equella support myself as I don't have access to an Equella server, but if you do add an entry for it in the lib.php file, please share it with me so I can add it to the distributed version. I suspect it will be a log lookup, similar to other resources.

    Modestos: I found a problem with a recent change in older versions of Moodle. I suspect it was what was causing your problem. It relates to CONTRIB-5953. I'll push up a new version with a fix shortly. I suggest you upgrade your version of Moodle as well.
  • My ugly mug
    Thu, Nov 26, 2015, 6:25 AM
    Sorry, I mixed up Akhilesh and Catalina there.

    Akhilesh: The block shows involvement in a course. Students need to be enrolled in a course to discover their involvement in it. I don't think category enrolment creates an actaul enrolment for students, just a role. You might try using cohort sync instead, which seems to be more supported.
  • Picture of Rob Monk
    Fri, Nov 27, 2015, 11:49 AM
    Any chance of something like is described here ?

  • My ugly mug
    Fri, Nov 27, 2015, 12:33 PM
    Thanks for pointing me to that discussion, Rob.

    If the Progress Bar block is added to the Dashboard (formerly My Home) it shows all Progress Bars from all courses. Is that sufficient?

  • Picture of Rob Monk
    Fri, Nov 27, 2015, 1:58 PM
    I was trying to add the progress bar block to all students Dashboard by following these directions.
    Adding a block to the Dashboard for all users
    An administrator can add a new block to the Dashboard for all existing users (not only new users) as follows:

    Turn editing on for the front page
    Add the block to the front page
    Edit where the block appears and set the page contexts to 'Display throughout the entire site'
    Go to your Dashboard page and again edit where the block appears and set 'Display on page types' to 'Dashboard page'

    I can't add a progress bar to the front page.
  • My ugly mug
    Tue, Dec 1, 2015, 5:29 PM
    Hi, Rob.

    I see your problem. There is a constraint that the Progress Bar can't be added to the Front page, but then if you can't do that then you can't globally add it to the Dashboard under the new system. Bummer.

    I can set the Progress Bar so that it can be added to the Front page. Does it make sense to have it there, though? Possibly. I suppose if it acted the same way it acts on the Dashboard that should be OK. I'll have to double check the user is logged in.

  • My ugly mug
    Tue, Dec 1, 2015, 5:52 PM
    I've added a new version that can be added to the Front page. Hopefully that will allow you to do what you want.
Please login to post comments