Like many people, I need to disable messaging between students and enable it only between teachers and students. I have succeeded in disabling messaging between students by disabling all messages between users in the authenticated user role. I have then created a 'Message Sender' role and applied it to the teachers so that they can send message to their students. And this works: teachers can message their students. I have also created a Message My Teacher block to enable students to message their teachers. Unfortunately, the block does not work properly: every time a student tries to message his teacher, he gets an error message saying that he does not have the permission to do that (send messages to any user). Can you please help? Thank you so much!
Thank you so much Brett for your reply!
I am running Moodle 3.10. I installed the plugin you suggested. I have the same problem with that plugin.
Is it possible with the Course Contacts plugin to block every messaging between students and to only enable messaging between teachers and students?
Should I set up system roles like suggested in this discussion: Moodle in English: Stop students messaging each other.
I have set up system roles and the 'authenticated user' has the site:sendmessage set to 'Not Set'.
I have created a 'Messager' system role with site:sendmessage set to 'Allow' and applied it to the teachers.
Am I doing something wrong? Thank you Brett!
Well, it works here so that students can message teachers but not each other. So I think below are the relevant settings and permissions in case that's helpful.
So here is what our site has for messaging settings:
And here is how the Student role has messaging defined:
Thank you Brett for your reply. This is what I get. Any idea what I should do to fix this problem?
Yes I agree....it looks like a permission issue. I followed the permissions you gave me for students and teachers but I still get the same error. I wonder, could you please share what you have for authenticated users please?
Also did you create a new role such as 'Message Sender' that you apply to teachers?
Thank you Bret!
I think we intended to disable that messaging but found we couldn't disable it while requiring communication with professors be done through Moodle so it could be audited if necessary. So if that's what you're trying to do, it may not be possible currently.
ok thanks Bret. Anyone else has succeeded in doing that?