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.
How can I quit the default name plugin "MESSAGE MY TEACHER", to none or change? we speak in other language.
thanks
Guido, thanks for the suggestion, it's also in the new release!
Thanks for your report, I have found this and fixed it locally but not yet released the fix. I've added your report to the issue tracker with more infomation: https://github.com/marxjohnson/moodle-block_messageteacher/issues/11
block_messageteacher
Unknown error upgrading block_messageteacher to version 2013031301, can not continue.
Debug info:
Error code: upgradeerror
Stack trace:
line 249 of /lib/upgradelib.php: upgrade_exception thrown
line 821 of /lib/upgradelib.php: call to upgrade_block_savepoint()
line 362 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
line 1544 of /lib/upgradelib.php: call to upgrade_plugins()
line 349 of /admin/index.php: call to upgrade_noncore()
Moodle version is Moodle 2.4 (Build: 20121203)
I'm going to just remove the block and upgrade to Moodle 2.5 anyway, and when I've got that done and tested I'll try this block again, but I thought I should at least point out the issue. We had been using the previous version of the block, which had no problem.
Your site's Message system will need to be enabled for this block to do anything useful - all it really does is display a link to certain users' Message pages.
Jay,
Please refer to this issue on the tracker: https://github.com/marxjohnson/moodle-block_messageteacher/issues/6
This would be possible - you'd need to find all of the parent contexts from the path field of the course's context, then iterate up the tree looking for users assigned the selected roles in each context.
I've created an issue for it on the tracker
https://github.com/marxjohnson/moodle-block_messageteacher/issues/2
Would you have the time to help me? I would appreciate it if you could, and all our teachers would be thankful!
'Site Admin->plugins->blocks->Message My Teacher' allows me to assign the roles of those who will show up in the block.
In my case, course administrators wish to be added to the block along with teachers. It seems that any role that I have assigned to a course at the category level does not work. This is problematic for us as we have many courses or 'papers' under each sub/category or 'programme' which makes assigning course admins at a paper level retrospectively to each and every paper very time consuming and error-prone.
Is it possible for you to come up with a way for me to tweak my MMT code which propogates roles assigned at the category/sub category level instead of ONLY at the paper level?
I'm not a fluent PHP/MySQL coder, so don't know where to start.
With Thanks
thank you so much for your response. This feature is extremely valuable to us so if you could find the time to do this little hack I'd gladly pay you for it!
I've added this to the Issue Tracker[1], although it's unlikely I'm going to get time to work on it in the near future as our institution handles classes rather differently to yours - we have a separate page altogether for each class, so students are only enrolled on a page with their own teachers.
If anyone wishes to contribute this feature it would be most welcome!
[1] https://github.com/marxjohnson/moodle-block_messageteacher/issues/1