스태프에게 PM 허용

:information_source: Summary Allow all users to PM Staff
:hammer_and_wrench: Repository Link https://github.com/pfaffman/discourse-allow-pm-to-staff
:open_book: Install Guide How to install plugins in Discourse

Features

Allow users to send a PM to staff even if they would not otherwise be able to send a PM.

Configuration

  • allow_pm_to_staff_enabled–Enables the plugin (default true)
  • allow_pm_allowed_pm_groups–Set groups who can receive PMs from all users (default “staff”). Separate multiple groups with a | and no spaces.

CHANGELOG

  • Add ability to choose receiving groups other than staff.
  • 2023-04-07 resolved a problem that caused group pages not to load

TODO

  • nothing right now
16개의 좋아요

Sure. Give it a try. The default settings allow pm to staff for all users, given that pms are allowed.

3개의 좋아요

If I just need to allow PM from all users to the staff then the above issue wouldn’t affect me right?

1개의 좋아요

I think I fixed that problem

3개의 좋아요

Yes, the problem is fixed now after the recent commit changes

2개의 좋아요

Seems to be working fine. Thanks Jay for the fixes!

1개의 좋아요

Hello! First of all, I wanted to thank you for such a wonderful plugin :raised_hands:
Yesterday I installed this plugin on my forum, but I still couldn’t set up more than one group. When adding group names to the line, I tried using : ; , with and without a space, I even tried not to insert characters between the names (leaving only spaces), nothing helped - the line only supports one group. Tell me what am I doing wrong?:pray:
For example I want to achieve the following:

1개의 좋아요

You need to separate with | if remember correctly.

4개의 좋아요

Thanks, Richard. | is the separator. Do not include spaces.

Sorry it’s hard to tell.

It would be nice if I’d included text for allowed_pm_allowed_pm_groups. I’ll do that next time I update anything in the plugin.

I did update the OP with a hint. Maybe that will help.

1개의 좋아요

Just add type: group_list to the setting?

3개의 좋아요

LOL. Yeah. That just might do it. Thanks very much.

It was long ago that I wrote this. It was at the edge of my ability and I wasn’t very good at finding out what types were available what magic type: group_list would do.

This definitely needs some cleaning up, but it’s serviing the needs of the person I wrote it for, so I keep not touching it.

I’ll add this to my list, but I’ve got a bunch of other non-paying work that’s in line ahead of this one.

3개의 좋아요

Hello! Oh yes, it worked :confetti_ball: Deeply grateful for the quick tip :pray:

3개의 좋아요

It’s not a big deal, but I’m still seeing this message during upgrades:

Running post deploy migrations
$ bundle exec rake multisite:migrate
Plugin name is 'discourse-allow-pm-to-staff', but plugin directory is named 'allow-pms-to-staff'

I even tried manually renaming the plugin directory in the container, but it eventually gets reverted.

1개의 좋아요

I’ll try to get that fixed next week

2개의 좋아요

Are you using https://github.com/pfaffman/discourse-allow-pm-to-staff as the repo?

Yep.
10 chars…

플러그인을 설치했습니다. ‘스태프에게 개인 메시지 허용’ 옵션을 확인했습니다.

그룹을 생성하고 메시지를 보낼 수 있는 대상을 '모든 사람’으로 설정했습니다.

사용자 한 명을 이 그룹의 멤버로 추가했습니다.

로그아웃한 후 사용자 페이지와 그룹 페이지에서 해당 사용자에게 메시지를 보내려고 시도해 보았지만, 방법을 찾지 못하고 있습니다.

이 플러그인의 작동 방식을 잘못 이해한 건지, 아니면 뭔가 놓친 부분이 있는 건지 모르겠습니다.

네, 여전히 로그인한 사용자용입니다.

이 플러그인은 일반적으로 다른 사용자에게 PM을 보낼 수 없는 로그인한 사용자들이 @staff 그룹의 사용자에게 PM을 보낼 수 있도록 합니다. 불행히도 익명 사용자(즉, 로그인하지 않은 사용자)에게는 아무런 효과가 없습니다.

그래서 이 작은 해킹 방식을 사용했습니다:

수년간 문제없이 사용해 왔습니다(가끔 스팸이 오는 것만 제외하고).

1개의 좋아요

아, 미안해요. 제가 오해한 것 같네요.

미안해! 나도 마찬가지야. 네 다른 주제에 댓글을 달았었어.