How can discourse administrators turn off personal messages

AI-generated summary

Discourse administrators can turn off personal messages by adjusting settings. Jagster suggests using the personal message enabled groups setting, while merefield recommends modifying the “Preferences → Users” section. However, this will prevent ordinary users from chatting directly by clicking on someone else’s avatar.

qiancsf wants to disable private messages while still allowing users to chat directly by clicking on avatars. Moin clarifies that the personal message enabled groups setting only applies to user interactions and not staff interactions.

To completely remove the “private messages” option from the UI, NateDhaliwal suggests using custom CSS changes or increasing the minimum Trust Level required for sending PMs.

How can discourse administrators turn off private messages

discourse管理员如何关闭私信

Check this:

But you will use setting personal message enabled groups

You can switch off these:

Or just allow certain people to message you.

It’s under Preferences → Users at bottom.

(Note, it might be nice if the second option allowed you to select groups too?)

After the administrator closes the private message: personal message enabled groups

Ordinary users cannot chat directly by clicking on someone else’s avatar.

I want the administrator to close the private message,

Ordinary users can also chat directly by clicking on someone else’s avatar.

管理员关闭私信后:personal message enabled groups
普通用户点击别人的头像,不能直接聊天了。

我想要管理员关闭私信后,
普通用户点击别人头像还可以直接聊天。


To prevent users from sending messages to the admin user, use the setting at {your.forum}/u/admin/preferences/users, which merefield mentioned. Staff can always send messages to users, so test with a regular user account.

What I mean is that the user interface should not display ‘private messages’
Only display ‘chat’

You can hide this with CSS.

Or, I think you could also remove this by increasing the minimum TL required for sending PMs (since there will be quite a few buttons you’ll need to hide).