如何让部分帖子只对作者和工作人员可见?

I’m my forums exclusievly for roleplaying purposes.
We have our character sheets partially hidden from other players’ eyes, so there’s always a surprise when it comes to characters’ abilities, which imposes safer, more realistic gameplay.
On an old phpBB 3.2 we used [HIDE] BBCode, which allowed to hide part of the post so it was visible only for staff members and author of the post.
Does Discourse allow it in any way, possibly via plugins?

If it’s impossible then maybe you could tell me how to hide a whole post like this?

2 个赞

maybe you want the spoiler plugin?

Oh, but you want people not to be able to see it at all. A theme component could do it, but clever people could still look at the json or raw for the post. I think you’d need a plugin.

3 个赞

A different suggestion is to PM staff with your character sheet, if the goal is to share the character sheets only with staff. You could also link to the PM in the topic so it is easy to get to. Only staff would be able to open that PM of course.

That is nearly identical to what you described except not inline content.

6 个赞

I guess I’ll have to go with it – although it’s not very intuitive for an user do do that.

2 个赞

It’s kind of an unusual scenario, to have a topic that has shared secrets with staff but not other posters.

2 个赞

You could possibly use the Staff Notes Plugin. You would send a Staff member the character sheets and they would “load” them for each relevant user, and then see a clickable notes icon on each post so that the character info is easily at hand.

The author themself wouldn’t be able to see this, but presumably they already know this info anyway.

4 个赞

The user needs to be able to edit this content, so unfortunately that’s not an option in this case.

3 个赞

这似乎仍然不存在,所以我将把它转换成一个#feature主题。 :+1:

Discourse Private Replies 插件可能会派上用场。

1 个赞

谢谢。这几乎是我需要的,但缺少一个重要功能。我需要能够隐藏帖子的某些部分,以便只有帖子作者和工作人员可以看到它们,而不能由发起主题的人看到。在我的场景中,这可能会导致漏洞。

在我看来,它可以这样工作:

对公众开放的部分帖子
[hide]只有帖子作者和工作人员才能看到的部分帖子[/hide]

当然,我宁愿使用比 [hide] BBCode 更现代的东西。
至关重要的是,公开的部分帖子仍然可以被搜索。

PS:是的,由于这个问题,我还没有开始我的以 RPG 为导向的 Discourse 论坛。

如果自托管或拥有足够高级别的托管。正如 @codinghorror 所提到的,可以使用“签名插件”,将私信链接放在用户签名中。正如 @RGJ 所提到的,指向私密话题分类的替代链接也可以。

这样就不需要记住在每篇帖子中添加链接了。

有关于此的更新吗?我拒绝相信没有人制作过这样的插件,它在 phpBB 时代被大量使用。

我猜你是这里唯一问过这个问题的人 :slight_smile:

如果你有预算(也许你的社区可以众筹?),你可以在 Marketplace 频道请求有人开发这个功能。

一个有趣但不太实用的替代方案是用 \u003crp\u003e \u003c/rp\u003e 包裹内容。
它不是指角色扮演 :face_with_tongue:

两个问题:

  1. 内容可以在 HTML 代码或帖子的原始/JSON 视图中查看,也可以通过搜索功能或引用帖子来返回。
  1. \u003crp\u003e 是一个内联元素,因此其中的块级元素会在块级元素之前关闭标签,这意味着,简单来说,内容只能包含常规文本和单行换行(2 行换行 = 段落 = 块级元素)。
2 个赞

您是否考虑过我的解决方案?

安装 Private Topics 插件。将组配置为 staff 或您的 game master 组。安装 Discourse signatures。在签名中放置 Private Topic 链接。一个用于角色表/历史记录……等等。

以及一个用于当前正在进行的故事情节的次要链接。

否则,正如 Canapin 所提到的,您可能需要考虑 Marketplace

1 个赞

是的,我做了,就像我在这条线程的帖子中提到的一样。

不幸的是,我太担心让创建游戏角色的过程变得更加复杂,这个过程已经很广泛了,如果我告诉用户在两个独立的过程中提供完整的角色表——在一个公开可见的主题中和一个私信中。 如果没有其他选择,我肯定会考虑市场。

“私有话题”插件使用一个常规分类,并附加了一个只有主题发布者(Op)和指定群组才能看到的设置。

如果他们公开张贴角色表,那么可能不需要私下访问。

此处话题的链接仅对您的玩家(主题发布者)和游戏主持人(GM)群组可见。

签名插件将简化在私有话题中添加角色表链接的操作。如果 GM 需要提供其他玩家不知道的信息,该插件也将发挥作用。

然后,可以添加一个链接回公开的游戏会话话题。

我明白了,但仍然需要创建两个主题:一个对所有人可见(描述角色的外观),一个私密(包含角色的历史和其他第一眼看不到的特征)。就像我说的,我不想让已经很复杂的角色创建过程变得更加复杂。以前使用 [HIDE] BBCode 要容易得多,也更直观。

1 个赞

您是否查看过whispers

额外加分项:如果您隐藏了某些内容,并且用户通过了检查,您可以将其切换为可见

3 个赞

它是目前可用选项中不那么乏味的,尽管仍然需要两个单独的帖子(常规和耳语)。但是,它假定用户知道如何使用耳语功能。