# Is it possible to disable private messaging for a specific user?

**URL:** https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391
**Category:** Support
**Created:** [June 24, 2016, 8:59am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391 "2016-06-24T08:59:07Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![brunoedigital](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brunoedigital/32/119692_2.png) [@brunoedigital](https://meta.discourse.org/u/brunoedigital)
#### Post date: [June 24, 2016, 8:59am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/1 "2016-06-24T08:59:07Z")

</div>

Is it possible to disable private messaging for a specific user _without_ relying on trust levels?

Let me explain why I’d want to do that:

I run paid membership website where I teach some classes and help people out.

The thing is, if I allow non-staff members to message me, they abuse that. They keep sending “it’s just a small thing that I wanted your opinion on”

So perhaps I’d like to restrict to something that, for example, only I can start private messages with other people.

Is that possible?

Even if there is not settings now, is it possible by changing the code somewhere?

Thanks!

EDIT: I think I wasn’t clear when I was explaining what I wanted:

I want to not let people message me while still keeping the PM feature working for everyone.

So basically they can all PM between them, but they can’t PM me — only I can PM them if I need to get in touch for some reason.

Actually, just disabling PM for my account (as an admin) would already suffice. If I could start a PM like I explained before, great! But if not it’s ok. As long as people can’t PM me.

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [June 24, 2016, 10:38am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/2 "2016-06-24T10:38:12Z")

</div>

I suggest using Discourse’s groups feature to create some good semblance of fine-grain control.

Anyone who has paid for classes or for single classes may be placed into specific corresponding groups created for them. And through these groups, you may then create also-corresponding categories only these-specific-groups may access.

As for freelance, one-time clients–aye; PM system makes sense to use. And then we return to your initial problem.

Ultimately, I feel my suggestions should be a generic deterrent. And if a non-staff member does attempt to ask for information you feel has monetary value on it, call them on it.

> “Hey, thanks for your interest in my information; I appreciate you take value in my thoughts to ask me and thus trust what I say. I take care in dispensing that info, which is why I do charge for the specific info you are asking me for: I think a great deal about it–a _lot_ of time–and I want to be able to provide the best information for you, tailored for you: this is why these questions must be covered with a fee. Check out my pricing pages, and if you want to discuss these options, please reply to this message.”

When you explain _why_ you charge (you are devoting a lot of mental tasking and time to those questions) and thus place a lot of _care and consideration to what answers you give_ then you put the onus on them to ask again, or even barter the value of the time and dedication you put to these classes and one-on-one sessions.

They just see information, not the care and passion you took to make them. Point that out–you may not need this strict option at all. And you assert the _real_ value of your product.

EDIT: Or, Jeff’s reply below for what you seek. Classes, I personally suggest groups+categories.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 24, 2016, 10:39am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/3 "2016-06-24T10:39:40Z")

</div>

