Description
NFC/QR Actions module for RosarioSIS. Scan the QR code or the NFC tag to automatically perform actions. A new browser tab will open (requires an open administrator user session).
The NFC URL/QR codes program lists
- URLs to write to NFC tags, using third party software such as
- GoToTags desktop, steps here (or batch encoder)
- NFC Tools Android/iOS app
- QR codes to print or save on smartphones.
Each URL is unique to a student or user (parent, teacher or other) and is used for as many actions defined by the Actions program. Each action consist of a URL (typically a RosarioSIS program, can also be external) where student/user ID is dynamically replaced. When the URL/action is triggered, the result is shown, or instead, student/user information (template) can be displayed.
Once possible actions are defined, each administrator (or teacher) can select their own actions from the My Actions program. For each action, you can set a number of seconds after which the browser tab is automatically closed.
Note: You can give students or parents access to the NFC URL/QR codes program so they can print their own QR code / write their own NFC tag.
Note 2: smartphones are able to read NFC tags / QR codes and open the URL without the need of an additional app.
Note 3: Staff ID changes (Rollover) from one school year to another, and so does the URL.
Note 4: on desktop, GoToTags (paid) was successfully tested. It can open the URL in the browser when a NFC tag is read. NFC Tools (free) was also tested, but it won’t open the browser. nfc4pc (open source, not tested) is a simple Java program to open the URL in the browser just like smartphones do. Disclaimer: for support, please contact third party software vendors directly.
Translated in French, Spanish, Slovenian.
Action & URL examples
Here are examples of possible actions:
Simply display the Student / User Info (“General Info” tab)
Modules.php?modname=Students/Student.php&category_id=1&student_id=__STUDENT_ID__
Modules.php?modname=Users/User.php&category_id=1&staff_id=__STAFF_ID__
Serve Meals (Food Service module)
Modules.php?modname=Food_Service/ServeMenus.php&type=student&student_id=__STUDENT_ID__
Modules.php?modname=Users/User.php&category_id=1&type=staff&staff_id=__STAFF_ID__
Serve Meals and preselect items based on user reservation. See the Food Service Premium module for examples.
Record an entry (at a checkpoint) or a package delivery. See the Entry and Exit module for examples.
Return a document in one click or lend a document (Quick Loan) to the selected user or student. See the Library Premium module for example.
External URL with template: in case the URL is on another domain/host, and you have set a template, the AJAX request will be forbidden due to CORS. In this case, try to move the script on your server (same-origin).
External URL without template: RosarioSIS will redirect the browser (i.e. not inside a frame). The “Close tab after (seconds)” option will not be available in this case.
More actions such as taking attendance are possible. Please get in touch if your school wants to sponsor new ones.
Download
Install
Copy the NFC_QR_Actions/
folder (if named NFC_QR_Actions-master
, rename it) and its content inside the modules/
folder of RosarioSIS.
Or go to School > Configuration > Modules and upload the zip
file of the module.
Then, go to School > Configuration > Modules and click “Activate”.
Requires RosarioSIS 11.2+
Demo
The NFC/QR Actions module can be freely previewed in the online demonstration of RosarioSIS.
Note: Activate the module first if it is not appearing in the left menu.
Copyleft
- Author François Jacquet
- License GNU/GPLv2 or later