At the college we often use hangman style games to reinforce vocabulary etc. I have produced a version using php running off a text file but given the demand for the tool and that lecturers want to assemble their own word/clue lists on the fly with students I am intending to port to a mySQL backend.
Part of the problem is that access to the word-lists needs to be restricted (for obvious reasons) and I though about linking into Moodle authentication as the staff already have accounts set up.
When a member of staff accesses a restricted page I want to redirect them to the Moodle login and then if they are authenticated pass them back to the secure page.
Trouble is I don't understand how to do this :o(
I have examined the mdl_user table and can see that the passwords are encrypted a la Unix. but this is as far as my knowledge goes.
Can anyone help or is this something best left well alone...