Discourse Retort

Setting up a certain trust level or group membership as requirement would be great. I would love to implement it as premium feature for premium members in my forum.

1 个赞

I really want to include this in our forum that’s being imported from phpbb… I’m just not sure on how the users will understood that they will have a “reactions” and a “like” altogether… I fear that they will end ignoring the like in favor of the reactions :confused:

I suppose, you could tweak the UI with CSS and/or Jquery so that people see multiple emojis to react with

What would be even more amazing is to grey out the extra emojis and lead the CTA to buy a certain group membership to enable that feature.

Retort includes the retort limited emoji set setting to present a fixed list of emoji.

You could pair that down to 3/4 reactions beyond ‘like’ to encourage users to use the like button when it’s relevant.

That doesn’t sound amazing, that sounds really really user-hostile.

Seems like disabling the plugin and rebuilding still breaks the post content. I had to go to finder -> ~/discourse/plugins, then had to manually remove the retort folder.

@gdpelican The retort plugin is inteferring with the emoji selection box, see this post:

https://meta.discourse.org/t/emoji-button-not-showing-emojis-when-browser-full-screen/119468/10

我可以确认上述错误。

@Vaping_Community@Jose_C_Gomez :smiling_face:

这个 PR 能解决您的问题吗?FIX: Prevent emoji-picker from not showing by SantosGuillamot · Pull Request #7856 · discourse/discourse · GitHub

我们之前也遇到过类似的问题,现在已经通过这个修复了。(也许您需要重新构建您的应用)

是的,现在已经修复了。

我为用户提供了一款 iOS/Android 应用,用户可通过该应用访问我的论坛。

在应用中打开主题时,帖子经常无法正确加载,或者仅显示导航栏。

我还在 /logs 中看到了以下错误:

TypeError: Cannot read property 'get' of undefined
    at i.disabledFor (https://.../assets/plugins/retort-0e38325ecc1e77022640749d263c616fa2014661562526df5557240511da536a.js:1:3734)
    at https://.../assets/plugins/retort-0e38325ecc1e77022640749d263c616fa2014661562526df5557240511da536a.js:1:4642
    at https://.../assets/application-005c06796edb69789ba3362843ad68e4f0e5b629e4bce0ccfce36db53770401e.js:75:13612
    at Array.map (<anonymous>)

以及

TypeError: undefined is not an object (evaluating 'e.get')
disabledFor@https://.../assets/plugins/retort- 
0e38325ecc1e77022640749d263c616fa2014661562526df5557240511da536a.js:1:3733
https://.../assets/plugins/retort- 
0e38325ecc1e77022640749d263c616fa2014661562526df5557240511da536a.js:1:4653
map@[native code]

关闭 Retort 后问题即解决。在普通移动浏览器中则运行正常。

这个 Bug 导致我可能不得不放弃应用或关闭 Retort,这两者都不是理想的解决方案 :smiley: 如果有帮助的话,我很乐意付费修复此问题 :slight_smile:

1 个赞

@DiscourseMetrics 我已经推送了一个修复方案,相信能解决此问题,不过我得承认没有单独启动一个应用来验证。能否请您拉取 account-for-missing-post 分支并确认问题是否已解决?

git clone -b account-for-missing-post https://github.com/gdpelican/retort.git
2 个赞

空白主题现在出现得更少了,所以我们走在正确的轨道上:slight_smile

现在看到这些错误:

TypeError: Cannot read property 'find' of undefined
    at i.postFor (https://.../assets/plugins/retort-e5332d5fc1fdd242b0b5702995f9e863e10f7e9def1d713e49cce1c391de94ed.js:1:3337)

以及

TypeError: i is undefined
Url: https://.../assets/plugins/retort-e5332d5fc1fdd242b0b5702995f9e863e10f7e9def1d713e49cce1c391de94ed.js

以及

TypeError: undefined is not an object (evaluating 'i.retorts')
Url: https://.../assets/plugins/retort-e5332d5fc1fdd242b0b5702995f9e863e10f7e9def1d713e49cce1c391de94ed.js
1 个赞

好的,请给我一点时间,我会进一步调查这个问题;看来该应用以某种方式与网页端有所不同。

如果您能授予我访问相关应用或论坛的权限,那将非常有帮助。:slight_smile:

1 个赞

使用

.post-retort{
// 我各种各样的 CSS 代码在这里
}

并没有改变默认样式。有什么想法吗?谢谢

1 个赞

我正在为我的社区 @gdpelican 筹备一个万圣节活动,并打算使用 :candy: 作为回应表情。

不过说实话,我对 SQL 几乎一无所知。我想创建两个数据探索查询:一个显示谁收到的 :candy: 回应最多,另一个显示谁发出的 :candy: 回应最多。这可行吗?感谢您的时间!

此处已确认。我们之前曾自定义过此 CSS。现在继承方式似乎发生了变化,默认设置覆盖了我们设置的所有 CSS。希望能提供修复方案或至少是变通方法。

在我们的案例中,背景颜色尤其成问题,因为默认颜色使用了我们主题中过深的颜色,导致图标被遮挡。

我有一个被添加到帖子中 22 次的反驳。

image

如果我尝试将其作为第 23 次添加,会收到 403 内部服务器错误。

日志中显示的错误如下:

在处理异常应用中间件中的异常时失败:PG::StringDataRightTruncation:错误:值对于字符类型 varying(255) 过长。

我怀疑它是否存储了每个添加反驳的用户名,而当添加数量较多时,该字段长度不足?:slight_smile:

3 个赞

我想知道每个主题/帖子允许的反应数量是否有限制。:slight_smile:

1 个赞

我不喜欢顶贴,但 .post-retort 的 CSS 继承问题确实让我们的回复功能几乎无法使用,因为在我们这种情况下,深色背景使许多表情符号几乎看不见。

2 个赞

是否可以让弹出窗口显示在所有按钮之上?目前弹出窗口位于每个按钮元素内部,因此下一个弹出窗口会遮挡前一个。

1 个赞