All,
I have modified emailconfirmbody in quiz.php to customize the message sent out to the student who took the quiz and hopefully the admin who should receive all such messages. However, it appears as though all students, etc are getting these messages. What am I missing? How do I configure it so that ONLY the individual student and the admin get the notification email that a student has completed a quiz?
Thanks!
Yes, that is wrong.
For the student, it should be
Get email confirmation when submitting = Allow
Get email notification of submissions = Not set
For the Teacher
Get email confirmation when submitting = Not set
Get email notification of submissions = Allow
And I would not set any permissions related to this for Admin - unless this is a personal site you have set up just for your own teaching, and you do all your teaching logged in as admin.
And in general, it is almost always wrong to use Prevent or Prohibit in role definitions. Normally you should only use Allow and Not set.
For the student, it should be
Get email confirmation when submitting = Allow
Get email notification of submissions = Not set
For the Teacher
Get email confirmation when submitting = Not set
Get email notification of submissions = Allow
And I would not set any permissions related to this for Admin - unless this is a personal site you have set up just for your own teaching, and you do all your teaching logged in as admin.
And in general, it is almost always wrong to use Prevent or Prohibit in role definitions. Normally you should only use Allow and Not set.
Thanks!
Actually, this site will be running short courses for a business. At the moment we don't really have "teachers" set up as one or two people will be the instructor for all courses. The courses won't have a lot of interactive feedback. Rather, there will be some instructional materials and a quiz or quizzes available for them to take when ready. So, our thought was just to have these emails all go through the admin, but maybe I should set up a teacher account as well?
Just to be clear, will these settings make sure that email notifications are sent to the teacher when a user completes a quiz and/or course and to the student stating that the quiz submission was received?
Thanks again!
Actually, this site will be running short courses for a business. At the moment we don't really have "teachers" set up as one or two people will be the instructor for all courses. The courses won't have a lot of interactive feedback. Rather, there will be some instructional materials and a quiz or quizzes available for them to take when ready. So, our thought was just to have these emails all go through the admin, but maybe I should set up a teacher account as well?
Just to be clear, will these settings make sure that email notifications are sent to the teacher when a user completes a quiz and/or course and to the student stating that the quiz submission was received?
Thanks again!