GradeQR

Activities ::: mod_qrcode
Maintained by Michael Backus
Use QR codes to quickly grade assignments for completion. Students show you their work, show you their QR code, you scan it, and the grade is entered into Moodle's gradebook.

GradeQR v0.5

Moodle 3.5, 3.6, 3.7, 3.8, 3.9, 3.10
Released: Monday, 28 January 2019, 6:59 AM
This activity plugin was created using this templage: https://github.com/moodlehq/moodle-mod_newmodule

GradeQR is a plugin, an App, and an idea. The idea is to allow teachers to grade assignments by scanning a QR code. Generally I use
this technique to make grading assignments during class go more quickly, but there are many applications. For example, students
could copy and paste the QR codes into their assignments. Or, you might use it as a way to quickly record that they have
participated in a class discussion.

This plugin is a very simple activity plugin that encodes the server's url, the course id, the activity id, the student id, and the
maximum grade for the assignment into a QR code. Upon scanning the QR code, an app submits a grade to the server using Moodle's web
service capability. To communicate with the server, the administrator does need to provide users of the app with a token.

To use

1) Copy the files and folders in this repository into mod/qrcode.

2) Setup a user with a token to use the Moodle web service.

a) Go to: Site administration > Users > Permissions > Define roles

b) Click the "Add a new role" button

c) Click the "Continue" button to define a new role

d) Name the custom role "App"

e) In the context part, choose System to assign this role from everywhere in the system

f) Search in the "Filter" search box for the following and check "Allow"

- Edit grades

- Use REST protocol

g) Go to: Site administration > Plugins > Web services > External services

h) Click "Add"

i) On the "External service" page, fill in the details as follows

- Name: GradeQR Web Service

- Short Name: GradeQR

- Click "Add service"

j) Click "Add functions"

k) Search for and add "core_grades_update_grades"

l) Click "Add functions"

m) Create a user named "GradeQR App"

n) Go to Site administrator > Users > Permissions > Assign system roles

o) Click on "App"

p) Add the "GradeQR App" user to the "Existing users" list

q) Go to Site administration > Plugins > Web services > Manage protocals and enable the REST protocol

r) Go to Site administration > Plugins > Web services > Manage tokens and click "Add"

- User: GradeQR App

- Service: GradeQR Web Service

- Click "Save changes

For some reason, I have to enable guest access to my courses in order to use the token. If you know how to make tokens work without
enabling guest access, please share.

3)
a) Download and install the app from https://sites.google.com/site/mbbackus/gradeqr

b) Set the token.

c) Create an assignment and scan it.

Version information

Version build number
2019012700
Version release name
v0.5
Maturity
Alpha
MD5 Sum
882e56566f9e8e6c8bb08f64ea725ebf
Supported software
Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10
  • Latest release for Moodle 3.5
  • Latest release for Moodle 3.6
  • Latest release for Moodle 3.7
  • Latest release for Moodle 3.8
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v0.5

Default installation instructions for plugins of the type Activities

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