Regarding the confirmation e-mail sent to the student.
The URL of the teacher : <a href="{$a->attendant_url}">{$a->attendant}</a> doesn't work : when the user clicks on the link, he has the following message : "The details of this user are not available to you".
Even if the user is supposed to see the teachers's profile.
What happens is that the resulting link is :
http://siteurl/user/profile.php?id=X
While the right URL to correctly display the teacher's profile should be :
http://siteurl/user/profile.php?id=X&course=Y
How can I have this work ? I can think of 3 logical possibilities :
- There is a setting somewhere in Moodle enabling a user to display the profile even if the context course id isn't declared in the url (not sure whether such a setting exists)
- Change the definition of the "attendant_url" variable to include the contexted course id
- Create a new variable such as "attendant_course_url" that would generate a link like "http://siteurl/user/profile.php?id=X&course=Y"
Having no notions of PHP I cannot fathom how to do this, but I'd be glad to learn for the occasion if someone can think of a simple patch to the plugin to enable it.
Thanks,
Sébastien