Barcode Scanning

General plugins (Local) ::: local_barcode
Maintained by Jez H, Manoj Solanki, Garth Williamson, Ionut Marchis, Dez Glidden, Catalyst IT, Kevin Moore
Barcode scanning for Physical Assignment Submissions
Latest release:
13 sites
2 downloads
11 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/

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4

Contributors

Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Plugins bot
    Mon, 2 July 2018, 10:30 PM
    Approval issue created: CONTRIB-7371
  • Fernando Oliveira
    Thu, 31 Jan 2019, 2:17 AM
    Thanks for this great plugin! Would you consider creating a discussion area for it? In particular, I'm wondering if this plugin could be used to develop a "Scanned Submission" type. The details would need to be fleshed out, but these mock-ups should get the idea across:

    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.
  • Dez Glidden
    Fri, 1 Feb 2019, 10:23 PM
    Hi Fernando,

    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
  • Daniel Mccluskey
    Tue, 21 Mar 2023, 11:59 PM
    Hi,
    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",
    ```
Please login to post comments