bdecentgmbh / moodle-availability_credit

Pay with credits for course contents
GNU General Public License v3.0
1 stars 4 forks source link
credit moodle moodle-availability

With this plugin, you can put a price on any course content and ask for a Credit payment to allow access. It works only with "course modules and resources". The support to "course sections" or "topics" is not yet implemented.

Usage

This works like the Credit enrol plugin, but instead of restricting the full course, you can restrict individual activities, resources or sections (and you can combine it with other availability conditions, for example, to exclude some group from paying using an "or" restriction set).

Setup Instructions

Before you can use the availability condtion, you have to do the following steps:

  1. Install Course Credit Enrolment (https://moodle.org/plugins/enrol_credit)
  2. Create a custom profile field of the type "input field" and name it e.g. "Credits" (can be anything you want)
  3. Set the custom profile field to "locked" to avoid that users change the amount of credits themselves
  4. Add the credits to that field either via the csv user upload, manually or via a webservice
  5. Go to Site administration > Plugins > Enrolments > Manage enrol plugins and make sure Course Credit Enrolments is enabled
  6. On the same screen, open the settings of the enrolment method and choose the profile field you've created in the first setting "Profile field mapping".

Dev Info