Enrollment Student With Generated Key

Enrollment Student With Generated Key

by jamal mohammed -
Number of replies: 2

I am using Moodle 2.3 and i want to make some changes on Adding New Course as following

1- for admin to generate random serial keys (only numbers) like 435765356 for example. He should be able to generate unlimited numbers for each course in the system. The numbers should be hard to guess (this is important). These numbers assigned to a single course and should be stored in the database and exported to CSV file.

2- the second interface is for the logged in user who can enter the unique key code, once he enters the code you should check the database if the code existed then enroll the student in linked course with code then disable the key so no another student use it.

any one help me to do this step by step smile

and thank you

Average of ratings: -
In reply to jamal mohammed

Re: Enrollment Student With Generated Key

by Paul Vivian -

Hi All,

Has anyone a solution for this?

Random generate an enrolment key for self enrolment?

I need to find a solution for a client rather urgently


Can anyone help?