Activity track

Blocks ::: block_activity_track
Maintained by Swati Sra
This block show the total no. of activities pending and completed in percentage and number in a course where course completion is activated.
Latest release:
62 sites
7 downloads
9 fans
Current versions available: 2

This block will help the students to view all the courses they are enrolled to along with the total number of activities in that course and how many of them are finished with overall percentage. Student can navigate to a specific course by just clicking on the course name. Please note that the block will only work if the course completion is activated on the course. This block will be actively maintained and support by Xeo InfoSoft Moodle team

Screenshots

Screenshot #0

Contributors

Swati Sra (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wazza
    Jim, 9 Sad 2012, 6:43 PM
    Does anyone have a screenshot of this block?
  • Swati Sra
    Rob, 2 Ama 2013, 11:58 AM
    Hi Lorenzo,
    Thank you very much for this help, I will update my query and post you back.
  • Swati Sra
    Rob, 2 Ama 2013, 11:20 PM
    Hi Richard van Iwaarden,
    Screenshot added
  • Germán and Temudgin
    Kam, 3 Ama 2013, 4:13 AM
    Hi Swati,
    Nice block. It can be improved if you replace some hard-wired English language strings with language strings declared in the /lang/en language folder, so that they can be translated in AMOS (http://lang.moodle.org/) for Moodle users of languages other than English.

    The hard-wired strings I saw in your code are: "Over", "Total", "inprogress", "notyetstarted", as for example in:
    $this->content->text .= 'Over';$this->content->text .= 'Total';

    As of today, the only language string available for translation is the plugin name itself sad

    Please read this forum post about translations of contributed plugins: http://lang.moodle.org/mod/forum/discuss.php?d=2485

    Thanks in advance for your help and thanks for a nice plugin.

    Greetings from México.
  • Jackie Zhang
    Wix, 22 Elb 2013, 3:52 PM
    Hi Swati,
    it is a great block. But i don't know why the total activity number of a course is always 0, and the status of the course is 0%. but the over number is correct.
    please give me a hand and thank you very much
  • Seth Mengal
    Jim, 6 Ful 2013, 8:38 PM


    Screenshot. Works Great, had to do some edits because of width of columns etc
  • Amy Groshek
    Rob, 18 Mud 2013, 12:35 AM
    On 2.5 This block throws a warning. Needs a capability added:
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP Notice: The block activity_track does not define the standard capability block/activity_track:addinstance
    • line 606 of /blocks/moodleblock.class.php: call to debugging()
    • line 584 of /blocks/moodleblock.class.php: call to block_base->has_add_block_capability()
    • line 236 of /lib/blocklib.php: call to block_base->user_can_addto()
    • line 1866 of /lib/blocklib.php: call to block_manager->get_addable_blocks()
    • line 1005 of /lib/blocklib.php: call to block_add_block_ui()
    • line 353 of /lib/blocklib.php: call to block_manager->ensure_content_created()
    • line 6 of /theme/base/layout/general.php: call to block_manager->region_has_content()
    • line 860 of /lib/outputrenderers.php: call to include()
    • line 790 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
    • line 99 of /backup/backup.php: call to core_renderer->header()
    in /Users/macpro/code/gao25/lib/weblib.php on line 2817
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP Stack trace:
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 1. {main}() /Users/macpro/code/gao25/backup/backup.php:0
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 2. core_renderer->header() /Users/macpro/code/gao25/backup/backup.php:99
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 3. core_renderer->render_page_layout() /Users/macpro/code/gao25/lib/outputrenderers.php:790
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 4. include() /Users/macpro/code/gao25/lib/outputrenderers.php:860
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 5. block_manager->region_has_content() /Users/macpro/code/gao25/theme/base/layout/general.php:6
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 6. block_manager->ensure_content_created() /Users/macpro/code/gao25/lib/blocklib.php:353
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 7. block_add_block_ui() /Users/macpro/code/gao25/lib/blocklib.php:1005
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 8. block_manager->get_addable_blocks() /Users/macpro/code/gao25/lib/blocklib.php:1866
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 9. block_base->user_can_addto() /Users/macpro/code/gao25/lib/blocklib.php:236
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 10. block_base->has_add_block_capability() /Users/macpro/code/gao25/blocks/moodleblock.class.php:584
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 11. debugging() /Users/macpro/code/gao25/blocks/moodleblock.class.php:606
    Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 12. trigger_error() /Users/macpro/code/gao25/lib/weblib.php:2817
  • Manoj Navalkar
    Jim, 17 Ama 2014, 3:03 PM
    Hi Swati,

    Are there any plans to release the compatible version for Moodle 2.5 or 2.6?

    regards,
    Manoj
  • Just wondering . . .
    Jim, 31 Onk 2014, 3:33 PM
    Or 2.7?

    -Derek
  • milhouse van houten
    Qib, 10 Bit 2015, 9:03 PM
    Or 2.8?
  • Ruan Vermeulen
    Kam, 6 Onk 2016, 7:25 PM
    Is this compatible with 3.1.
    The plugin cannot be installed

    Validating block_activity_track ... Error
    [Error] Plugin does not declare its component name [null] Help with Plugin does not declare its component name
    Installation aborted due to validation failure
  • Swati Sra
    Kam, 18 Wax 2020, 2:51 PM
    Apologies for delay in the update. Block is updated and will be maintained no onward.

  • Ricardo Caiado
    Kam, 18 Wax 2020, 8:19 PM
    Hi, Swati.

    Is it compatible with PostgreSQL?

    Ricardo
  • Swati Sra
    Jim, 19 Wax 2020, 12:06 AM
    Hi Ricardo,

    It should be, i have not tried but can try. Will be able to do it in a weeks time will update you here only. You can raise the concern in git so I can check it with my team also.

    Regards,
    Swati

  • puneet jhingan
    Wix, 24 Elb 2023, 1:46 PM
    Hell Swati,

    Could you kindly clarify:
    Support for Separate Groups?
    Support for 4.0+?
1 2
Please login to post comments