[ ] on assign.php allow to do mulitple tokens at once
[ ] on assign.php validate and recommend fixes for email address // see PMT code for gamil.com
[ ] Add testing for the case where you enroll a student and then they expire and re-enroll again
[ ] - Will reset the enrolment if the user is already enrolled but not active (this feature is not configurable)
- Note: there is some thing called "front page" which everyone is enrolled in by default so it gets weird if you make a token for that
[ ] Add many screenshots here
[ ] Promote plugin at page like https://moodle.org/plugins/block_coupon
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.
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.
When updating the lang// files, be sure to run:
php admin/cli/purge_caches.php
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