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.6
- Support for Moodle 3.9 onwards.
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.
or how can i apply this for moodle 2.6?
Thanks,
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
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
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
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.