Moodle Plugins directory: Message My Teacher | Moodle.org

Message My Teacher
This block displays a list of all Teachers for the current course page (except for the current user, if they are a teacher). Each name links to the messaging system allowing the user to quickly message their teacher.
The roles that are considered to be "Teachers" can be configured, allowing control over who is actually displayed in the block.
New in 2.7
- Confirmed support for Moodle 5.0
Development of version 2.3 was sponsored by Connecting Waters Charter School (http://www.connectingwaters.org)
Will there be a version of this block for Moodle version x.x?
If you'd like to use this block on a later version than the latest release says is supported, try it and see if it works. There's usually no changes that would affect this block, so it's better to try it and let me know if there's a problem than to ask me if/when there will be an update. I will do my best to test on new versions and update this page accordingly.
Please dont report bugs here
If you experience an error with the block, or would like to request a feature, please use the "Bug Tracker" link below.
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"
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
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.
I'm afraid none of those features are currently supported in the block.
Thanks
Mark
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
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.
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
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??
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
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