Progress Bar

Blocks ::: block_progress
Maintained by My mugMichael de Raadt
A time management tool for you and your students
Latest release:
3178 sites
267 downloads
191 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

Screenshots

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

Contributors

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

Comments RSS

Comments

  • Daniel Munera
    Fri, 4 Oct 2013, 12:24 PM
    Thanks a lot for this contribution, it is excellent in all sense.
  • Daniel Munera
    Wed, 13 Nov 2013, 11:10 PM
    Hi Michael,

    Your contribution is great.

    I have one suggestion, could you rename de functions on your lib.php?. It is just to follow the Moodle coding styles on (http://docs.moodle.org/dev/Coding_style#Functions_and_Methods).

    I could be great, because it makes easier refactoring when people are creating blocks using yours as a base, it avoid conflicts.

    If the suggestion is not pertinent sorry.

    Again thanks for your hard work,
    Daniel.
  • My mug
    Thu, 14 Nov 2013, 10:15 AM
    Hi, Daniel.

    Thanks for suggesting that. The block is older than that aspect of the standard, but that's no excuse. I've created CONTRIB-4748 and I'll fix and test that later today.

    I have to re-upload the latest version as my most recent updates have been lost with the data of the last few weeks.
  • My mug
    Fri, 15 Nov 2013, 6:32 PM
    I have updated the block to the newest version.
  • Seth Mengal
    Mon, 18 Nov 2013, 5:44 PM
    Small bug? The percentage dissapears when u hover on some book/quiz Cant it appear again after taking off the hover. Many thanks.
  • My mug
    Mon, 18 Nov 2013, 9:55 PM
    Hi, Seth. Someone asked me the same question just recently.

    The percentage, when shown via a block instance setting, does go away when someone mouses over a section of the bar and the activity information remains. I suppose there's a few options here:
    * show the percentage complete all the time (I think that might be confused with marks for activities),
    * return to the initial state on onmouseout (that would be a change of behaviour and would mean people couldn't compare info between bars/blocks or between the block and something else), or
    * leave the current behaviour as the overall percentage is not that important.

    At this stage I'm leaning to leaving it be, although I'm open to opinions. Perhaps another option could be added for this. I'd consider the behaviour on the block and overview page separately.
  • Sebastien Jaffredo
    Wed, 20 Nov 2013, 5:07 PM
    Hi Michael,

    I submitted French and Japanese strings through AMOS, they were accepted on Nov. 1st, but they seem not to have made their way into your Nov. 15th version.
    I'd like to use them but I can't find a way to generate the lang file directly from AMOS, and I don't feel like copying each string. What would you suggest I should do ?
  • Sebastien Jaffredo
    Thu, 21 Nov 2013, 9:22 AM
    Never mind ! I found the langpack download page (http://download.moodle.org/langpack/). smile
  • My mug
    Thu, 21 Nov 2013, 1:29 PM
    Hi, Sebasitan.

    Thanks for confirming that.

    For others who might be looking for translations for plugins, if the are created using the AMOS system (with other Moodle translations), then they are distributed in language packs. This is the case for the Progress Bar block.
  • Ryan-Neal Mes
    Wed, 27 Nov 2013, 10:07 PM
    Hi,

    Thanks so much for an awesome plugin!

    I was wondering if there is a way that allows you to restrict progress to the topic (you may have many activities per topic)? It would be awesome to setup and track all the activities you want over the entire course and the progress bar displays progress based on the current active topic.

    The current work around would be to adjust the progress bar for each topic, but that is quite manual.

    Thoughts?

    Thanks again!
  • My mug
    Thu, 28 Nov 2013, 4:18 PM
    Hi, Ryan-Neal.

    Well the workaround is hopefully easier now.

    I have just uploaded a new version that orders items in the configuration page to match the sections and ordering of the course.
  • Doc and Kayla
    Sat, 30 Nov 2013, 2:02 AM
    We have a Moodle course that has no real date limits for completion, somewhat self-paced. Can the Progress Bar be set without a date for completion of assignments? Ho many assignments can be added before the width is too short for the sidebar? Thank you, this looks like an awesome plug-in. We hope it may work for our application.
  • My mug
    Sun, 1 Dec 2013, 3:27 PM
    Hi, Michael.

    With a self-paced course you can use the option to order the bar items to match the order of the course. There's no hard limit to the number of activities that can appear in the bar, but once you start gettiing 20-30 activities it can start to look a but too crammed on small screens. At that point you could consider using multiple bars.
  • My mug
    Sat, 7 Dec 2013, 6:24 AM
    Hi, Seth.

    I've replied on that forum. I was going to suggest using the Activity completion settings, but I assume you ended up doing this.
  • Lisa Stevens
    Mon, 9 Dec 2013, 11:47 PM
    Just updated this block today and having the following problem.The existing progress bars display okay, but if you try to edit them, or add a new one, the following error message appears:

    Debug info: Argument 2 passed to get_section_name() must be an instance of stdClass, string given, called in /var/www/html/moodle/blocks/progress/edit_form.php on line 233 and defined
    Error code: codingerror
    Stack trace:

    line 397 of /lib/setuplib.php: coding_exception thrown
    line 3670 of /course/lib.php: call to default_error_handler()
    line 233 of /blocks/progress/edit_form.php: call to get_section_name()
    line 66 of /blocks/edit_form.php: call to block_progress_edit_form->specific_definition()
    line 194 of /lib/formslib.php: call to block_edit_form->definition()
    line 59 of /blocks/edit_form.php: call to moodleform->moodleform()
    line 1263 of /lib/blocklib.php: call to block_edit_form->__construct()
    line 1080 of /lib/blocklib.php: call to block_manager->process_url_edit()
    line 1384 of /lib/pagelib.php: call to block_manager->process_url_actions()
    line 847 of /lib/pagelib.php: call to moodle_page->starting_output()
    line 707 of /lib/outputrenderers.php: call to moodle_page->set_state()
    line 227 of /course/view.php: call to core_renderer->header()

    We're using Moodle 2.3.2
Please login to post comments