Benjamin_D
(Benjamin Decotte)
2021 年2 月 18 日 06:04
42
Hi Syl,
not sure if it’s always been there and/or on purpose but I’ve just noticed that the new topic button of the parent category of any discpage category is disabled, I assume there:
https://github.com/sylque/discpage/blob/b6da51a6d706d9b52864017ebffe25e13c7894fd/assets/javascripts/discourse/lib/lib.js.es6#L53-L54
Is it intended? It doesn’t seem to be the case on castafiore.org (I’m on ( 2aac657da7 ) and latest of discpage). Weirdly I don’t remember the balloon categories ever been hidden (but the new topic button is also disabled). I have two couples discpage/balloons categories, each couple in it’s own category.
syl
2021 年2 月 18 日 08:40
45
Thanks @Benjamin_D .
Looks like a bug, I will investigate this more.
DiscPage does its best to prevent users from using the balloon category manually. The reason is that the balloon category is supposed to be applied automatically by DiscPage, when the user creates a new topic in a balloon.
To enforce this rule:
DiscPage hides the balloon category from the category combo box in the “New Topic” dialog.
DiscPage disables the “New Topic” button on the balloon category page.
Do you confirm this is what you see?
Benjamin_D
(Benjamin Decotte)
2021 年2 月 18 日 09:12
46
I do
And I can also confirm that the parent category is not hidden in the combo box in the new topic dialog
syl
2021 年2 月 18 日 10:40
47
The issue has been fixed in v1.0.46 (more information here ).
1 个赞
我很困惑,需要一些指导。我们有一个标准账户,我想知道这个插件是否可以安装在该账户级别。我在插件选项页面上没有看到它。
我错过了什么?
我们需要升级到企业账户才能使用它吗?
期待您的回复。谢谢
尼尔
syl
2022 年2 月 3 日 09:09
49
您好 Neil,
我不太了解 Discourse 的托管计划,所以您可能应该联系 Discourse 团队。
从我在这里 (here ) 阅读到的信息来看,我认为您不能在 Standard 托管计划中使用 DiscPage。我的理解是,如果您想安装任何插件,您需要 Entreprise 托管计划(或自托管的 Discourse 实例)。
此致,
1 个赞
我在 Github 上找到的“使用说明 添加讨论气球 ”有点误导……
README 中是这样说的……(按照这些说明,我无法 让任何气球显示出来)……
要添加一个气球,请在你的主题文本中添加 [dpgb id=myBalloonId][/dpgb]。
例如:
## Introduction [dpgb id=intro][/dpgb]
气球 ID 必须只包含 [a-zA-z_]。
然而,我发现以下内容,现在气球可以显示出来了……
要添加一个气球,在主题编辑器中,格式应该是……
[dpgb id=myballoonid] 当气球被点击时,你想突出显示的、供用户评论的部分,放在这里,放在这些标签之间 [/dpgb]
例如:
[dpgb id=intro] Introduction [/dpgb]
另外,ID 必须只包含 [a-z ](仅小写字母 )。
你可能还会注意到,在我下面的例子中,[dpgb=id] 和 [/dpgb] 前后多余的空格也不是问题。
所以这是我在 Discourse 的主题编辑器中输入的内容示例……
这是最终页面的样子……
嗯……当我点击橙色气球时,页面会分成两半,但当我点击右侧面板中的 + 新建主题按钮时……
……主题编辑器会从底部滑上来,所以我用它来写我的主题……
……但保存后,它没有与页面主题关联,右侧面板中仍然没有主题列表……
有人知道这里发生了什么(或没有发生什么本应发生的事情)吗?
这是实时页面:
https://noobish.me/t/chapter-1-in-the-beginning/255
syl
2022 年9 月 13 日 10:37
52
谢谢 @denvergeeks ,我今天晚些时候会看看。
syl
2022 年9 月 13 日 15:36
54
我在这里看到 4 个问题:
在标题末尾插入 [dpgb id=myBalloonId][/dpgb](为了选择标题和后面的段落,如此处 所述)不再有效。让我们在此处 跟进此问题。
将 [dpgb id=myBalloonId]Some text here[/dpgb] 放在文本周围(为了仅选择该文本)是未记录的。让我们在此处 跟进此问题。
ID 必须只包含 [a-z ](仅小写字母 )
@denvergeeks ,这可能是因为你在 Discourse 设置中将 force_lowercase_tags=true(或者它可能是默认值)。我很惊讶你遇到了这个问题,因为在这种情况下,气球应该被一个警告替换:
将鼠标悬停在红色的“DiscPage Error”上时,你应该会收到以下错误消息:
Balloon id has uppercase. This doesn’t fit force_lowercase_tags=true in Discourse settings. Fix: either make your balloon id all lowercase, or set force_lowercase_tags to false.
同样的消息也会打印在控制台中。
如果以上方法对你无效,请在 Github 上创建一个问题,以便我们进一步讨论。
@denvergeeks ,你描述了另一个创建主题不起作用的问题。我无法重现此问题,因此我们需要进行更多互动。请创建一个单独的 Github 问题。
谢谢 @syl – 感谢您的回复 很高兴看到您还在!
我将继续在 DiscPage Github Issues Cue 上跟进……
非常感谢 @syl ,从 DiscPage v1.0.52 开始,一切似乎又恢复正常了!!!(我真的很喜欢这个插件 )
1 个赞
syl
2023 年9 月 11 日 15:35
59
3 个赞
我一定遗漏了什么显而易见的东西……
点击一个橙色气泡后,相关的“主题列表”会从右侧滑入,但我找不到任何按钮来创建与橙色气泡关联的文本的评论。
我一丝不苟地遵循了 Github 页面上的设置说明。
我有一个“页面”类别,具有所有正确的安全设置……
请告知!
编辑: 对于其他遇到此问题的人(以及我未来的自己)——以下主题组件是导致此问题的原因。
禁用该主题组件后……创建新主题的按钮出现了,一切都如预期般工作
还有两件事……
除默认 Discourse 主题外的其他主题可能会导致布局混乱且无法使用,因此如果您遇到此类行为不当的情况,请尝试使用默认主题。
如果在“导航菜单”设置中启用了“侧边栏菜单”,该侧边栏菜单将显示在评论滑入部分中,从而使用户感到困惑,因此我需要使用“标题下拉菜单”或“旧版”来防止这种情况。(或者,您可以在您的网站上使用侧边菜单导航,但使用 CSS 在 DiscPage 类别上隐藏它。)
2 个赞
syl
2023 年10 月 11 日 20:26
62
嘿 @Hifihedgehog ,感谢你的报告。我会看看的。
1 个赞
syl
2023 年10 月 12 日 20:35
63
@Hifihedgehog ,
我创建了一个条目来讨论这个问题:
opened 08:28PM - 12 Oct 23 UTC
The issue is described here:
https://forum.tabletpc.review/t/flickering-pages-n… ew-rendering-issue
There's a video here:
https://www.youtube.com/shorts/e2tmPtBdy78
Not to self: it happens on a "non DiscPage" page.
我还没有复现这个问题。不过,我已经发布了插件的新版本(1.0.53),它修复了 Discourse 上一个版本的一些其他布局问题。请您安装新版本并告知我问题是否仍然存在?
谢谢。
1 个赞
我刚试了一下。错误仍然存在。我在 Surface Pro 8 的纵向模式下,在主题的底部附近遇到了这个问题。
1 个赞