话题评分插件

至少可以说,要在我的开发环境中安装和测试的列表相当长,所以我无法确定您问题的原因可能是什么。

或许您可以跳过官方的 Discourse 插件。这样列表将只包含:

Spoiler
  - git clone https://github.com/procourse/procourse-static-pages.git
  - git clone https://github.com/Ebsy/discourse-nationalflags.git
  #- git clone https://github.com/paviliondev/discourse-ratings.git
  - git clone https://github.com/cpradio/discourse-plugin-imgflip.git
  - git clone https://github.com/paviliondev/discourse-topic-previews.git
  - git clone https://github.com/paviliondev/discourse-news.git
  - git clone https://github.com/paviliondev/discourse-layouts.git
  - git clone https://github.com/gdpelican/retort.git
  - git clone https://github.com/paviliondev/discourse-follow.git
  - git clone https://github.com/cpradio/discourse-plugin-composer-help-button.git
  - git clone https://github.com/paviliondev/discourse-custom-wizard.git
  - git clone https://github.com/paviliondev/discourse-tickets.git

稍后我会通过私信联系您,以安排管理员权限。

我建议卸载其中大部分插件,只保留对用户至关重要的那些。否则,你很可能自找麻烦,面临插件冲突、破坏性更新以及调试工作大幅复杂化的风险。

通常情况下,一个稳定且面向业务的企业网站,安装大约六七个插件就足够了。

很抱歉,除非您愿意聘请我们,否则我们无法为您提供安装支持。

2 个赞

我会按您的要求操作,卸载非官方插件并查明冲突原因,随后向您反馈。不过,目前无法立即执行此操作,因为网站正在被用户使用,现阶段无法承受停机时间。

如果我们移除官方的 Discourse 和 Pavilion,那么只剩下 5 个插件。

1 个赞

在最新的重建中,我的话题评分插件已与我所有的插件和主题组件兼容!起初,我禁用了该插件,因为我不确定它是否已准备就绪。显然,禁用该插件后,我无法阅读任何话题。只需启用该插件,不做其他操作,问题就解决了!我没有添加或移除任何插件。

2 个赞

你好,

我在使用这个插件时也遇到了同样的问题。如果我禁用它,所有主题都会显示这条消息::point_down:
错误日志与你的相同。

我有两个不同的 Discourse 站点,因此我检查了插件并与你的进行了比较。

相同的非官方插件是:

- git clone https://github.com/paviliondev/discourse-follow.git
- git clone https://github.com/paviliondev/discourse-custom-wizard.git

编辑:但我其中一个站点的 discourse-custom-wizard 被注释掉了,所以可能是 discourse-follow 插件与主题评分插件冲突。

完整插件列表 / 站点 1
  - git clone https://github.com/discourse/docker_manager.git
  - git clone https://github.com/discourse/discourse-solved.git
  - git clone https://github.com/jannolii/discourse-topic-trade-buttons.git
  - git clone https://github.com/paviliondev/discourse-ratings.git
  - git clone https://github.com/discourse/discourse-whos-online.git
  - git clone https://github.com/discourse/discourse-adplugin.git
  - git clone https://github.com/paviliondev/discourse-follow.git
  - git clone https://github.com/discourse/discourse-cakeday.git
  - git clone https://github.com/paviliondev/discourse-locations.git
  - git clone https://github.com/discourse/discourse-patreon.git
  - git clone https://github.com/paviliondev/discourse-custom-wizard.git
  - git clone https://github.com/discourse/discourse-spoiler-alert.git
  - git clone https://github.com/discourse/discourse-calendar.git
完整插件列表 / 站点 2
  - git clone https://github.com/discourse/docker_manager.git
  - git clone https://github.com/discourse/discourse-solved.git
  - git clone https://github.com/jannolii/discourse-topic-trade-buttons.git
  - git clone https://github.com/paviliondev/discourse-ratings.git
  - git clone https://github.com/discourse/discourse-whos-online.git
  - git clone https://github.com/discourse/discourse-adplugin.git
  - git clone https://github.com/paviliondev/discourse-follow.git
  - git clone https://github.com/paviliondev/discourse-multilingual.git
  - git clone https://github.com/discourse/discourse-calendar.git
  - git clone https://github.com/paviliondev/discourse-locations.git
  - git clone https://github.com/paviliondev/discourse-custom-wizard.git
  - git clone https://github.com/discourse/discourse-patreon.git
  - git clone https://github.com/discourse/discourse-cakeday.git

@fzngagan 如果需要找出问题所在,我可以提供其中一个站点的管理员访问权限。

3 个赞

是的,要复现这个问题,只需禁用评分插件即可。

1 个赞

正在查看几个问题。

附言:
是的,我可以复现该问题。正在查看。

2 个赞

完全同意

我们需要这个

可以确认存在完全相同的问题。

复现步骤:

  1. 重新构建至最新版本。
  2. 已安装“话题评分”插件。
  3. 已禁用“话题评分”插件。
  4. 尝试访问任意话题。

临时解决方案:

  1. 卸载(在 yml 文件中注释掉)“话题评分”插件。
  2. 重新构建。
3 个赞

@Don @AntiMetaman @Iceman
此提交修复了该问题:

如果您正在生产环境中使用,建议暂时不要更新该插件。要么保持启用状态,要么在不需要时将其移除,直到下一个支持周期开始。

5 个赞

感谢您在此期间之外抽出时间修复此问题。

4 个赞

有几个问题想请教:

  1. 当第一条回复被删除时,评分似乎没有重置为“无评分”,请查看 此主题。这是预期行为吗?
  2. 主题创建者可以回复自己的主题并留下评分,这不应该被忽略吗?请查看 此主题

谢谢大家!

3 个赞

是的,这看起来可能像是一个副作用,但第一条帖子并未定义该主题是否启用了评分功能。

是的,他们每个标准只能评分一次,因此基本上无法完全影响评分结果。不过,该请求在某些使用场景下确实有道理。

3 个赞

此外,支持期正在进行中。该插件在截至目前的最新测试中运行完美。

5 个赞

这能被视为错误吗?
还是我必须删除它才能使其正常工作?

4 个赞

如果你能尝试修复,我很乐意接受你的 PR。

3 个赞

虽然这不属实,但情况确实如此。

演示:https://search.google.com/test/rich-results

这并不完全等同于该扩展的工作原理,但对于在 Google 上获得精选展示仍然很有帮助。由于我的网站会员较少,因此用户评价对我的网站影响不大。

4 个赞

大家好!如何让评分对登录和未登录用户在每个帖子中都显示?

谢谢

3 个赞

您可以为所有类别启用评分功能。

3 个赞