This is already possible. Disabling PMs only disables it for normal users. PMs _cannot_ be disabled for staff. Pretty sure the description for the setting says this as well:

 ![](https://global.discourse-cdn.com/meta/original/3X/0/d/0deb78910f43309fcf2a8fde8f2f3d531c684864.png)

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [June 24, 2016, 10:47am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/4 "2016-06-24T10:47:17Z")

</div>

Not being picky here to be a pain. Perhaps a minor edit along the lines of “the staff can always send messages to any member no matter what” may clear some confusion. Some (not a lot, obviously–hence why I admit this may be seen as a shallow suggestion to already in-practice-and-obviously-99ish%-great-to-everyone-else-sofar-copy) may read that as “staff to staff only communication”.

---

<div class="post-metadata">

### Author: ![cageycat](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@cageycat](https://meta.discourse.org/u/cageycat)
#### Post date: [June 24, 2016, 11:10am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/5 "2016-06-24T11:10:07Z")

</div>

Hi,

Why not write some “rules” for your website and “Pin it” at the top of the forum?

In it, explain your “conditions” and rules about PMs (like Tarak’ha suggested). Then, don’t feel guilty about it when you don’t respond. 😃

---

<div class="post-metadata">

### Author: ![brunoedigital](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brunoedigital/32/119692_2.png) [@brunoedigital](https://meta.discourse.org/u/brunoedigital)
#### Post date: [June 24, 2016, 11:43am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/6 "2016-06-24T11:43:05Z")

</div>

Sorry, I think I wasn’t clear on my explanation of what I wanted. I’ve edited my topic to include the following:

> EDIT: I think I wasn’t clear when I was explaining what I wanted:

> I want to not let people message me while still keeping the PM feature working for everyone.

> So basically they can all PM between them, but they can’t PM me — only I can PM them if I need to get in touch for some reason.

> Actually, just disabling PM for my account (as an admin) would already suffice. If I could start a PM like I explained before, great! But if not it’s ok. As long as people can’t PM me.

---

<div class="post-metadata">

### Author: ![brunoedigital](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brunoedigital/32/119692_2.png) [@brunoedigital](https://meta.discourse.org/u/brunoedigital)
#### Post date: [June 24, 2016, 11:45am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/7 "2016-06-24T11:45:42Z")

</div>

I do that. But it’s a tough one… Because even with multiple tries to make them read the bloody rules, still a lot don’t even bother (I know… frustrating). Then they still PM me expecting an answer. And since they are paid customers it looks bad if I don’t or if they haven’t read the rules saying that I won’t respond.

That’s why I wanted to simply block anyone to PM me, while still allowing (1) PM between themselves and (2) allowing me to start a PM with someone if I need it.

Well, actually, I’m happy with disabling PM entirely for my account as an admin 😅

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [June 24, 2016, 2:05pm UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/8 "2016-06-24T14:05:56Z")

</div>

> [@brunoedigital](#):
>
> Well, actually, I’m happy with disabling PM entirely for my account as an admin

You may also consider idea I have put into practice with a previous (almost ten year old; now closed) community I ran–

> [@Ability for admin to completely hide a category and its topics?](https://meta.discourse.org/t/ability-for-admin-to-completely-hide-a-category-and-its-topics/25141/6):
>
> Don’t know if there’s a way for the admin’s IP to be logged in on two accounts at once. For now, if I was in this situation, I would maybe add your ‘civilian’ account to that /about page. If something is wrong, they can PM your civilian account and you can hop onto the admin account. Or you can have any PMs that are sent to the admin also emailed to you so you know when/if to hop accounts. I was thinking of having two accounts: one ‘civilian’ and the admin. The civilian is set with the high…

Make the admin account a strict “root/utility-only” account and then make a Leader-level account for yourself. Now you can disable PMs on that Leader-only account. Admin account becomes the “if I _need_ to send a PM for technical reasons, then **here** : not related to conversation and/or business dealings.” And those who insist on sending you these “just want your small opinion” PMs to your admin account shall go unanswered–as long as you make it clear the admin account is only as a tech-support channel; reporting issues RE: using your site or Discourse instance et al.

> [@brunoedigital](#):
>
> Because even with multiple tries to make them read the bloody rules, still a lot don’t even bother (I know… frustrating). Then they still PM me expecting an answer. **And since they are paid customers it looks bad if I don’t or if they haven’t read the rules saying that I won’t respond.**

That sounds like they _know_ that too and are taking advantage of you **from** that: they are previous clients, paid for some classes already gone and archived, or some freelance. That does **not** give them carte blanche to pinch free intel off you because of a past that is open and closed; paid and done.

And if they get upset, learn the lesson I learned long ago: you are not going to please everyone. After you accept that truth, you get more respect when you stand up for yourself, even though from that you are now not necessarily _liked_ first. I–from personal experience–prefer that. Respect be business gold versus the lowly pewter: only being liked or seen as “nice”. And thus seen as possibly a pushover.

(Apologies; this second suggestion does not really attempt to “answer” your technical question. It does offer insight into a larger situation I see, that this technical question only seeks to avoid or hide from and ultimately be part of your paid membership biz model–and a weakness in it some be exploiting.)

---

<div class="post-metadata">

### Author: ![brunoedigital](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brunoedigital/32/119692_2.png) [@brunoedigital](https://meta.discourse.org/u/brunoedigital)
#### Post date: [June 24, 2016, 7:11pm UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/9 "2016-06-24T19:11:40Z")

</div>

Thanks man. Good suggestions.

About your second point: totally agreed on that! I do let it go the “nice” guy approach most of the time 😅 Usually it’s my way or the highway.

That being said, if we can avoid unecessary conflict — specially with paid customers — then that would be ideal.

You should see some controversial posts that I promote via Facebook ads: everyone and their dog have an opinion about it! And a LOT of them simply hate me just because… well… I’m there. And they got curse someone lol

 ![](https://global.discourse-cdn.com/meta/original/3X/3/9/39ce867c6f3fc56773a6e196d793d5155e6aa29a.png)

Thanks again! Appreciated!

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [June 24, 2016, 7:13pm UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/10 "2016-06-24T19:13:28Z")

</div>

I’m not sure I’m completely understanding. Is this close?

Member to member messages are OK  
Member to Admin messages are _sometimes_ OK

If this is correct:  
I think it is important that members be able to message a designated Contact.  
I imagine in the vast majority of cases the Contact _is_ the Admin

It would be nice if clear thorough instructions could be provided and every member actually both read them and understood them.

> And how’s that going for you?

Using this forum as an example, if the above were true, this forum currently has 879 members  
[https://meta.discourse.org/badges/16/read-guidelines](https://meta.discourse.org/badges/16/read-guidelines)

But wait, going by the Basic Badge (Trust Level 1) this forum has 10161 members  
[https://meta.discourse.org/badges/1/basic](https://meta.discourse.org/badges/1/basic)

* * *

So if I’m understanding the problem, it’s

Forum related Support messages to the Contact are OK  
Non-forum related messages to the Contact / Admin are _not_ OK

Contrived examples:

“How to I change my Title” - OK  
“Please give me free help on my project” - Not OK

The only way that might even come close to controlling what makes it to the message Inbox would be to code in predefined select “reasons”.

And even then something like “Preference Settings Help”  
could be chosen as the reason even though the message content might contain otherwise.

---

<div class="post-metadata">

### Author: ![brunoedigital](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brunoedigital/32/119692_2.png) [@brunoedigital](https://meta.discourse.org/u/brunoedigital)
#### Post date: [June 24, 2016, 8:02pm UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/11 "2016-06-24T20:02:06Z")

</div>

Hum let me try again with rules, so maybe it’s clearer:

**Ideal Scenario:**

- PM between members » ok!
- PM started by me (admin) to anyone » ok!
- PM from a member to me (admin) » forbidden!

But if that’s tricky to do I’m totally fine with:

- PM between members » ok!
- PM started by me (admin) to anyone » forbidden!
- PM from a member to me (admin) » forbidden!

So basically a setting where I could disable PM for a specific user (myself or someone else) would suffice.

Hummm… that would indeed be another way to do it:

Is there a way to prevent a _specific_ user from using PM’s without relying on trust levels or anything like that?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [June 24, 2016, 8:11pm UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/12 "2016-06-24T20:11:11Z")

</div>

> [@brunoedigital](#):
>
> Is there a way to prevent a specific user from using PM’s without relying on trust levels or anything like that?

Not that I know of.  
Permissions are controlled by Group / Trust Level not per User

Question. If you set things up so that you the Admin does not receive messages, who is the Contact that does?

---

<div class="post-metadata">

### Author: ![brunoedigital](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brunoedigital/32/119692_2.png) [@brunoedigital](https://meta.discourse.org/u/brunoedigital)
#### Post date: [June 24, 2016, 9:27pm UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/13 "2016-06-24T21:27:43Z")

</div>

You mean for any problem or anything like that?

For that all users have the official support channel. So they can get in touch via our support system (with a team behind, and not just me)

That’s another reason I wanted to avoid having people PM me… So they can go through the official support channel. Or at least force them to post it publicly

---

<div class="post-metadata">

### Author: ![cageycat](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@cageycat](https://meta.discourse.org/u/cageycat)
#### Post date: [June 24, 2016, 10:34pm UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/14 "2016-06-24T22:34:06Z")

</div>

It sounds like you want to hide—which is perfectly acceptable!

If there isn’t a coding option, can’t you just ignore all PMs?

If they don’t have it, maybe Discourse needs a “Automatically send PMs to Trash” (like gmail labels), with a button to “Flush” it whenever you want. Or auto setting to flush the junk daily or on set days, weekly, or monthly.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [June 24, 2016, 11:50pm UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/15 "2016-06-24T23:50:50Z")

</div>

> [@cageycat](#):
>
> It sounds like you want to hide—which is perfectly acceptable!

I wonder

> [@brunoedigital](#):
>
> since they are paid customers

I guess in many cases

> [@brunoedigital](#):
>
> all users have the official support channel. So they can get in touch via our support system (with a team behind, and not just me)

would be enough.

But I would be concerned that some things might be of a more sensitive nature where members would not want to make a public post but would feel comfortable sharing knowing that the information was more private.

eg.

> I recently lost my job, my wife left and took the kids and the house, and I’m now living at the YMCA.  
> I have a new job lined up, but it will take a while for me to get back on my feet.  
> Can I arrange to make installment payments?

An OK question as a one-to-one with the Admin.  
_NOT_ something I’d want posted for anyone and everyone to see.

IMHO instead of seeking for a code solution to the problem, if a particular member is harassing you with messages it’s time to take more personalized steps to have them stop.

---

<div class="post-metadata">

### Author: ![brunoedigital](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brunoedigital/32/119692_2.png) [@brunoedigital](https://meta.discourse.org/u/brunoedigital)
#### Post date: [June 25, 2016, 9:38am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/16 "2016-06-25T09:38:27Z")

</div>

Yeah for sure there should be a way they can send a private message — but that’s what is the official support channel is for. Otherwise I’d go crazy trying to respond everyone privately 😅

> [@cageycat](#):
>
> If there isn’t a coding option, can’t you just ignore all PMs?

Not really. Well, I could, but it might be tricky because they might think “Oh this bastard… he doesn’t even respond me! That’s no way to treat a customer!”

And indeed it’s not.

I just want them to either post it publicly (so my answer benefit more people inside my forum) or send it privately where my team behind it can handle it.

> [@Mittineague](#):
>
> IMHO instead of seeking for a code solution to the problem, if a particular member is harassing you with messages it’s time to take more personalized steps to have them stop.

For sure I’ll do that if it comes to it. Still I’ll try to find a way to just disable PM’s for myself. There’s probably somewhere in the code where I can change to make that happen.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 27, 2016, 6:30am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/17 "2016-06-27T06:30:52Z")

</div>

I support user setting for

> Allow other users to send me private messages.

I think it is fine, some people do not want to be contacted behind closed doors and it is in no way a prerequisite for participating in a forum

---

<div class="post-metadata">

### Author: ![brunoedigital](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brunoedigital/32/119692_2.png) [@brunoedigital](https://meta.discourse.org/u/brunoedigital)
#### Post date: [June 27, 2016, 7:36am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/18 "2016-06-27T07:36:14Z")

</div>

Indeed that would solve my “problem” 😄 . Plus it’s an extra settings in case someone doesn’t get contacted privately.

---

<div class="post-metadata">

### Author: ![RyanK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryank/32/297314_2.png) [@RyanK](https://meta.discourse.org/u/RyanK)
#### Post date: [February 15, 2017, 5:00pm UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/19 "2017-02-15T17:00:15Z")

</div>

Sorry to bring up an old topic, but I tried disabling this feature and don’t see the option for staff to continue to message. Do you have to already have an existing thread? Also, if a staff member messages a regular user, can the regular user respond?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 23, 2017, 6:46am UTC](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391/20 "2017-02-23T06:46:32Z")

</div>

Sorry about that, there was indeed a bug where staff were not able to PM. I’m not sure why we didn’t catch that sooner, but @techapj committed a fix.

[Next page](https://meta.discourse.org/t/is-it-possible-to-disable-private-messaging-for-a-specific-user/46391.md?page=2)
