Moodle Plugins directory: My Progress | Moodle.org

My Progress
Introduction
This block displays the user completion progress in a course.
It is also possible to enable/disable the course, group, and cohort progression average. So, students can compare their performance with the others.
By default, only class average is shown for Teacher
Student can see his own progress and, if available, the progress of his group, cohort and class
Sponsor special thanks
Developped by Willian Mano.
This plugin was kindly sponsored by Luiggi Sansonetti from e-Learning, Conseils & Solutions.
Thank you very much for supporting Moodle community and the open-source initiative.
Changes
V1.0.6 - 2024-04-24
- Update: Moodle 4.4, solves #25.
V1.0.5 - 2023-12-19
- Bugfix: New provider file for privacy api, solves #23.
V1.0.4 - 2023-11-21
-
Improvement: French translation in AMOS, solves #21.
-
Improvement: New cohort selector with autocompletion, solves #20.
-
Improvement: Add Github action support, solves #14.
V1.0.3 - 2023-11-21
- Improvement: privacy api, solves #13.
V1.0.2 - 2023-11-09
- Bugfix: DB Table name too long for Moodle 4.1 and 4.2, solves #16.
You need to uninstall 1.0.1 before installing 1.0.2.
Installing via uploaded ZIP file
Log in to your Moodle site as an admin and go to Site administration > Plugins > Install plugins.
Upload the ZIP file with the plugin code. You should only be prompted to add extra details if your plugin type is not automatically detected.
Check the plugin validation report and finish the installation.
Installing manually
The plugin can be also installed by putting the contents of this directory to
{your/moodle/dirroot}/blocks/myprogress
Afterwards, log in to your Moodle site as an admin and go to Site administration > Notifications to complete the installation.
Alternatively, you can run
$ php admin/cli/upgrade.php
to complete the installation from the command line.
This means that plugin block_myprogress did not complete the processing of data. The following exception information may be passed on to the plugin developer:
Error reading from database
#0 /home/integrating/public_html/lib/dml/moodle_read_slave_trait.php(293): moodle_database->query_end()
#1 /home/integrating/public_html/lib/dml/mysqli_native_moodle_database.php(1337): mysqli_native_moodle_database->query_end()
#2 /home/integrating/public_html/privacy/classes/local/request/contextlist.php(71): mysqli_native_moodle_database->get_recordset_sql()
#3 /home/integrating/public_html/blocks/myprogress/classes/privacy/provider.php(101): core_privacy\local\request\contextlist->add_from_sql()
#4 /home/integrating/public_html/lib/moodlelib.php(8293): block_myprogress\privacy\provider::get_contexts_for_userid()
#5 /home/integrating/public_html/privacy/classes/manager.php(578): component_class_callback()
#6 /home/integrating/public_html/privacy/classes/manager.php(611): core_privacy\manager::component_class_callback()
#7 /home/integrating/public_html/privacy/classes/manager.php(238): core_privacy\manager->handled_component_class_callback()
#8 /home/integrating/public_html/admin/tool/dataprivacy/classes/task/process_data_request_task.php(93): core_privacy\manager->get_contexts_for_userid()
#9 /home/integrating/public_html/lib/classes/cron.php(508): tool_dataprivacy\task\process_data_request_task->execute()
#10 /home/integrating/public_html/lib/classes/cron.php(302): core\cron::run_inner_adhoc_task()
#11 /home/integrating/public_html/lib/classes/cron.php(128): core\cron::run_adhoc_tasks()
#12 /home/integrating/public_html/admin/cli/cron.php(186): core\cron::run_main_process()
#13 {main}
What is your Moodle version and plugin version ?
I tested export and delete data with 4.3 and it works
I'll test again soon.
I'm testing export and delete action.
In a 4.1:
- a student can export data and zip is ok
- a student can delete data and user account is deleted from Moodle
When I run he cron, I have just a warning message about a variable, but not a blocker
Warning: Undefined variable $progress in /myprogress41/blocks/myprogress/classes/privacy/provider.php on line 101
In a 4.2 and a 4.3:
- a student can export data and zip is ok
- a student can delete data and user account is deleted from Moodle
And I have no warnig message running cron...
I'll ckeck in database and script
With a little help from my friend, a new version that fixes this bug will be available soon.
New release 1.0.5 online
Thanks
It seems the table name should be `block_myprogress_course` however on her website I see the table name is `block_myprogress_course_progress` an extra `_progress` at the end.
Is this expected ?
Is it safe to rename the table ?
What could have caused this incorrect table name ? Was there a bug in any of the recent version of the plugin which could have caused this ?
Yes it's a known bug with 1.0.1 which IS no longer available.
As I said in 1.0.2, you have to uninstall it BEFORE installing a new version
You can use the latest 1.0.5
https://moodle.org/plugins/block_myprogress/versions
Cheers.