fulldecent / moodle-enrol_course_tokens

Create single-use tokens. Then new students can create an account and enroll with these tokens.
2 stars 1 forks source link
moodle moodle-plugin moodle-plugin-local

TODO BEFORE FIRST RELEASE

What is it?

This plugin lets you make single-use tokens for courses. Then anybody can use these tokens to create an account on your Moodle instance (if they don\'t already have one) and enroll in the course.

Installation

Install using git. Other ways may be possible but only git is supported.

Type this command in the root of your Moodle installation:

git clone git://github.com/fulldecent/moodle-local_enrollment_tokens.git ./local/enrollment_tokens

You may add this to your gitignore or local exclude files, e.g.:

echo '/local/enrollment_tokens' >> .git/info/exclude

Log into your Moodle instance as admin: the installation process will start. Alternatively, visit the Site administration > Notifications page.

After you have installed this local plugin, you'll need to configure it under Site administration -> Plugins -> Local plugins -> Twitter card in the Settings block.

Features / specification

Contributing notes

When updating the lang// files, be sure to run:

php admin/cli/purge_caches.php

Project scope

Version 2 (i.e. won't do it, 100% perfect pull requests will be reviewed but not merged for a while)

- more fine-grained permission control, more people can create tokens for some subset of courses

See also