QR Links

General plugins (Local) ::: local_qrlinks
Maintained by Catalyst IT, Nicholas Hoobin, Brendan Heywood, Dmitrii Metelkin
QR code generator that provides a direct link to the page specified. When someone scans the generated QR code it will try to log them in via guest access to the specified link.

QR Links 2016081801

Moodle 2.7, 2.8, 2.9, 3.0, 3.1
Released: Thursday, August 18, 2016, 8:37 PM

Build Status

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.

Usage (admin)

Course settings for guest access.

In 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.

In Administration > Course administration > Edit settings, scroll to Guest access

Set the drop down to Yes

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

In 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.

Usage (client)

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 information

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
  • Latest release for Moodle 2.7
  • Latest release for Moodle 2.8
  • Latest release for Moodle 2.9
  • Latest release for Moodle 3.0
  • 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)

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder in the "local" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation.