私信关键词扫描器

更新于 2023 年 3 月 7 日,已针对 3.0 稳定版进行测试。 新增功能!聊天扫描器。为您私信扫描设置的相同关键词将触发聊天对话内的文本。然而,为了避免过多的通知,聊天扫描器将在经过一定时间后发送汇总报告。

更新:修复:与 Discourse v 2.2 的兼容性问题

首先,我想说明我并非开发者,我只是赞助了这项工作。我将无法以任何方式提供支持,但我会与任何潜在的贡献者合作。我在此发布此插件只是为了回馈社区。

背景

此插件可能听起来有些争议,因此让我解释一下开发它的原因。我们的 Discourse 论坛是一个社区市场。我们促进虚拟物品的销售。这种商业模式深受诈骗者和骗子的困扰,他们试图利用我们的买家和卖家。我们试图在他们行动之前阻止他们,而他们通常通过私信开始对受害者下手。这就是我们试图监控恶意活动并当场阻止他们的地方,这也是私信扫描器派上用场的原因。

插件说明

私信扫描器会扫描您的 Discourse 实例上发送的所有私信,并根据您在设置中输入的一组关键词检查文本内容。如果找到关键词,它会向所有管理员发送通知。

插件用途

对于那些认为私下交流就意味着可以违反规则(诈骗/垃圾信息/冒犯/骚扰)的用户,这是一个很好的插件,可以让他们有所收敛。如果您的论坛与电子商务相关,它也可用于营销目的。

插件功能

没什么可多写的。它在您的管理面板中添加了一个额外设置,您可以在其中输入关键词,仅此而已。其余都是自动的,每次触发单词时,您都会收到指向私信链接的通知(见下图)。该插件还会忽略管理员消息(基本上,管理员的私信不会被扫描)。此外,该插件仅在发送私信时进行扫描。无法扫描之前的未扫描消息。

插件问题

目前,它也会扫描用户名。因此,如果用户的用户名中包含您在扫描器设置中输入的单词,那么每次他/她发送私信时都会触发通知。这不是一个大问题,但它确实存在。

插件仓库

插件截图

这是我第二次为社区做出贡献!非常感谢 Discourse 团队以及本站的所有开发者。

31 个赞

How does this differ from generally flagged watch words under the admin panel in practice? I presume it doesn’t scan the public facing text but I’d have thought there’d be little difference in reporting unless you’ve noticed otherwise? :slightly_smiling_face:

3 个赞

Doesn’t’ the flagged watch words only work on public posts? And isn’t it meant for stopping profanity? I never fully looked into that feature. This plugin scans PM’s and doesn’t let users know a keyword has been scanned and that it notified admins.

1 个赞

No they work anywhere mate and they’re “meant” for whatever purpose you want to tune them towards. I’d suggest that something informing the user that something has been flagged promotes more trust between users and staff.

We use a raft of watch phrases to stop people doing what you’re trying to stop here, we get questions about them every so often and people are happy to know in general terms what we’re screening for and why.

2 个赞

In that case, my plugin is useless :smiley: I will look into your way of doing things. So you’re saying I can create a set of keywords that will be picked up in PM’s, and they will notify all admins?

1 个赞

Admin/logs/watchwords then pick approve/flag/block/censor to suit mate.

3 个赞

No option to silently notify admins though, so I guess there is some uniqueness to the plugin :smiley:
We have a unique type of business model, lots of conman in our industry. Auto-flagging and/or requiring approval would quickly reveal what can and cannot be said in a conversation, thus giving scammers the edge.

I kind of figured this plugin wouldn’t be useful to anyone else but me :stuck_out_tongue: Thanks for answering.

6 个赞

点击插件设置时出现此提示。

1 个赞

你使用的是哪个 Discourse 版本?我确信这就是问题所在,因为我落后了几个更新。我将在 2-3 周内解决此问题,并在有更新时更新本线程。

3 个赞

谢谢,我正在使用最新版本。

1 个赞

已更新并可在 2.7.0 稳定版上正常运行。

2 个赞

升级页面未收到更新。:slightly_frowning_face:

此处似乎没有任何变化;GitHub - worldismine/PM-Scanner: Custom PM scanner · GitHub

1 个赞

抱歉,我刚才说的“更新”是指我们将实例升级到了 2.7.0,PM 扫描器在这里运行正常,所以插件本身并不需要更新。它在我们实例上可以正常工作:

我能想到的唯一可能是您的另一个插件导致了冲突。

2 个赞

问题是,当你在设置中搜索“pm scanner”时,会出现这些设置。

但如果你点击“插件”,然后点击“pm scanner”设置“按钮”,则会显示此内容。

1 个赞

我两种方法都试过了,对我这边是有效的。:frowning:

2 个赞

我的最新版本是 2.8.0.beta1。

有人能看到这个吗?在你们的版本上能正常工作吗?:slightly_frowning_face:

1 个赞

如果您愿意等待,我们将为 2.8 版本提供更新。不过,这可能需要一些时间,因为我们仅使用稳定版本。

3 个赞

嘿,请为 3 版本更新此内容

1 个赞

大约 2-3 周后完成。

2 个赞

已更新并针对 3.0 稳定版进行测试。 新增了一项功能!聊天扫描器。您为私信扫描设置的相同关键词将触发聊天对话中的文本。但是,为了避免大量通知,聊天扫描器将在 X 时间后发送分组报告。

6 个赞