Edit URL into a topic title after creation?

On my forum, there are some topics built around various links. For some users, this thing is obvious, just paste the link to the topic title box, and the result works great, e.g.:

However, the problem is when users doens’t know/care about this feature, and paste the url into the composer, not into the title.

And hence is my question: me, as a moderator/admin, how can i switch a regular topic to an url topic?


Side quest: there is a way to automatically add a tag to topic-links or at least search only on these topics?

Thanks!

(i have no idea how this feature is called though)

1 个赞

At the moment I don’t think it is possible. @neil recently added the ability to remove an erroneously created “topic link”, so maybe that UI can be extended with an edit button at some point in the future.

7 个赞

Correct, there’s currently no way to go backwards from a topic to a link.

Is there a way we can make it more clear to your users that they could have pasted the link into the first field? The placeholder text says they can paste a link, so if they chose not to do that maybe they didn’t want the link.

4 个赞

I have no idea. The single user I’ve asked about this responded me that he simply didn’t noticed this feature.

Probably it is more like a habbit of 20+ years of classic forums, where users could enter only the title in the „title” box :slight_smile:

6 个赞

Hello,
My language is Vietnamese, so, after i create topic, the link is been convert so ugly, not beautifull. Can i make up theme? And how?
Thank you!

Can you screenshot what you mean?

3 个赞

Are there any news on a feature to add a URL into an existing post?

1 个赞

我遇到了一个有趣的挑战——很多人回复其他帖子时附带了新冠疫情资源的链接,而我们希望将这些链接整合到资源子分类的独立主题中。在移动帖子并选择新主题时,将 URL 粘贴到主题标题中无法生效。新主题中显示的只是一个普通链接,而不是从页面获取的标题。因此需要手动编辑修复,而且在主题列表中也无法显示漂亮的链接预览。

是否有什么特定原因导致无法在标题撰写完成并保存帖子之后再添加链接?这种情况在我们的社区中经常出现,通常发生在版主想为其他人发布的主题事后补充链接时。

我不确定我们是否曾被明确告知过原因,但过去曾多次确认,目前无法实现:

https://meta.discourse.org/t/add-website-link-to-existing-title/86771/2?u=stephen

我很高兴我们获得了删除错误链接的选项,尽管确实有些时候,我希望能主题创建后再添加链接。

3 个赞

说实话,根据我所看到的,目前这个功能的使用频率还不足以证明其存在的合理性,更不用说再投入更多工程工作去优化它了。

我们当然可以运行一下托管服务的统计数据,但我相当清楚那些数据会是什么样子……

4 个赞

这对我来说很有道理。我想这是一个高级功能,我们可以向好奇的用户解释其工作原理和限制。 不过,这确实是一个不错的功能,尤其适合快速分享链接以便在论坛上讨论。所以请不要移除它!:wink:

1 个赞

我在想,这究竟是出于无知,而非缺乏意愿。我使用 Discourse 已经有一段时间了(甚至还为它开发了一些插件),但不知为何,我一直不知道有这个功能。

我不禁在想,这是否真的应该作为一个分类级别的设置,强制要求人们在特定分类下创建新主题时始终包含一个 URL。

话虽如此,如果我们添加类似的功能,我们就不得不去教导用户了解这个分类设置,所以:man_shrugging:

1 个赞

我刚刚通过另一个询问此功能的主题发现了这个功能。太棒了!
我稍微测试了一下,看看它是如何工作的。这有点复杂 :wink: 看来你必须首先将 URL 输入到标题中。你不能先写其他内容,然后再想添加 URL(但你可以先输入 URL,然后再写其他内容,甚至可以在 URL 之前添加)。[编辑:仅适用于帖子。你无法编辑现有标题]

输入方式也有点棘手:你必须先写 http://https://,然后不间断地输入完整的 URL :wink: 但输入完成后必须稍作停顿(即使在没有停顿的情况下添加一个空格,也会导致它无法工作)。

我的理解是,http(s):// 必须在标题的开头被检测到,并且一旦有短暂的停顿,它就会将之后输入的内容视为 URL(就是这样。这就是 URL,之后无法更改。现在不行,以后也不行。之后只能将其删除。如果你输入的内容中包含任何空格,Discourse 将不会执行任何操作,而是将其视为“普通”标题。链接似乎是在验证帖子时进行检查的:如果其中没有点号,系统会提示无效。复制/粘贴也适用,但需遵循所有相同参数:你必须粘贴 URL;必须在开头;不能有空格。之后你可以添加任何内容)。

要删除它,你必须点击标题上方附近的编辑图标。帖子下方的编辑功能不提供删除链接的选项。

所以,如前所述,如果你不知道这些规则,这一切都有点棘手,但它仍然很棒。

4 个赞

为什么不直接粘贴链接,而不是手动输入呢?

2 个赞

我不太明白这个问题。从哪里粘贴呢?如果你想复制/粘贴某些内容,当然可以。但你也有想要提及你记得或知道的 URL的时候。你的意思是先把它输入到别处,然后再复制/粘贴吗?这里的逻辑是什么?(除了知道这样做能解决 Discourse 可能存在的某个问题之外)

该功能最初是应人们的需求而添加的,他们希望分享从其他地方复制的链接,以发起新的讨论。

4 个赞

我们是什么?野蛮人???

:laughing: