Moodle plugins directory: Completion Progress | Moodle.org
Completion Progress
Blocks ::: block_completion_progress
Maintained by Jonathon Fowler
The Completion Progress block is a time-management tool for students.
Latest release:
15291 sites
3k downloads
316 fans
Current versions available: 4
The Completion Progress block is a time-management tool for students.
- Visual representation of activities to be completed
- Colour-coded for quick reference
- Overview for teachers, identify students at risk
- Combined progress on Dashboard page
The block shows activities with activity completion settings.
Contributors
Jonathon Fowler (Lead maintainer): Caretaker
Michael de Raadt: Original author
Please login to view contributors details and/or to contact them
Hi there
We have some open courses, where we set individual assignment deadlines for each student.
Besides that, we have a lot of activiteres between assignment where we don't set deadlines.(and it would be too much workload if we should set individual dates for these aswell)
When we set the ordering af "Expected coompletion date" all the assignment are grouped in one end of the progressbar, wich confuses the students.
In this ordering, assigment turns red when the expected hand is passed (as we want)
When we change the sorting mode to 'sorting in course' there are no red markings on the assignments where the deadlines are passed.
I suggest the use of red colours in both sorting modes, so teachers and students can see if assignment is not handed in before deadline.
Could that be possible?
Yours
Lars Kristensen
Two options...
Change the ordering so it doesn't use expected completion times. It can follow the order of items in the course, assuming you have ordered appropriately.
Another option would be to change the colours, which can be done in the global settings for the block.
Michael
The problem is , when we use 'sorting in course' the activities doesn't turn red when the due date is passed - they stay blue nomatter what.
And changing colours globally doesn't affect it.
Another problem we encountered:
The 'now' date is controlled by the 'expect completed on' (under Activity completion)
And not the 'Due Date' under assignment settings.
We use individual deadlines for each student with the override feature under assignments https://docs.moodle.org/311/en/Using_Assignment#Overriding_assignment_deadlines
But the individueal deadlines doesn't affect the progressbar
The students can not see thier own individual deadline in the progressbar.
/Lars
I would like to extend the progress class (completion/classes/progress.php) that currently calculates the progress based on the number of completed activities.
I would like to introduce the concept of duration for each activity and once the activity is done it could calculate the percentage of progress based on that value.
Example:
activity1: duration 10 (Done)
activity2: duration 3 (To be Done)
Currently, the progress percentage is 50%, instead, it should be 10 / (10+3) = 76% since the duration of the first activity is longer.
Is there any possibility to extend this feature using a local plugin? How should I name the class and where should I place it inside the plugin folder?
I have already added a custom field to hold the duration value for each activity and directly modified the progress.php file but I would like to produce a clean solution, by writing a local plugin.
If you consider this feature as a candidate improvement to be included in the core I would be happy to contribute and to receive suggestions on how to include it.
Thank you,
Albana
How can I solve it? Please help me.
I'm not in a position to develop that any more, but hopefully Jono can look into that. Shelby: you might want to write this up in the Moodle Tracker on on the plugin's Git repo.
Error
Exception - method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 306 of /blocks/completion_progress/lib.php: TypeError thrown
line 306 of /blocks/completion_progress/lib.php: call to method_exists()
line 244 of /blocks/completion_progress/block_completion_progress.php: call to block_completion_progress_get_activities()
line 341 of /blocks/moodleblock.class.php: call to block_completion_progress->get_content()
line 235 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 1181 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 1239 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 374 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 3980 of /lib/outputrenderers.php: call to block_manager->region_has_content()
line 40 of /theme/boost/layout/columns2.php: call to core_renderer->blocks()
line 1396 of /lib/outputrenderers.php: call to include()
line 1326 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 245 of /course/view.php: call to core_renderer->header()