Course size

This plugin provides approximate disk usage by Moodle courses.
Price option: Free

Supports Moodle 2.3-4.5 See all versions
Latest release: 7 months ago
Installations: 7010
Downloads (last 90 days): 1157

Frankenstyle name: report_coursesize
Reports

Comments

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

Congratulations to the authors of this useful plugin.
I have tried it in my University site and it is very convenient. I already translated it into Mexican Spanish in AMOS smile
One minor issue, the final table shown for the top 10 users seems to have a hard-coded English language string for 'Disk Usage'. It would be better for the translators if this string were declared as a variable, available for translation in AMOS.
Thanks Dan for the updated version. I have installed and tested on Moodle 2.7 and everything seems to be working as expected. If you or Peter have a free moment to create some documentation that would be great; however, sometimes on simple plugins such as a report it would seem OK to simply point to the README file on Github.com.
It is encouraged to follow Moodle’s coding style as outlined in: http://docs.moodle.org/dev/Coding_style and http://docs.moodle.org/dev/Coding The code checker plugin can be quite helpful in fine tuning your code and can be found at: https://moodle.org/plugins/view.php?plugin=local_codechecker You may wish to consider using that tool to further improve your plugin. I only noticed some minor space issues but here are the results:
Files found: 6
report/coursesize/lang/en/report_coursesize.php
report/coursesize/index.php - 0 error(s) and 1 warning(s)
report/coursesize/db/access.php
report/coursesize/version.php
report/coursesize/settings.php
report/coursesize/README.txt - 1 error(s) and 0 warning(s)
Looks good so I am going to go ahead and approve. Peace - Anthony
Dan and Peter,
Many thanks for sharing this plugin with the Moodle community. I believe that the report will be very useful to site admins. This question of how big a course is comes up frequently. I noticed that the particular version provided does not specify for which version(s) of Moodle it is intended. I believe you can edit the details of the version and select the versions under Supported software.
Please review the validation results and fix all of the issues mentioned. These changes are typically pretty easy to make but if you have any questions just let us know. In your case it is just a matter of adding the release to the version.php:
Release name ($plugin->release) not found in version.php
I noticed that you did not specify an issue tracker for your plugin. Providing a place for users of your plugin to report issues encourages participation and provides a way for users to report bugs, make feature requests, or suggest other types of improvements. There are a couple of options. You are welcome to request that a component be created in the Moodle Tracker. This will allow for you to become more familiar with how issues are managed in Moodle core but may take a little more time to setup. Alternatively, for folks who are using Github.com, you can use the issues feature of Github to handle such requests. Kindly let me know which of these two options seems best for you.
Please provide a documentation URL. You are welcome to create your documentaiton in Moodle Docs, See http://docs.moodle.org/dev/Plugin_documentation for more information.
I did not attempt to install and test the plugin because of not being sure for which versions it was intended; however, once that is done then we can take another look at it. For now, I am going to mark this plugin as needing more work until we get these issues resolved. Thanks for your patience with the review and approval process.
Peace -Anthony