## Blocks: Progress Bar

block_progress
A time management tool for you and your students
• A time-management tool for students
• Shows progress in activities/resources
• Colour coded to quickly see completed/viewed
• Teachers select which pre-existing activities/resources are to be included
• Order by times/deadlines or order in course
• Overview page shows teachers the progress of all students

### Contributors

• Tue, May 27, 2014, 9:01 AM
Hi, David.

Please check that you have the latest version of the block as there was a problem with this in the past (https://tracker.moodle.org/browse/CONTRIB-4895).

The capability that is being checked is "block/progress:overview". You can see if a user has this capability at Course admin > Users > Permissions > Check permissions. Alternately, there could be a file permission problem on your server.

If there is still a problem, please report an issue on the Tracker with as much detail as you can.
• Thu, Jun 5, 2014, 11:10 AM
Hi,Michael
Thank you. I like it.
I want to use the overview on Moodle1.9. How can I do?
• Thu, Jun 5, 2014, 12:06 PM
Hi, Paul.

For this and so many other reasons, I suggest you upgrade your site.
• Fri, Jun 6, 2014, 10:58 AM
Thanks a lot. Michael.
It's a pity. I feel that Moodle2.x is slower than 1.9.
• Fri, Jun 6, 2014, 11:19 PM
Hello Michael,

is the progress bar able to track also the resource page? I have created some pages with embeded videos, which the students schoud look. And the students schould be able to see which videos they have aleady seen. That's why I'm asking

Thank you & Greetings;
Michael
• Mon, Jun 9, 2014, 8:11 AM
Hi, Michael.

Yes, the Progress Bar block can show whether a student has viewed a Page and other resources. I hope it works for you.

Michael.
• Thu, Jun 12, 2014, 6:22 PM
I have current Moodle version 2.7 and I still get the error: Progress Bar (block_progress) versie 2014050900. Why is that?
• Fri, Jun 13, 2014, 8:46 AM
Hi, Valerie.

I'm not sure what that means. Is this preventing the Progress Bar block from working on your site? If so, could you please create an issue on tracker.moodle.org and let me know where the error is occurring, with as much information as you can provide. If you can temporarily turn on debugging on your site, that may provide additional information.

Michael.
• Mon, Jun 16, 2014, 5:44 PM
Hi,
I like this plugin but I can't get it work with groupings.
When I enable grouping mode on a activities/resources, to show some of them to only members of the group I choose, Progress Bar doesn't take this setting and it shows all activities to the student.
I work on Moodle 2.7, can you test this and tell us how to make it work? I've seen on the issue tracker that you checked this problem as solved but it doesn't seem to... any help?
• Wed, Jun 18, 2014, 8:25 AM
Hey Michael,
This plugin looks great, so I thought id install it in my test Moodle Enviroment.
When trying to set the activities to be tracked by the bar, i get the following error message output.
I'm using Moodle 2.6.1 (Build: 20140113).

Notice: Undefined index: 0 in /blocks/progress/edit_form.php on line 141 Notice: Trying to get property of non-object in /blocks/progress/edit_form.php on line 141 Warning: array_search() expects parameter 2 to be array, null given in /blocks/progress/edit_form.php on line 141 Notice: Undefined index: 0 in /blocks/progress/edit_form.php on line 141 Notice: Trying to get property of non-object in /blocks/progress/edit_form.php on line 141 Warning: array_search() expects parameter 2 to be array, null given in /blocks/progress/edit_form.php on line 141

It seems that $sections on line 141 of edit_form.php is not an array which is throwing out this error message as you are trying to get index 0 of null. Then the next error is that you are passing a variable equal to none as the array component of an array_search().$sections[\$coursemodule->section]->sequence does not return an array.

Is it possible you review this code and fix the errors above so I can install this plugin into my production Moodle Instance.

I have opened a bug tracker at the following URL - https://tracker.moodle.org/browse/CONTRIB-5123

Aaron
• Thu, Jun 19, 2014, 11:58 AM
Hi, Christian.

I just retested the display of display of Progress Bar sections for groupings and it is working for me. Ensure that you have the latest version of the block as this functionality was only recently added. The visibility of sections should match the visibility of activities/resources in the course for students.

If you do find a case where this is not working with the latest version, please create an issue or comment on the Tracker issue you mentioned. If so, please provide replication steps to demonstrate the problem.

Michael.
• Thu, Jun 19, 2014, 11:59 AM
Hi, Aaron.

Thanks for reporting your problem as an issue on Tracker. I'll comment there.

Michael.
• Sun, Jul 6, 2014, 12:20 AM
Nice Plugin. I want to show the progree bar for Graded Activities only, so this would in essense show how far throught the course they are. but it doesn't seem to work in 2.7 any ideas?
• Mon, Jul 7, 2014, 8:52 AM
Hi, Mykl.

You can be selective about which activities are displayed in the block; this is set in the block's configuration. This is the same in Moodle 2.7 as it was in previous versions.
• Tue, Jul 8, 2014, 5:58 PM
thank you. It 's a great plugin and he is now in my moodle 2.7