Moodle Plugins directory: Barcode Scanning | Moodle.org
Barcode Scanning
Local plugins ::: local_barcode
Maintained by
Jez H,
Manoj Solanki,
Garth Williamson,
Ionut Marchis,
Dez Glidden,
Catalyst IT,
Kevin Moore
Part of set Physical assignment submissions.
Barcode scanning for Physical Assignment Submissions
Latest release:
11 sites
2 downloads
12 fans
Current versions available: 1
A local plugin to handle the scanning of barcodes generated through the associated Physical Submission plugin.
When phyiscal submission is enabled on an assignment students are able to print a cover sheet with a barcode.
This local plugin allows these barcodes to be scanned with a generic barcode scanner marking them "submitted".
This plugin was designed to use web services in the event that a mobile app is required at a later date.
For this plugin to work in a browser you will need to:
1) Create a dummy user account
2) Assign them the permission / capability to scan barcodes
3) Create web service token for this user
The pluign will look for a valid dummy token when scanning, so a valid web service token must exist.
This does not affect access or permissions of the plugin which still require the logged in user to have the required capability.
To use this plugin you will also require the assignment submission plugin:
The Physical Submission Plugins were develpoed for Coventry University by Catalyst IT Europe https://www.catalyst-eu.net/
Useful links
Contributors
Jez H (Lead maintainer)
Manoj Solanki
Garth Williamson
Ionut Marchis
Dez Glidden
Catalyst IT
Kevin Moore
Please login to view contributors details and/or to contact them
Submission type: https://www.screencast.com/t/lpa1kGYEuO8
Front page (printed): https://www.screencast.com/t/H6vbQqhND
Blank pages (printed): https://www.screencast.com/t/WysH2jTp5
Moodle Scanner app: https://www.screencast.com/t/tmTmehrhtMV
Feel free to delete this post if you think it should be put somewhere else. Thanks.
Glad you like the plugin. We'd (Catalyst IT Europe) would be happy to discuss this use case in extending the plugin's functionality. Why don't you give us a call at our Brighton office https://www.catalyst.net.nz/content/contact-us to discuss it.
Thanks
Dez
This plugins "Submit on time" feature broke for us on Moodle 3.7. The ontime checkbox was not changing the $ontime value so I had to add a manual check for the ontime checkbox in the saveBarcode function that posts the request in amd/src/index.js.
```
function saveBarcode(barcode) {
// Manually set ontime
if ($('.path-local-barcode #id_submitontime') &&
$('.path-local-barcode #id_submitontime').is(':checked')) {
ontime = '1';
} else {
ontime = '0';
}
var uploadUrl = 'service/upload.php?barcode=';
if (link) {
uploadUrl = '../service/upload.php?barcode=';
}
$.ajax({
type: "POST",
```