Progress Bar icon

Progress Bar

Maintained by Michael de Raadt
A time management tool for you and your students
Price option: Free

Supports Moodle 1.9-3.1 See all versions
Latest release: 9 years ago
Installations: 2164
Downloads (last 90 days): 311

Frankenstyle name: block_progress
Blocks

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Nevermind, it is an easy fix. Change the following in lib.php (line 812):
else if ($reader instanceof logstore_legacy\log\store) {
$query = $module['actions']['viewed']['logstore_standard'];
to
else if ($reader instanceof logstore_legacy\log\store) {
$query = $module['actions']['viewed']['logstore_legacy'];
I have created a ticket in the tracker for this.
Hello Michael,
It appears the latest update (2015051200) on Moodle 2.7.3 breaks progress bar. It looks like you changed your log checks, so courses with the progress bar break, giving an "Error reading from database". Here is the more specific PHP error:
Notice: Undefined index: logstore_standard in /storage/www/mysats/blocks/progress/lib.php on line 812
Any ideas on how to fix it?
Mathieu
Hi, Saeed.
If you are able to add a new translation for the Progress Bar block, you can do so at https://lang.moodle.org/
Once a translation is written there, it is shared with all the community using your language who download the relevant language pack.
Michael
hi
how to add new language?
I've fixed the problem in...
https://tracker.moodle.org/browse/CONTRIB-5728
New version uploaded to GitHub and the Plugins directory. Get it while it's hot.
I've spotted the problem in 2.9 and found a fix for it. I'm going to test this across versions and upload a new version shortly.
Okay, I'll keep an eye out for a new version. Will let you know if I get it working.
Hi, Bronwen.
I haven't checked the plugin with Moodle 2.9 yet. I'll have to do that soon.
A further comment to my issue with the progress bar block giving an error reading from database for courses that have progress bars - I am using the latest version available in the plugin downloads. When I tried to roll back to the previously installed Progress bar block it did not allow me to downgrade. Is the current progress bar block not yet compatible with Moodle 2.9?
Hi Michael,
This is a great tool that I have been using for years. Just upgraded to Moodle 2.9 from 2.7.1 and for courses that include the progress bar I am getting the following error - Error reading from database. When I turn debugging on I get : Notice: Undefined variable: query in /home/xxxx/public_html/xxxx/blocks/progress/lib.php on line 811. When I view that file the line reads: $attempts[$uniqueid] = $DB->record_exists_sql($query, $parameters) ? true : false;
I'm using Moodle 2.9 (Build: 20150511) and PHP 5.6.3. Is it something to do with the Progress Bar block? The courses without it are working fine. I am reluctant to uninstall the Progress bar and lose all my history from the courses that use Progress bar. Do you know of any fix that avoids data loss and makes these courses accessible?
Hi, Mareeswaran.
Unfortunately the Progress Bar block can only go where blocks can go. That is governed by the theme and how you set up a page.
The My home (now Dashboard) page can have blocks in the centre and I recall some theme having blocks at the top, but I can't give you more than that (except that it is possible).
Michael.
Hi, Michael de Raadt
How can i change the block left/right into an content area? As i don't want to in the left or right pane view.i need in between these means at the top of the content area.
Hi, Riady.
I think it might be possible if we avoid generating any overview stats on the My home (Dashboard) page. Perhaps you could create an improvement issue on tracker.moodle.org and we can discuss this further there.
Michael
Hi Michael,
Thanks for the prompt reply.
What I think, the overview for the teacher will always be seen as course level - in case there are 2 roles within the same course for the same user, the permission will be given on the higher role (For example, a student has role of student and teacher, the the view is provided as teacher). But in this case, I cannot think that a user would be assigned role both as teacher and student, in case within the same course, the quiz / assessment is provided with recommended answer, then the student role would have access to the answer of the assessment. (Unless grouping and access to resources conditioning have been used heavily).
I can see the problem with gathering abundant information will overload the system, but if the summary (percentage) calculation is the only info provided on the overview page, along with the link to direct the user to go to the details of the overview of the progress, will it work?
Just throwing some ideas that might be worthy to run brain storming?
Regards,
Riady Santoso
Hi, António.
The Progress Bar does work with activity completion. Be sure that activity completion is enabled on your site and completion settings are set for the relevant activities, then you should see a completion option for activities shown in the Progress Bar.
Hi, Riady.
I can see where you're coming from. Feel free to post an improvement issue in the tracker for your idea. I will mention two potential barriers. One is that it is difficult to determine who is a teacher, particularly at a site level; it's possible at course level, but even there someone can be both a teacher and a student. Also, gathering overview information requires the generation of progress bars for all students in a course. Doing this for multiple courses would cause significant load on the system.
Michael