Yes, I'm familar with the database plugin. It is very convient and very cool. We're going for a more consistant user interface. We don't want to have a separate interface for retrieving lost passwords or force users to login into admissions before they can log in to moodle ect... That's why we went with an admissions system that is separate from moodle. Once a student is accepted we want to graduate them into moodle. I've just about got the code ready to go on my end any way...
Here is the insertion I'm considering:
$sql = "INSERT INTO mdl_user(auth,
username,
password,
firstname,
lastname,
email
)
VALUES('$auth',
'$username',
'$password',
'$first_name',
'$last_name',
'$email'
)";
General developer forum
creating users outside of moodle
This discussion has been locked so you can no longer reply to it.