如果用户没有发布图片的权限,可能会在 discobot 教程中卡住

I was told by admins of a forum that uses discourses back end that I should post this here instead of on their forum.

The forum in question has configured there default join role such that it cannot do anything except read posts. However, you still get the tutorial notification, and based on how its worded it can be construed that it will help you rank up to a rank that can post.

The problem arises when you get to the post a image portion of the tutorial. As you have been denied access to posting images, the forum throws a error every time you try and upload a image. If you know how images generally work online, you can be cheeky and post the image URL of the example picture provided, but that is rather niche. Alternatively you can use the skip command, but the existence of that command is not mentioned within the tutorial.

Apparently changing the text of the discourse tutorial to include a mention of the skip command would require forking the codebase, which is why I was told to post this here.

2 个赞

This isn’t correct - feel free to refer your admins here. The language can be freely edited, and we’re happy to show them how.

That said, the logic isn’t so easy to edit, so if they want the Discobot tutorial to work as intended they’re going to need to enable images.

2 个赞

Would my understanding be correct that you can enable posting pictures at a “account level” level but disable it for that account level on a per category basis? Basically if you enable post pictures for the account level, is there any way of configuring the site so that users of that rank cannot post pictures in lieu of posts or does disabling posts include posts that just consist of images?

I was reasonably certain this is a issue they should be able to solve on there end, not one that requires a update to the discourse source code but they were insistent that it was not.

1 个赞

Can’t they use the skip command?

4 个赞

如前所述,教程中并未提及 skip 命令,因此用户无法使用它。

我与此前与一位管理员沟通后得到的回复如下:

话虽如此,我会在该论坛中补充关于 skip 命令的说明。但直接覆盖该论坛的文本可能无法长期有效,因为如果他们更改了语言条目,或者彻底调整了 Discobot 教程的结构,这种做法就会失效。而且,我只能修复英文版本,因为我并不精通 Discourse 支持的所有其他语言环境,因此这实际上并未解决问题。我们既没有足够的人力,也没有可用的人员为所有语言环境进行此类修复,而指望软件用户来解决这类问题更是荒谬。教程本应开箱即用,直接提及 skip 命令。

请就相关错误报告在 Discourse Meta 上继续讨论此问题。我们无法就此提供进一步帮助。

当步骤超时时,应提及“跳过”。相关文案已存在。

我真的不明白你为什么试图帮助他们,他们完全可以自己在这里发帖,而不是麻烦你充当他们的代言人。

我猜这对他们来说并不是优先事项?

我自己也提出过这个论点。我对 Discourse 的运作机制一无所知,只知道它基于 Ruby on Rails 构建,至于具体使用了哪些设置,我更是毫无头绪。当时的回复是:

我认为你不必了解具体实现方式——你只需在元论坛的“漏洞”分类下发帖,说明 Discourse 机器人要么应提及跳过命令,要么在展示命令时应考虑用户是否具备执行该操作的权限。

本论坛设有多个访问层级。我目前的权限级别要求我的帖子必须经过管理员(包括负责该网站的工程师)审核后才能公开。等我再次提升等级后,便无需他们的许可即可直接发帖,因此我正尽力收集尽可能完整的信息。具体来说,我希望确认:他们是否应当能够禁止最低权限级别的用户发布帖子,同时允许他们在教程中上传图片。我推测这是可行的,但他们却坚决表示不行。

我完全不知道您在这里指的是什么。我承认我只完整过了一遍教程两次,但当我搜索“跳过”时,两次都没有找到任何结果。

在以下两种情况下,discobot 会提供跳过选项:

“嘿 @%{username},好久没收到你的消息了,来确认一下。- 要继续,请随时回复我。- 如果想跳过这一步,请说 %{skip_trigger}。- 想重新开始,请说 %{reset_trigger}。如果你不想继续也没关系。我是个机器人,不会伤心的。:sob:`

或者当它无法理解回复时。

也许他们已经修改了回复内容?

3 个赞