Message My Teacher
Maintained by
Mark Johnson
This block allows configuration of roles to be considered "Teachers" of a course. The block will
then display a list of these teachers for the current course in the block, with a link to message
each one.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
1- Would it be possible to change block title , instead from "Message my teacher" to anything else.
2- Block does not include users in course that are enrolled with category enrollment method
Thanks again for your efforts
Exception - Argument 1 passed to message_send() must be an instance of core\message\message, instance of stdClass given, called in [dirroot]\blocks\messageteacher\message_form.php on line 89
I am using 3.6 and have the block installed but there seems to be some issues.
The block seems to function as normal up to the point I click send, the dialog box shrinks but does not completely disappear. I am only trying the send the word test so there should not be a get deal of lag.
The message never appear in the messaging system nor does it get delivered. Using the message system independent of the block has no problems with delivery. Any thought on this??
I have an unusual problem. For most students the messaging block appears fine. For a small number though (it seems completely random) it shows them as not being assigned a teacher even though there is a teacher in their group. This happens for all the courses for that student. If I go into the group of ONE course, remove the student from the group, then immediately add them back in, it now correctly shows the teacher for ALL of their courses. I have checked the groups_members table in case there is something wrong like being in the same group twice (in case there was some corruption as some point) but there is nothign wrong with that table. I put debugging on and the SQL that is all fine. I cannot understand why it shows no teachers in their group but if I remove them from one group and place them back in it shows correctly for all courses. Any suggestions?
Also, thanks for the info on messaging outputs.
Thanks! Nikki
The block just uses Moodle's messaging system, so will use the available messaging outputs as they are enabled/configured for the rest of the system. There's nothing in the plugin to control how (or indeed if) emails are sent.
Thanks! Nikki
teachers that get the mail does not understand that they need to answer with moodle massaging ,is it possible to add explanation notice field -
thanks
Meir
I'm afraid none of those features are currently supported in the block.
Thanks
Mark
Thank you for getting back to me. Sorry 2 above black... should have been block, but you understood what I was asking so that's ok.
A couple additional items hopefully you can help with.
1) The message that is sent to the teacher includes the URL of the course the student is sending the message on (which is awesome). Is there any way to include in the subject and/or message to include the ID Number field from the students profile?
2) Same sort of question as above, however is it possible to include the Course details the code/name as used when setting up the course i.e. ABC 101 or ABC 101 Test Course with or without any custom additional text to go with that?
3) Is it possible to separate the list of teachers by role and have that role name heading appear i.e. Teacher then underneath Joe Bloggs, Marker then underneath Jane Doe etc.
Thanks heaps.
The block just uses Moodle's messaging API to send the message, I'm afraid it doesn't deal with how the use recieves or responds to the message, that will be part of the configuration of the core messaging system.
Thanks
Mark
Your block is really usefull and easy to install, althought i'm getting problems about config it.
A internal moodle's chat is open after the students sent me a message, (and also i recive a redirected personal email) but, how I can respond directly by email? avoiding using the internal moodle's chat.
Because when i try it, in my email i can't see the student's email address who sent the message by "block_messageteacher" i can only see his student name, and noreply@myweb.com like "destination email address"