Progress Bar
Maintained by
Michael de Raadt
A time management tool for you and your students
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Yes, we are now using multiple blocks. It works fine. If you find the now indicator would not fit a wrapping bar, you could chance it to a different color.
We have a hosted Moodle so I can't change the code. Even so it would probably get lost with the next update.
I have another suggestion (hope you don't mind)
The homepage for our students has in the center column the course overview (like my home has). In the right column I now have the progressbar overview. This means our students have around 40 courses in the center and 50 progressbars on the right. It would be great if it could somehow be combined.
It should look something like this:
I know this is a mix of two different codes. However, perhaps you could 'steal/copy' the code to your progressbar block for my Home. I can then remove the courseoverview page and just show the course progress block in the main column.
Hope you understand what I mean.
Thanks for the feedback and ideas.
I'm not inclined to allow the bar to wrap for a couple of reasons. Primarily, this would make the indication of time, the "NOW" marker, a bit confusing. I'd rather encourage people to use multiple blocks to accomplish this.
You are one of the first people to try the new "My home" functionality, so it's good to get feedback on that. The decision to use the course short-name rather than the full-name was a bit arbitrary on my part. I suppose I was attempting to keep the display simple and long course names would look awkward within a block. Perhaps it could be done with truncation. If you are keen to experiment with this, look in blocks/progress/block_progress.php for the following line...
$linktext = HTML_WRITER::tag('h3', s($course->shortname));
...and change shortname to fullname.
.block_progress .progressBarProgressTable.noNow {
line-height: 10px;
}
I really love this plugin!
What happened to this idea though?
When we have a lot of activities the progressbar gets really small (and the width really high)
Also, I would really like to be able to style the progressbar a little bit. However, I can't find the correct CSS for example just to change the height of the progressbar... Any suggestions?
The Progress Bar block already works with completion, so that's good. I can see that if a student was repeating the course, it would be a problem if the course was reset and the logs remained. Perhaps I should put a restriction on the range of dates checked so that it will only look for events after the start of the course.
I've created an issue for that... https://tracker.moodle.org/browse/CONTRIB-5235
Michael.
I think that for moodle 2.7.1 your plugin should use completition data tables, not logs (because there is no way to clean course logs in moodle 2.7.1 https://tracker.moodle.org/browse/MDL-43274).
Thank you in advance.
Regards
Carlos
I've added you to the Acknowledgements section.
The Progress Bar block has been translated to Mexican Spanish, and the Moodle Docs page at http://docs.moodle.org/27/en/Progress_Bar_block now has a spanish translation at http://docs.moodle.org/all/es/Bloque_de_barra_de_progreso.
Thanks for a very useful plugin.
Thanks for the feedback and your suggestion. There is a similar suggestion that you can vote for in https://tracker.moodle.org/browse/CONTRIB-5026
The downside to this approach is that the information for the activity goes away, as does the link in the information to the activity.
To add this to lib.php
under the function block_progress_bar()
in the $celloptions array?
'onmouseout' => 'M.block_progress.showInfo('.$instance.','.$userid.',"info");',
This could let the view go back to the overall score as soon as you hover out of a block
At this stage, there is no way to export Overview page content, but it has been suggested before. See https://tracker.moodle.org/browse/CONTRIB-4964
I'm not sure how I would achieve this. If anyone has some good ideas, please contribute to that issue.
Michael.
Is there a way to download all the data recorded by the progress bar, into a csv or spreadsheet?
The Progress Bar block is mostly passive. It doesn't store any data, it just gathers data as it displays it. There is some caching of log data in more recent versions (2.7+), but that should be reset when the course changes or when caches are purged.