# 投票主题仅在用户想要查看时显示？

**URL:** <https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309>\
**Category:** Support\
**Tags:** rss-polling\
**Created:** [2023年二月25日 19:13 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309 "2023-02-25T19:13:30Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Octoberon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/octoberon/32/288382_2.png) [@Octoberon](https://meta.discourse.org/u/Octoberon)\
**Post date:** [2023年二月25日 19:13 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/1 "2023-02-25T19:13:30Z")

</div>

我已经安装并运行了该插件。现在我正在尝试正确配置可见性。并非所有人都对 RSS feed 的帖子感兴趣，所以理想情况下，我希望它们不会出现在用户的首页上，_除非_他们选择查看它们。我已经禁用了 `Embed unlisted` 以防止帖子出现在首页上，但用户是否可以选择在首页上看到它们？用户可以查看子类别或课程，但这在某种程度上会削弱 feed 提供定期更新的目的。

另一个问题是，我不想让 feed 中的任何内容出现在摘要中，这可以通过启用 `Embed unlisted` 选项来阻止。但然后它们会显示为“最新”帖子。这就是我的困境。

我是否遗漏了其他管理方法？

---

<div class="post-metadata">

**Author:** ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Post date:** [2023年二月25日 19:17 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/2 "2023-02-25T19:17:35Z")

</div>

也许您可以将 RSS 类别默认设为静音。

---

<div class="post-metadata">

**Author:** ![Octoberon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/octoberon/32/288382_2.png) [@Octoberon](https://meta.discourse.org/u/Octoberon)\
**Post date:** [2023年二月25日 20:16 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/3 "2023-02-25T20:16:08Z")

</div>

我猜想用户可以静音他们不感兴趣的类别，这样就不会在信息流中看到相关帖子。我试图避免为我的成员增加管理开销，因为这不是一个技术论坛，他们通常不喜欢过多地调整设置。

---

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2023年二月25日 20:37 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/4 "2023-02-25T20:37:31Z")

</div>

> [@Octoberon](#):
>
> 我已禁用“嵌入未列出”，以防止帖子出现在主页上

禁用“嵌入未列出”设置不会阻止 RSS 帖子出现在主页上。OP 中有一些关于该设置如何工作的详细信息：[https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387#prevent-embedded-topics-from-being-unlisted-3](https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387#prevent-embedded-topics-from-being-unlisted-3)。该设置有点令人困惑，因为它被添加是为了解决在外部网站上使用 Discourse 评论时可能出现的问题。当与 RSS 插件一起使用时，该设置没有多大意义。这就是为什么 OP 建议禁用它的原因。

我认为在您的情况下，最佳解决方案是禁用“嵌入未列出”设置，并遵循 @Jonathan5 的建议，将主题发布到一个默认静音的类别。

> [@Octoberon](#):
>
> 另一个问题是，我不想让任何来自 feed 的内容出现在摘要中，

如果您将 RSS 帖子发布到它们自己的类别，您可以将该类别添加到您的 `digest suppress categories` 设置中，以防止主题出现在摘要电子邮件中。

---

<div class="post-metadata">

**Author:** ![Octoberon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/octoberon/32/288382_2.png) [@Octoberon](https://meta.discourse.org/u/Octoberon)\
**Post date:** [2023年二月25日 22:46 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/5 "2023-02-25T22:46:35Z")

</div>

我已经测试了“嵌入式未列出”的效果。如果我禁用它，RSS 帖子将不会出现在“最新帖子”列表中，而这是登录后的默认页面。这似乎与您所说的相反，但也许我有什么地方理解错了。

来自 RSS 源的帖子被设置为进入一个专用类别，但出于两个原因，我不想默认禁用它。

1. 用户必须主动选择在他们的偏好设置中启用它，因此它成为一个“选择加入”的功能，人们可能懒得去使用，这让我想到……

2. 新用户不知道要选择加入，除非在欢迎邮件中给出了说明，而且他们可能因为不想阅读而错过了那部分内容，他们甚至不知道有这个源。

我明白在所有论坛上这些选择可能都没有意义，但对我运行的论坛（有很多年长和非技术用户）来说，我认为这是最好的方式。我在我们的“操作指南”部分添加了一篇关于静音类别的帖子，这样如果他们对内容不感兴趣，就可以将其关闭。  
.

> [@simon](#):
>
> 如果您将 RSS 帖子发布到自己的类别中，您可以将该类别添加到您的 `digest suppress categories` 设置中，以防止主题出现在摘要电子邮件中。

这个我不知道，这正是我需要的——谢谢！

---

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2023年二月25日 23:19 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/6 "2023-02-25T23:19:47Z")

</div>

> [@Octoberon](#):
>
> 我一直在测试“嵌入不列出”的效果。如果我禁用它，RSS帖子将不会出现在“最新帖子”列表中，这是登录后的默认页面。这似乎与您所说的相反，但也许我有什么地方理解错了。

您可能遇到的问题是，如果您是网站的管理员用户，未列出的主题仍会显示在网站的“最新主题”列表中。普通用户在该页面上将看不到未列出的主题。

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2023年二月26日 07:55 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/7 "2023-02-26T07:55:43Z")

</div>

只是一个小提示，未列出的主题现在也可以由 TL4 以及版主和管理员看到。 👍

---

<div class="post-metadata">

**Author:** ![Octoberon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/octoberon/32/288382_2.png) [@Octoberon](https://meta.discourse.org/u/Octoberon)\
**Post date:** [2023年二月26日 20:40 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/8 "2023-02-26T20:40:17Z")

</div>

> [@simon](#):
>
> 您遇到的问题可能是，如果您是网站上的工作人员用户，那么未列出的主题仍然会在网站的“最新主题”列表中显示给您。普通用户在该页面上将看不到未列出的主题。

出于这个原因，我使用一个没有管理员权限的普通帐户来测试更改，

---

<div class="post-metadata">

**Author:** ![Octoberon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/octoberon/32/288382_2.png) [@Octoberon](https://meta.discourse.org/u/Octoberon)\
**Post date:** [2023年二月28日 21:35 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/9 "2023-02-28T21:35:53Z")

</div>

我改变了关于 RSS 帖子如何集成的想法。我_曾_打算让新闻源（摩托车运动）自由进入论坛，成员们如果不想看到它们，就必须将其静音。然后我决定，自动发帖违背了用户积极主动地创建内容来建设社区的原则。所以，我可能会将新闻源作为会员的一项可选福利。

我想说的是，反馈总是有帮助的，我很感激大家在这里的意见。

---

<div class="post-metadata">

**Author:** ![Octoberon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/octoberon/32/288382_2.png) [@Octoberon](https://meta.discourse.org/u/Octoberon)\
**Post date:** [2023年三月17日 11:31 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/10 "2023-03-17T11:31:47Z")

</div>

我已经在暂存服务器上成功设置并按我想要的方式进行了配置。本周，我在生产服务器上安装了该插件，并以相同的方式进行了所有设置，但馈送内容并未显示在指定的子类别中。URL 绝对正确并且正在提供更新——我从暂存服务器的轮询设置中复制了它，并将其粘贴到单独的 RSS 阅读器中。那里没有问题。

插件已启用。

 ![Screenshot 2023-03-17 at 11.16.26](https://global.discourse-cdn.com/meta/original/4X/c/4/2/c425bd726e620c58a5239ebe1fa2d907b4486c22.png)

已设置轮询。这些设置已保存。“trumpet”是论坛的 Discobot 重命名——我想给它找点事做。我在暂存服务器上成功使用了它。

 ![Screenshot 2023-03-17 at 11.18.37](https://global.discourse-cdn.com/meta/original/4X/a/2/f/a2f94c1d9b21aaa9d395258bbdaf56d059e66111.png)

接收子类别存在，其安全设置为：

 ![Screenshot 2023-03-17 at 11.17.36](https://global.discourse-cdn.com/meta/original/4X/b/8/c/b8ccac95429d971843fbc17f6de483529461d893.png)

我默认静音了该频道……

 ![Screenshot 2023-03-17 at 11.16.57](https://global.discourse-cdn.com/meta/original/4X/d/2/a/d2ae4dce1874a6100ebeab7f0fd877999008fb7b.png)

……并为我的用户帐户（也具有管理员权限）取消了静音。我有一个仅为基本级别的测试帐户，它也没有看到任何内容，即使在用户跟踪首选项中删除了默认静音设置后也是如此。

 ![Screenshot 2023-03-17 at 11.18.08](https://global.discourse-cdn.com/meta/original/4X/c/0/d/c0da81271cd7f5768180d2233739ba5694bf30cb.png)

我已无处可查，因为两台服务器上的一切似乎都相同，但只有一台在工作。我是否遗漏了什么，或者是否有日志可以阐明正在发生的事情？我唯一能尝试的是设置第二个馈送，但这并不能解释为什么第一个馈送不起作用。

---

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2023年三月17日 21:36 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/11 "2023-03-17T21:36:25Z")

</div>

> [@Octoberon](#):
>
> I got this working and set up how I want it on my staging server.

奇怪的是，它在一个站点上可以工作，但在另一个站点上却不行。您在生产站点的日志中看到任何错误吗？您可以从“管理”/“日志”/“错误日志”访问错误日志。

---

<div class="post-metadata">

**Author:** ![Octoberon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/octoberon/32/288382_2.png) [@Octoberon](https://meta.discourse.org/u/Octoberon)\
**Post date:** [2023年三月18日 15:45 UTC](https://meta.discourse.org/t/having-polled-topics-only-appear-if-a-user-wants-to-see-them/285309/12 "2023-03-18T15:45:09Z")

</div>

错误日志中似乎没有与插件相关的内容。我将尝试添加第二个馈源，看看它是否完全无法运行。这可能会提供线索。除此之外，我能想到的就是卸载并重新安装插件以重新设置它。
