Moodle Plugins directory: PCBook | Moodle.org
PCBook
Blocks ::: block_pcbook
Maintained by
Mike Dawson
This is a block which links to a pcbook server and shows how many of your computers are free or busy.
Latest release:
1 sites
Current versions available: 1
Configuration
In the plugin configuration provide the URL to your PCBook server, eg.
http://server1.example.com/pcbook
To only show the status of workstations whose names match a given string,
enter that in the pattern option, eg. 'room1-' will match machines with names
'room1-1', 'room1-2', etc.
PCBook is available from http://valis.co.uk/pcbook
Contributors
Mike Dawson (Lead maintainer)
Please login to view contributors details and/or to contact them
It looks like this plugin may require a third-party subscription based service. Since I may not be unable to test the functionality of the plugin without a temporary account we may want to consider setting up a time for a quick demo so that I can see the plugin in action.
Some formal issues were detected and reported by our automated plugin checker tool (source, tracker, and documentation URLs). Please review all the plugin checker results and fix the issues mentioned, if possible. These changes are typically pretty easy to make but if you have any questions just let us know.
Please resolve these formal issues so that the plugin code can be fully reviewed. For now, I am going to mark the plugin as needing more work. Peace - Anthony
Could you kindly resolve:
Code validation errors - Important In your version.php you have specified $plugin->requires = 2010112400, which is earlier than the official release of Moodle 2.6 (2013101800)
If you want this plugin in be used on earlier versions of Moodle then we should tag it as such. If it is for 2.6+ then we need to update $plugin->requires. Either way it should be trivial. Also, I sent an email asking if there might be a demo PCBook site that I could use for testing this plugin. Let me know either way, I do not have to do extensive testing but I generally like to review the basic functionality.
Peace - Anthony
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 polish your plugin. Below are the initial results:
Files found: 6
blocks/pcbook/README.txt - 1 error(s) and 0 warning(s)
blocks/pcbook/block_pcbook.php - 173 error(s) and 0 warning(s)
blocks/pcbook/db/access.php - 34 error(s) and 0 warning(s)
blocks/pcbook/edit_form.php - 38 error(s) and 0 warning(s)
blocks/pcbook/lang/en/block_pcbook.php - 17 error(s) and 0 warning(s)
blocks/pcbook/version.php - 1 error(s) and 0 warning(s)
Total: 264 error(s) and 0 warning(s)