Moodle plugins directory: Progress Bar | Moodle.org
Progress Bar
Blocks ::: block_progress
Maintained by Michael 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
Contributors
Michael de Raadt (Lead maintainer)
Please login to view contributors details and/or to contact them
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.
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.
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.
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 ?
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.
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!
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.
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.
I've replied on that forum. I was going to suggest using the Activity completion settings, but I assume you ended up doing this.
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