To disable Messaging options to all users

Hello,

I’ve successfully installed a discourse platform on my server. However, I’m currently seeking a solution to disable the messaging feature for all users on the platform. Could you please guide me on how to accomplish this?

Thank you in advance for your assistance!

1 Like

You can do it one of two ways:

1.If it is okay for admins to continue being able to message then, set the setting personal message enabled groups to admins and remove all other groups.

2. If absolutely nobody should be able to message then create an empty closed group with no members then set the same setting to that group.

4 Likes

Hi @itsbhanusharma Thank you so much brother… It worked as you said… :slight_smile:

1 Like

Does this prevent admin/staff from sending PMs? I think staff should be able to send PMs no matter what. If this method blocks that you may have found a bug. :bug:

I’ve just tried it and I could send a PM as admin. Have I misunderstood?

No, You’re correct. My speculated answer is half wrong.
I barely recall this being described on meta somewhere that Staff are always able to start a PM.

Edit: Corrected my answer for posterity.

Per the description of this site setting:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.