Progress Bar

Blocks ::: block_progress
Maintained by My mugMichael de Raadt
A time management tool for you and your students
Latest release:
4603 sites
187 fans
Current versions available: 2

Please use the Completion Progress block instead if this.

  • Faster and more efficient
  • Easier to use
  • More compatible with additional plugins

The Progress Bar block will no longer be developed and is kept here for historical reasons.

  • 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 mug
Michael de Raadt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Tue, Dec 4, 2012, 4:23 PM
    hello Michael,

    the problem occurs with a contributed theme. I can't remember which theme that was. But I don't that bothers because that theme was ugly.. Probably nobody uses it. But than you for your reaction. :D
  • Tue, Dec 4, 2012, 4:24 PM
    By the way, are you going to build a progressbar for Moodle 2.4?
  • My mug
    Tue, Dec 4, 2012, 9:18 PM
    Hi, Mitchell.

    I will probably update the block soon, but in the meantime, the existing version will continue working in 2.4.
  • Thu, Dec 6, 2012, 4:20 AM
    Hi Michael,

    Thank you for your reaction. Keep up the good work!! :D
  • My picture
    Thu, Dec 13, 2012, 12:24 AM
    Alo Michael,

    I just wanted to thank you first for this useful block that we use in our blended learning course 'Msc in diabetes care and education' at the Medical School of the University of Dundee. Our students and admin staff use the Progress Bar to monitor online participation.

    I would like to add the modules 'Questionnaire' and 'Turnitin Assignment', which we use quite a lot in our courses, to the activities displayed in the Progress Bar.

    Can you kindly tell me which files do I need to modify for it? I am not a developer, but I have done some customisations in Moodle for our programme.

    Thank you very much for your help.
  • My mug
    Fri, Dec 14, 2012, 2:36 PM
    Alo, Aaricia!

    The queries for different types of modules are described in the lib.php file. You can add to the array there. You just need to know what tables are involved. Please share your results with me so I can add it to the distributed version.
  • My picture
    Fri, Dec 14, 2012, 5:47 PM
    Thanks, Michael. I will look at this during the Christmas holidays
  • My picture
    Tue, Jan 15, 2013, 8:14 PM
    Dear Michael,
    Looking into plugins to support our Msc dissertation module, I have recently come accross to the checklist. I haven't tested the plug-in yet and I wonder if it will only display the standard activities or any additional one, but I would like to have a go before starting to look into the code of Progress Bar and Turnitin.
    I will let you know
  • Sat, Feb 2, 2013, 7:43 PM
    I love using this block. However I was wondering if it could be adapted to link to outcomes. I'm using it with BTEC courses (UK) where pupils need to achieve P1, P2, P3 etc. Sometimes 1 assignment might contribute to P1 and P2 but there is currently no way to achieve P1 without P2. If it was linked to outcomes I could just tick the P1 outcome but not the P2 outcome.
    Any thoughts?
  • My mug
    Mon, Feb 4, 2013, 8:09 AM
    Hi, Graham.

    I think the block could be changed to focus on outcomes, but that would be a significant change in functionality. You're welcome to take the code and modify it for your purposes.
  • My mug
    Thu, Feb 7, 2013, 11:46 AM
    Hi, all.

    I've added a new version to resolve a few bugs and misspellings, add Workshop support and add some group and role functions to the Overview page.


    Michael d.
  • Mon, Feb 11, 2013, 10:20 AM
    Hi Michael - thanks for a great block. Our students and facilitators find it very useful. I've noticed with the upgrade it now puts the students into their groups which is fantastic!

    We have come across a problem where one of our students had to re-enrol into a new group within a course this year. She was unable to complete the course last year so we asked her to re-enrol this year. As we wanted to clear the "slate" for her to start afresh, we unenrolled her from her previous group and re-enrolled her into the new group. This cleared her activities but we noticed that the progress bar was still showing these activities, chats, viewed resources as being marked complete when in fact they weren't.

    To overcome this, changes were made to the lib.php file, line 505 SQL command to append "AND completionstatus=1". This seemed to clear most of the progress bar but activities such as a chat (posted to) and a resource (viewed), were still showing up as ticked and completed on the progress bar.

    Can you see any problems with what we have done on line 505 and do you have any suggestions as to what to do to clear the "posted to" and "viewed" activities from the progress bar.

    Thanks for your time and we will await eagerly for your advice. Regards Jacqui
  • My mug
    Mon, Feb 11, 2013, 4:25 PM
    Hi, Jacqui.

    Thanks for your feedback on the block.

    In relation to the completionstatus field, I don't see any immediate problem with that. I may include that in the distributed code after some testing.

    In relation to your repeating student, I don't think there is any way to differentiate her old activity from newer activity, if it is in the same course, at least not at present. I would advise the student that the Progress Bar won't work in her situation and that she will still need to complete the activities again. A time aspect could be added to the queries, I suppose. For example, if the activity occurred before the start of the course, perhaps it could be ignored. Feel free to create an issue for this and I'll think about it more.

    Perhaps you could consider doing what I know others do: creating a new course for each offering, importing the old course.
  • Sat, Mar 16, 2013, 10:15 PM
    I experienced the problem of white rectangles, coused by a css rules used in the theme I use.
    I resolved it adding this css rule:
    table.progressBarProgressTable td {
    background-image: none;
  • My mug
    Mon, Mar 18, 2013, 10:12 AM
    Hi, Maurizio.

    Thanks for reporting that and providing your solution.

    Could you please report this on If you could add some more detail there that would help, like the theme you are using and a screenshot.
Please login to post comments