Message My Teacher icon

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.
Price option: Free

Supports Moodle 3.11-5.0 See all versions
Latest release: 1 year ago
Installations: 1310
Downloads (last 90 days): 165

Frankenstyle name: block_messageteacher
Blocks

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Hi Jayden,
1) This isn't currently a configurable setting, but you could create a local override for the block_messageteacher "pluginname" string using Moodle's Language customisation feature
2) I'm not sure exactly what you mean by "the black name" but the block uses the theme's defaults wherever possible to keep consistency with other blocks. Your theme may allow you to add custom CSS in its settings to override it.
3) The roles that are displayed in the block are configurable in the plugin's settings.
Hi Mark
I have this working on our 3.1 site and working well. Just a couple of things I don't know if its possible to do:
1) Is there a way to change the name that appears on the block?
2) Is it possible to specify the colour to be used in the black name rather than the theme's default
3) We want to list a few roles, but would like to be able to show in the block those roles. For example... Teacher (then the names of those in the Teacher role), Marker (then the names of those of those in the Marker role) etc.
Thanks heaps, love the block smile
Hi Mark, I'm experiencing some difficulties on moodle 3.2 (have tried with custom, clean and boost themes). I'm getting a 502 Bad Gateway message. Will open on Bug Tracker.
Hi Andrew, I'm not currently using the block myself, so am unable to say. If you try it out, please let me know.
Hi Mark, Thank you for a very useful plugin. Any sense of whether it works on 3.2?
Thanks Olga, I appreciate you trying it out and letting me know. I've updated the page to indicate support up to 3.1.
works in moodle 3.1, thx!
Thanks for that Tim Bahula. However if this is the case why can I not install direct from Moodle repository?
Installed and working on my Moodle 2.9 dev server. I like it.
Nice plugin. Tested it and works fine on one of my installation on Moodle 2.7. When will this be available for Moodle 2.9? I have one more installation on Moodle 2.9 and would like to install it. Thanks!
A really nice plugin! I tested this block on Moodle 2.8.5 and did not came across any problems so far. I like it!
Thanks for the plugin! Very easy to use. I am using it on 2.6 and it works great. Here is a respectful recomendation of the next version: When students write the message and push "send", it takes a second or two for it to complete. Students will often push it again. This results in multiple duplicate messages being sent. This is no fault of the plugin, but can be fixed in the code so not to allow multiple functional clicks. Mean while, I added a little code that says "click only once.... it takes a second".
In 2.6 I noticed an error in the php log to do with the extra userfields in the user object:
PHP Notice: Missing firstnamephonetic property in $user object, this is a performance problem that needs to be fixed by a developer.
this was fixed by simply adding them into the query on line 59 of block_messageteacher.php
The extra fields are: u.firstnamephonetic, u.lastnamephonetic, u.middlename, u.alternatename
Hope this helps
Hi adem
As far as I'm aware the block should work with 2.6, but if you get an error when you try to use it please let me know and I'll try to fix it.
Thanks
Mark
Hi Mark, could you publish this for moodle v2.6, i want to use like this block for sent message all teachers in a course (like Ask your teachers) in my thesis.
or how can i apply this for moodle 2.6?
Thanks,