General plugins (Local): QR Links
QR Links 2016081801
Code prechecksHTML | XML
QR Links - Moodle local plugin
Adds a new item to the navigation block allowing you to create QR code that directly links to the page.
This is best used when enabling guest access to a course. After printing the QR code helper page that is generated, it allows anyone to use a smart-phone or other device to scan the QR code and gain direct access to a specified course.
Extract the plugin to /local/qrlinks
Run the Moodle upgrade.
Course settings for guest access.
Administration > Course administration > Users > Enrolment methods, first ensure that you have added
guest access as an enrolment method, and that it has its eye open.
Administration > Course administration > Edit settings, scroll to
Set the drop down to
For more information about guest access, read the Moodle documentation for guess access.
Creating QR Links
If the current user has the
local/qrlinks:manage capability then a link in the navigation block will appear.
At any time you can click
Create QR link and it will take you to an editing form to create a QR link for that page.
The creation form is divided into two sections, public and private.
The public fields will be visible in the helper page, and the description field can contain html.
The private fields are used with the management page to identify the QR links internally.
Managing QR links
Administration > Site administration > Plugins > Local plugins > QR Links you will see a list of all the QR links created.
You can manually create a new QR link via the
Add new QR Link button.
Each link has an options field where you can delete, preview or edit the link.
Scan the QR code and access the content.
Regarding the Create QR link/Edit QR link item in the global navigation, create intermediate page that if more than one QR link has been assigned to that URL.
qrlinks_edit, if editing the qr link, change submit button from Create QR link to Edit QR link.
Clean up unused cid/cmid that was not part of the implementation.
UI/UX layout update in index.php
- Version build number
- Version release name
- Stable version
- MD5 Sum
- Supported software
- Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1
- This is the latest release for Moodle 2.7
- This is the latest release for Moodle 2.8
- This is the latest release for Moodle 2.9
- This is the latest release for Moodle 3.0
- This is the latest release for Moodle 3.1
Version control information
- Version control system (VCS)
- VCS repository URL
- VCS tag
Default installation instructions for plugins of the type General plugins (Local)
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder in the "local" subdirectory.
- Visit http://yoursite.com/admin to finish the installation.