# Latest

**URL:** https://meta.discourse.org/latest.md?page=1219&state=watching

[最新](https://meta.discourse.org/latest.md) · [类别](https://meta.discourse.org/categories.md) · [标签](https://meta.discourse.org/tags.md)

**Page:** 1220

---

## [恢复备份后出现登录问题](https://meta.discourse.org/t/login-problem-after-restore-a-backup/154043)

<div class="topic-metadata">

**Author:** [@Schoebi](https://meta.discourse.org/u/Schoebi)\
**回复:** 1\
**最近更新：:** [2020 年6 月 7 日 04:29 UTC](https://meta.discourse.org/t/login-problem-after-restore-a-backup/154043 "2020-06-07T04:29:44Z")

</div>

已成功从基于 Yunohost.org 服务器的实例恢复 Discourse 备份。（两个实例均基于相同的 Yunohost 和 Discourse 版本） 内容可见，但无法登录。用户未激活。 A…

---

## [嵌入式链接不显示目标页面](https://meta.discourse.org/t/embedded-links-don-t-show-the-target-page/153897)

<div class="topic-metadata">

**Author:** [@amaha](https://meta.discourse.org/u/amaha)\
**回复:** 6\
**最近更新：:** [2020 年6 月 7 日 04:10 UTC](https://meta.discourse.org/t/embedded-links-don-t-show-the-target-page/153897 "2020-06-07T04:10:02Z")

</div>

你好！最近，我使用 OpenGraph 元标签制作了一些点击诱饵链接，并注意到 Discourse 从不显示目标 URL，而是依赖可被伪造的元标签来告知用户他们将要点击的内容……

---

## [SDTT 中的架构错误 \[Discourse 论坛发帖\]](https://meta.discourse.org/t/schema-error-discourse-forum-posting-in-sdtt/154062)

<div class="topic-metadata">

**Author:** [@puneetverma](https://meta.discourse.org/u/puneetverma)\
**回复:** 0\
**最近更新：:** [2020 年6 月 7 日 04:09 UTC](https://meta.discourse.org/t/schema-error-discourse-forum-posting-in-sdtt/154062 "2020-06-07T04:09:19Z")

</div>

在 Google 结构化数据测试工具中测试 Discourse 论坛的任何讨论时，Schema 中会显示大量警告和错误。如何修复此问题？

---

## [禁用 Discord 登录账户弹窗](https://meta.discourse.org/t/disable-discord-login-account-popup/154054)

<div class="topic-metadata">

**Author:** [@Aiden12114](https://meta.discourse.org/u/Aiden12114)\
**回复:** 0\
**最近更新：:** [2020 年6 月 7 日 00:39 UTC](https://meta.discourse.org/t/disable-discord-login-account-popup/154054 "2020-06-07T00:39:46Z")

</div>

所以，我希望所有人都只能通过 Discord 登录。但当他们这样做时，会出现以下情况： 我想知道如何移除它？

---

## [批量编辑分类](https://meta.discourse.org/t/bulk-editing-categories/81076)

<div class="topic-metadata">

**Author:** [@Heather\_Dudley](https://meta.discourse.org/u/Heather_Dudley)\
**回复:** 2\
**最近更新：:** [2018 年2 月 20 日 20:31 UTC](https://meta.discourse.org/t/bulk-editing-categories/81076 "2018-02-20T20:31:12Z")

</div>

是否有简便的方法可以从管理面板批量编辑分类？我们正在一个测试站点上工作，当然，我为所有分类设置了不同的徽章颜色。我想将它们全部更改为大致相同的主题…

---

## [提议：在“添加链接”弹窗中建议分类页面](https://meta.discourse.org/t/proposal-suggest-category-pages-in-add-link-modal-window/154028)

<div class="topic-metadata">

**Author:** [@keunes](https://meta.discourse.org/u/keunes)\
**回复:** 1\
**最近更新：:** [2020 年6 月 6 日 12:50 UTC](https://meta.discourse.org/t/proposal-suggest-category-pages-in-add-link-modal-window/154028 "2020-06-06T12:50:06Z")

</div>

在链接弹窗中，输入线程（主题）标题时，系统会提供建议，只需按两次回车键即可将其添加为链接。如果能快速添加分类链接就好了……

---

## [子文件夹在 2.5.0.beta6 之后重写（但不重定向）到主域名](https://meta.discourse.org/t/subfolder-rewrites-but-doesnt-redirect-to-main-domain-after-2-5-0-beta6/153664)

<div class="topic-metadata">

**Author:** [@pierrepierre](https://meta.discourse.org/u/pierrepierre)\
**回复:** 4\
**最近更新：:** [2020 年6 月 6 日 12:48 UTC](https://meta.discourse.org/t/subfolder-rewrites-but-doesnt-redirect-to-main-domain-after-2-5-0-beta6/153664 "2020-06-06T12:48:33Z")

</div>

我有两个容器（一个 Discourse 和一个 WordPress）以及一个将流量路由到它们的 Nginx 反向代理： WordPress：我的域名.com 后不带 /community 的任何 URL。 Discourse：当 URL 为 mydomain.com/community 时。 它已...

---

## [如何在帖子中添加点击展开内容](https://meta.discourse.org/t/how-to-add-click-to-expand-content-in-posts/153691)

<div class="topic-metadata">

**Author:** [@sharkdeng](https://meta.discourse.org/u/sharkdeng)\
**回复:** 3\
**最近更新：:** [2020 年6 月 6 日 11:49 UTC](https://meta.discourse.org/t/how-to-add-click-to-expand-content-in-posts/153691 "2020-06-06T11:49:44Z")

</div>

你好，我想知道如何添加一个按钮，点击后可以在此处显示隐藏的转录内容。我看到内容支持 HTML。该怎么做？谢谢。

---

## [我可以使用 JSON API 而不是构建插件吗？](https://meta.discourse.org/t/can-i-use-the-json-api-instead-of-building-a-plugin/153998)

<div class="topic-metadata">

**Author:** [@JQ331](https://meta.discourse.org/u/JQ331)\
**回复:** 3\
**最近更新：:** [2020 年6 月 6 日 09:50 UTC](https://meta.discourse.org/t/can-i-use-the-json-api-instead-of-building-a-plugin/153998 "2020-06-06T09:50:23Z")

</div>

我正在尝试进行一些自定义（如此处和此处所述），这需要扎实掌握 Ember 和 Rails，以及了解底层 Discourse 代码库的整合方式。因此，进展较为缓慢 …

---

## [自定义用户字段 - 注册表单隐藏选项](https://meta.discourse.org/t/custom-user-fields-option-to-hide-on-sign-up-form/154018)

<div class="topic-metadata">

**Author:** [@markersocial](https://meta.discourse.org/u/markersocial)\
**回复:** 0\
**最近更新：:** [2020 年6 月 6 日 08:39 UTC](https://meta.discourse.org/t/custom-user-fields-option-to-hide-on-sign-up-form/154018 "2020-06-06T08:39:11Z")

</div>

这是一个关于解决此问题的已关闭线程，其中包含一个 CSS 解决方案： 目前，自定义用户字段的选项包括： 注册后可编辑？ 注册时必填？ 在公开个人资料中显示？ 在用户卡片上显示？ 我…

---

## [观看单词技巧](https://meta.discourse.org/t/watched-words-tricks/153905)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回复:** 5\
**最近更新：:** [2020 年6 月 6 日 07:27 UTC](https://meta.discourse.org/t/watched-words-tricks/153905 "2020-06-06T07:27:32Z")

</div>

在将大量已观察单词转换为正则表达式的过程中，我发现了一些绕过过滤器的方法。这些方法似乎对“普通”已观察单词和正则表达式都有效。 双空格：如果你…

---

## [In a top category page, show only its own topics below subcategories](https://meta.discourse.org/t/in-a-top-category-page-show-only-its-own-topics-below-subcategories/39527)

<div class="topic-metadata">

**Author:** [@meglio](https://meta.discourse.org/u/meglio)\
**回复:** 32\
**最近更新：:** [2020 年6 月 6 日 04:52 UTC](https://meta.discourse.org/t/in-a-top-category-page-show-only-its-own-topics-below-subcategories/39527 "2020-06-06T04:52:37Z")

</div>

So, in our community people have been refused to understand and get used to the way categories work in Discourse. They get confused again and again. Nobody can understand the following Discourse’s concept: A top catego…

---

## [JavaScript 聚合](https://meta.discourse.org/t/javascript-aggregation/154009)

<div class="topic-metadata">

**Author:** [@iraszl](https://meta.discourse.org/u/iraszl)\
**回复:** 1\
**最近更新：:** [2020 年6 月 6 日 04:35 UTC](https://meta.discourse.org/t/javascript-aggregation/154009 "2020-06-06T04:35:18Z")

</div>

我注意到 Discourse 站点会分别加载许多小型 JavaScript 文件。我们是否有理由不将它们聚合为一个单一的 JS 文件？我相信这应该会加快页面加载速度。 谢谢！

---

## [如何关闭 AdSense 广告？](https://meta.discourse.org/t/how-do-i-turn-off-adsense-ads/98494)

<div class="topic-metadata">

**Author:** [@Joseph\_Tucker](https://meta.discourse.org/u/Joseph_Tucker)\
**回复:** 5\
**最近更新：:** [2020 年6 月 6 日 02:29 UTC](https://meta.discourse.org/t/how-do-i-turn-off-adsense-ads/98494 "2020-06-06T02:29:02Z")

</div>

如何关闭 AdSense 广告？我已在管理面板和 AdSense 设置中查找，但找不到关闭它们的选项。 非常感谢任何帮助。

---

## [Discord“欢迎屏幕”引导功能可行吗？](https://meta.discourse.org/t/discord-welcome-screen-onboarding-possible/151504)

<div class="topic-metadata">

**Author:** [@mreach](https://meta.discourse.org/u/mreach)\
**回复:** 7\
**最近更新：:** [2020 年6 月 5 日 23:25 UTC](https://meta.discourse.org/t/discord-welcome-screen-onboarding-possible/151504 "2020-06-05T23:25:29Z")

</div>

Discord 最近宣布了一种非常有趣的新成员引导方法，称为“欢迎屏幕”： 关于这一点，他们表示： 启用后，新加入的成员将看到一个弹窗，其中显示简短的描述…

---

## [如何在帖子中嵌入视频？](https://meta.discourse.org/t/how-to-embed-a-video-in-a-post/153992)

<div class="topic-metadata">

**Author:** [@jenni\_alencar](https://meta.discourse.org/u/jenni_alencar)\
**回复:** 1\
**最近更新：:** [2020 年6 月 5 日 21:45 UTC](https://meta.discourse.org/t/how-to-embed-a-video-in-a-post/153992 "2020-06-05T21:45:10Z")

</div>

大家好，\\n我试图在帖子中插入这段视频，但无法正常工作。

---

## [将 Discourse 作为封闭的 wiki](https://meta.discourse.org/t/discourse-as-a-closed-wiki/153884)

<div class="topic-metadata">

**Author:** [@Kasie\_Dailey](https://meta.discourse.org/u/Kasie_Dailey)\
**回复:** 4\
**最近更新：:** [2020 年6 月 5 日 21:13 UTC](https://meta.discourse.org/t/discourse-as-a-closed-wiki/153884 "2020-06-05T21:13:09Z")

</div>

我正在协助构建一个维基，用于以有组织的方式创建、协作、编辑和共享问答消息。有人有相关经验或推荐吗？ 它需要是一个封闭网络，拥有大量云存储空间，并且易于……

---

## [以数字开头的不完整主题标题可能出现异常行为](https://meta.discourse.org/t/incomplete-topic-titles-beginning-with-a-number-can-have-odd-behavior/153975)

<div class="topic-metadata">

**Author:** [@Jose\_C\_Gomez](https://meta.discourse.org/u/Jose_C_Gomez)\
**回复:** 5\
**最近更新：:** [2020 年6 月 5 日 20:49 UTC](https://meta.discourse.org/t/incomplete-topic-titles-beginning-with-a-number-can-have-odd-behavior/153975 "2020-06-05T20:49:48Z")

</div>

如果您设置的标题以数字开头，且该数字与另一个话题的 ID 相同，那么分享或点击直接链接（不含帖子 ID）时，会自动重定向到冲突的话题。例如…

---

## [如何在插件中使用我的验证器？](https://meta.discourse.org/t/how-do-i-use-my-validator-in-the-plugin/140839)

<div class="topic-metadata">

**Author:** [@Dev\_Work](https://meta.discourse.org/u/Dev_Work)\
**回复:** 4\
**最近更新：:** [2020 年6 月 5 日 20:41 UTC](https://meta.discourse.org/t/how-do-i-use-my-validator-in-the-plugin/140839 "2020-06-05T20:41:53Z")

</div>

请大家帮帮我 我如何在插件中使用我的验证器？ 我在插件中添加了文件 lib/validators/plugin\_ldap\_setting\_validator.rb 在 settings.yml 中使用 forum\_ldap\_validation: default: 'system' validato…

---

## [完整的支持网站，包括知识库、论坛和故障排除](https://meta.discourse.org/t/complete-support-site-including-kb-forum-and-troubleshooting/153978)

<div class="topic-metadata">

**Author:** [@mittals24](https://meta.discourse.org/u/mittals24)\
**回复:** 1\
**最近更新：:** [2020 年6 月 5 日 20:30 UTC](https://meta.discourse.org/t/complete-support-site-including-kb-forum-and-troubleshooting/153978 "2020-06-05T20:30:00Z")

</div>

您希望我们做什么？ 我们目前使用 Discourse 作为 Teracube 论坛，设有“一般”板块和“指南”板块（用作有限的知识库）。 我们希望使用 Discourse 构建一个完整的客服支持网站，包括…

---

## [用户分类](https://meta.discourse.org/t/user-categories/153981)

<div class="topic-metadata">

**Author:** [@csmu](https://meta.discourse.org/u/csmu)\
**回复:** 1\
**最近更新：:** [2020 年6 月 5 日 20:10 UTC](https://meta.discourse.org/t/user-categories/153981 "2020-06-05T20:10:22Z")

</div>

用户是否可以拥有自己的分类？ 致以问候和感谢。 Keith John Hutchison - Ceiteach Seán Mac Úistin Bringing Data to Life Pty. Ltd. (BD2L)

---

## [主题发布延迟 - 是否可行？](https://meta.discourse.org/t/dealyed-publications-for-topics-is-it-possible/153923)

<div class="topic-metadata">

**Author:** [@Ed\_Bobkov](https://meta.discourse.org/u/Ed_Bobkov)\
**回复:** 1\
**最近更新：:** [2020 年6 月 5 日 19:37 UTC](https://meta.discourse.org/t/dealyed-publications-for-topics-is-it-possible/153923 "2020-06-05T19:37:32Z")

</div>

我希望能够创建主题，并设置在未来某个时间自动发布。 令我感到奇怪的是，在创建阶段没有这个设置选项。 我发现可以更改发布的时间和日期……

---

## [引号的渲染](https://meta.discourse.org/t/rendering-of-quotation-marks/81036)

<div class="topic-metadata">

**Author:** [@fhe](https://meta.discourse.org/u/fhe)\
**回复:** 2\
**最近更新：:** [2018 年2 月 20 日 15:48 UTC](https://meta.discourse.org/t/rendering-of-quotation-marks/81036 "2018-02-20T15:48:57Z")

</div>

我最近将一个大论坛迁移到了 Discourse，现在注意到一些需要调整的地方。我们有很多帖子使用引号来标记小段代码或特定函数的参数。该…

---

## [类别中置顶主题的代码在哪里？](https://meta.discourse.org/t/where-is-the-code-for-pinning-topics-in-categories/153970)

<div class="topic-metadata">

**Author:** [@JQ331](https://meta.discourse.org/u/JQ331)\
**回复:** 0\
**最近更新：:** [2020 年6 月 5 日 18:24 UTC](https://meta.discourse.org/t/where-is-the-code-for-pinning-topics-in-categories/153970 "2020-06-05T18:24:40Z")

</div>

到目前为止，我在尝试使用 Discourse 进行开发时遇到的最棘手的问题，仅仅是找到处理特定视图或操作的代码所在位置。这可能是因为我刚接触 Ember，或者也许是 Ember 本身的特性使然…

---

## [升级 Discourse 时出错 - gem 冲突](https://meta.discourse.org/t/error-upgrading-discourse-gem-conflict/152294)

<div class="topic-metadata">

**Author:** [@schungx](https://meta.discourse.org/u/schungx)\
**回复:** 8\
**最近更新：:** [2020 年6 月 5 日 14:18 UTC](https://meta.discourse.org/t/error-upgrading-discourse-gem-conflict/152294 "2020-06-05T14:18:24Z")

</div>

尝试升级，但在以下错误处卡住： I, \[2020-05-22T05:14:06.527007 #1\] INFO -- : \> cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' rake aborted! Gem::ConflictError: 无法激活…

---

## [■■■■■ 是什么，它是如何工作的？](https://meta.discourse.org/t/what-is-and-how-does-it-work/153950)

<div class="topic-metadata">

**Author:** [@sunjam](https://meta.discourse.org/u/sunjam)\
**回复:** 6\
**最近更新：:** [2020 年6 月 5 日 15:23 UTC](https://meta.discourse.org/t/what-is-and-how-does-it-work/153950 "2020-06-05T15:23:24Z")

</div>

一个非管理员在帖子中将单词“troll”替换成了■■■■■，我想知道这是如何发生的。谢谢！

---

## [搜索日志指向错误 URL](https://meta.discourse.org/t/search-logs-points-to-bad-url/153741)

<div class="topic-metadata">

**Author:** [@Bill](https://meta.discourse.org/u/Bill)\
**回复:** 4\
**最近更新：:** [2020 年6 月 5 日 14:56 UTC](https://meta.discourse.org/t/search-logs-points-to-bad-url/153741 "2020-06-05T14:56:16Z")

</div>

几分钟后更新，我管理区域“热门搜索词”下的“搜索日志”链接指向了一个无效网址：admin/logs/search\_logs。该链接中完全没有我的域名。

---

## [恢复问题：关系 "theme\_fields" 不存在](https://meta.discourse.org/t/restore-problem-relation-theme-fields-does-not-exist/95500)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回复:** 10\
**最近更新：:** [2020 年6 月 5 日 14:38 UTC](https://meta.discourse.org/t/restore-problem-relation-theme-fields-does-not-exist/95500 "2020-06-05T14:38:57Z")

</div>

@tgxworld，我认为这属于你的专业领域。 正在尝试从 Discourse 2.1.0.beta5 恢复备份 - https://github.com/discourse/discourse 版本 8da2d8df3d5f7196f1c267b8a664597a725241ac 或 "Discourse 2.1.0.beta5 - …"

---

## [将上传文件从 DO 迁移到 S3](https://meta.discourse.org/t/migrating-uploaded-files-from-do-to-s3/153896)

<div class="topic-metadata">

**Author:** [@iraszl](https://meta.discourse.org/u/iraszl)\
**回复:** 2\
**最近更新：:** [2020 年6 月 5 日 12:38 UTC](https://meta.discourse.org/t/migrating-uploaded-files-from-do-to-s3/153896 "2020-06-05T12:38:50Z")

</div>

我正在考虑将所有已上传到 Discourse 站点的文件迁移到 S3，然后继续从 S3 提供这些文件，而不是使用 Digital Ocean 的本地磁盘。 （我已经成功设置了将备份存储到...

---

## [启动器 start-cmd 应该做什么？](https://meta.discourse.org/t/what-is-launcher-start-cmd-suppose-to-do/153597)

<div class="topic-metadata">

**Author:** [@EricGT](https://meta.discourse.org/u/EricGT)\
**回复:** 2\
**最近更新：:** [2020 年6 月 2 日 18:16 UTC](https://meta.discourse.org/t/what-is-launcher-start-cmd-suppose-to-do/153597 "2020-06-02T18:16:05Z")

</div>

启动器的帮助信息如下： 用法：launcher 命令 配置 \[--skip-prereqs\] \[--docker-args 字符串\] 命令： start: 启动/初始化容器 ... start-cmd: 生成用于启动容器的 Docker 命令…

[上一页](https://meta.discourse.org/latest.md?page=1218&state=watching)

[下一页](https://meta.discourse.org/latest.md?page=1220&state=watching)
