# Support

**URL:** https://meta.discourse.org/c/support/6.md?page=713

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 714

---

## [主页面带子分类的区块](https://meta.discourse.org/t/boxes-with-subcategories-at-main-page/117696)

<div class="topic-metadata">

**Author:** [@micheldietz](https://meta.discourse.org/u/micheldietz)\
**回覆:** 1\
**Last updated:** [2019年五月14日 14:19 UTC](https://meta.discourse.org/t/boxes-with-subcategories-at-main-page/117696 "2019-05-14T14:19:05Z")

</div>

你好， 是否可以将“分类”页面设置为首页？ 我之所以这样问，是因为我希望将“带子分类的方框”页面样式用作首页。

---

## [Javascript 在自定义区域中无法工作](https://meta.discourse.org/t/javascript-not-working-in-customised-areas/117680)

<div class="topic-metadata">

**Author:** [@PaulNicholsonGo](https://meta.discourse.org/u/PaulNicholsonGo)\
**回覆:** 8\
**Last updated:** [2019年五月14日 11:37 UTC](https://meta.discourse.org/t/javascript-not-working-in-customised-areas/117680 "2019-05-14T11:37:40Z")

</div>

你好。 我无法在我的自定义主题部分启用 JavaScript。 我有另一个 Discourse 论坛，那里运行正常。而且我以前从未遇到过问题。 我只是想添加 Clicky 代码和 Google AdSense……

---

## [限制主题仅对特定群组可用？](https://meta.discourse.org/t/restrict-themes-to-certain-groups/87868)

<div class="topic-metadata">

**Author:** [@Flower\_Child](https://meta.discourse.org/u/Flower_Child)\
**回覆:** 6\
**Last updated:** [2019年五月14日 08:56 UTC](https://meta.discourse.org/t/restrict-themes-to-certain-groups/87868 "2019-05-14T08:56:43Z")

</div>

我希望能够限制主题的使用范围，使其仅对特定用户组可见——例如，我希望能让捐赠者组访问某些专属主题，以及尚未准备好公开发布的主题。是否有办法实现这一点？…

---

## [更新帖子会更新 Discourse 内容吗？](https://meta.discourse.org/t/does-updating-a-post-update-the-discourse-content/117642)

<div class="topic-metadata">

**Author:** [@jonobacon](https://meta.discourse.org/u/jonobacon)\
**回覆:** 1\
**Last updated:** [2019年五月14日 00:08 UTC](https://meta.discourse.org/t/does-updating-a-post-update-the-discourse-content/117642 "2019-05-14T00:08:57Z")

</div>

……也就是说，如果我在 WordPress 中更新原始文章，顶级 Discourse 帖子中的引用内容是否会随之更新？

---

## [Can GitLab be installed on the same droplet as Discourse](https://meta.discourse.org/t/can-gitlab-be-installed-on-the-same-droplet-as-discourse/59147)

<div class="topic-metadata">

**Author:** [@precessor](https://meta.discourse.org/u/precessor)\
**回覆:** 3\
**Last updated:** [2017年三月15日 19:38 UTC](https://meta.discourse.org/t/can-gitlab-be-installed-on-the-same-droplet-as-discourse/59147 "2017-03-15T19:38:02Z")

</div>

I am thinking of installing GitLab on a server. Can I use the same DO droplet where Discourse resides (assuming I add space/RAM as needed)? My impression is that that’s what Docker is all about? Or is it a Bad Idea?

---

## [为何我有 5.8G 空间，但重建时提示空间不足](https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881)

<div class="topic-metadata">

**Author:** [@xiasummer](https://meta.discourse.org/u/xiasummer)\
**回覆:** 11\
**Last updated:** [2019年五月14日 06:07 UTC](https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881 "2019-05-14T06:07:50Z")

</div>

在执行 ./launcher rebuild app 之前，我有 5.8G 的可用空间。 但在重建应用时，剩余空间会降至 3.7G（小于 5G），导致重建停止。 这是否意味着在重建之前我们需要至少保留 7G 的可用空间？ 我有一台 20G 的 VPS，disco…

---

## [In onebox, \`&\` become \`&amp;\`](https://meta.discourse.org/t/in-onebox-become-amp/59153)

<div class="topic-metadata">

**Author:** [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)\
**回覆:** 10\
**Last updated:** [2019年五月14日 05:57 UTC](https://meta.discourse.org/t/in-onebox-become-amp/59153 "2019-05-14T05:57:36Z")

</div>

I’m using the Discourse Affiliate plugin to add some params to URL. When the URL is used in plain text or in a link, everything is ok. But when it’s transformed in onebox, the & become &amp; Do you know why?

---

## [我想要广告，但仅限本地企业的本地广告](https://meta.discourse.org/t/i-want-adverts-but-only-local-adverts-from-local-businesses/117650)

<div class="topic-metadata">

**Author:** [@dnk8n](https://meta.discourse.org/u/dnk8n)\
**回覆:** 3\
**Last updated:** [2019年五月14日 05:56 UTC](https://meta.discourse.org/t/i-want-adverts-but-only-local-adverts-from-local-businesses/117650 "2019-05-14T05:56:46Z")

</div>

我正在运营一个南非科西湾（科西部落）的区域性社区。 我的想法是创建一个仅限管理员发布广告的私密广告分类，并且该分类下的所有主题（若尚未关闭）都将显示在……

---

## [Hiding specific sub-category from Hamburger-Menu](https://meta.discourse.org/t/hiding-specific-sub-category-from-hamburger-menu/58929)

<div class="topic-metadata">

**Author:** [@Lutz](https://meta.discourse.org/u/Lutz)\
**回覆:** 5\
**Last updated:** [2017年三月14日 21:43 UTC](https://meta.discourse.org/t/hiding-specific-sub-category-from-hamburger-menu/58929 "2017-03-14T21:43:06Z")

</div>

I want to hide a specific Subcategory from the Hamburger Menu. Not all Subcategories from this Main-Category, only one. With this CSS I can select the link, but not the “li” element. .hamburger-panel li.category-link a.…

---

## [显示和排序子类别](https://meta.discourse.org/t/displaying-and-sorting-subcategories/117635)

<div class="topic-metadata">

**Author:** [@Nina\_11](https://meta.discourse.org/u/Nina_11)\
**回覆:** 1\
**Last updated:** [2019年五月13日 22:08 UTC](https://meta.discourse.org/t/displaying-and-sorting-subcategories/117635 "2019-05-13T22:08:20Z")

</div>

你好， 我希望在某个分类下显示子分类，类似于这个：https://discuss.codecademy.com/c/guide。 但是我找不到允许我将子分类显示在……之上的设置。

---

## [“验证失败 - 不允许使用此邮箱”？](https://meta.discourse.org/t/validation-failed-mail-not-allowed/117593)

<div class="topic-metadata">

**Author:** [@Maximiliano\_Cipriano](https://meta.discourse.org/u/Maximiliano_Cipriano)\
**回覆:** 3\
**Last updated:** [2019年五月13日 19:19 UTC](https://meta.discourse.org/t/validation-failed-mail-not-allowed/117593 "2019-05-13T19:19:25Z")

</div>

在本视频中，请注意：我想邀请一名商业成员，但他没有接受。切勿创建或邀请此用户或用户名到我的 Discourse。 https://d11a6trkgmumsb.clo…

---

## [运行 rake posts:rebake 时出现错误“Killed”](https://meta.discourse.org/t/error-killed-while-running-rake-posts-rebake/111943)

<div class="topic-metadata">

**Author:** [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)\
**回覆:** 21\
**Last updated:** [2019年五月13日 18:53 UTC](https://meta.discourse.org/t/error-killed-while-running-rake-posts-rebake/111943 "2019-05-13T18:53:02Z")

</div>

在一台新的 Ubuntu 18 主机上，我在执行此步骤时遇到了问题： # cd /var/discourse/ # ./launcher enter app # rake posts:rebake 正在为 'default' 重新烘焙帖子 Markdown 5 / 2950 ( 0.2%)/usr/local/bin/rake: 第 2 行： …

---

## [通过从其他网站重定向在 Discourse 中创建用户](https://meta.discourse.org/t/create-user-in-discourse-by-redirecting-from-another-site/117556)

<div class="topic-metadata">

**Author:** [@Vishal\_Kaushik](https://meta.discourse.org/u/Vishal_Kaushik)\
**回覆:** 1\
**Last updated:** [2019年五月13日 18:21 UTC](https://meta.discourse.org/t/create-user-in-discourse-by-redirecting-from-another-site/117556 "2019-05-13T18:21:41Z")

</div>

我已经有网站 example.com，上面已注册了大量用户。我们允许用户在 example.com 通过 Google、Facebook 或邮箱进行注册。 我希望当用户在 example.com 注册时，他们也能自动在 Discourse 上注册……

---

## [Rebake all posts?](https://meta.discourse.org/t/rebake-all-posts/69340)

<div class="topic-metadata">

**Author:** [@bekircem](https://meta.discourse.org/u/bekircem)\
**回覆:** 14\
**Last updated:** [2019年五月13日 16:46 UTC](https://meta.discourse.org/t/rebake-all-posts/69340 "2019-05-13T16:46:34Z")

</div>

I’ve installed spoiler alert plugin. It works correctly. But old post doesn’t work spoiler tag. If you change this, you must rebake all posts with: rake posts:rebake. How can do that? When i ./launcher enter app rake…

---

## [How do I disable all post reply notification emails?](https://meta.discourse.org/t/how-do-i-disable-all-post-reply-notification-emails/59035)

<div class="topic-metadata">

**Author:** [@anon67292109](https://meta.discourse.org/u/anon67292109)\
**回覆:** 2\
**Last updated:** [2017年三月14日 00:27 UTC](https://meta.discourse.org/t/how-do-i-disable-all-post-reply-notification-emails/59035 "2017-03-14T00:27:40Z")

</div>

At least with Mailgun, users who unsubscribe from reply notification emails also unsubscribe from password reset emails, and admins who unsubscribe also unsubscribe from backup download link emails. Because Mailgun stops…

---

## [Iframe onebox has stopped working](https://meta.discourse.org/t/iframe-onebox-has-stopped-working/56091)

<div class="topic-metadata">

**Author:** [@david](https://meta.discourse.org/u/david)\
**回覆:** 8\
**Last updated:** [2019年五月13日 16:26 UTC](https://meta.discourse.org/t/iframe-onebox-has-stopped-working/56091 "2019-05-13T16:26:24Z")

</div>

I’ve set up one of our organisation’s systems to provide a onebox using this HTML tag As an example: on the page https://domain.here/2345, I have this tag: \<link rel="alternate" type="application/json+oembed" href="htt…

---

## [如何再次查看移动PWA提示？](https://meta.discourse.org/t/how-can-i-see-the-mobile-pwa-prompt-again/117544)

<div class="topic-metadata">

**Author:** [@nexo](https://meta.discourse.org/u/nexo)\
**回覆:** 3\
**Last updated:** [2019年五月13日 15:23 UTC](https://meta.discourse.org/t/how-can-i-see-the-mobile-pwa-prompt-again/117544 "2019-05-13T15:23:11Z")

</div>

我删除了我的网页应用（当 Chrome 将兼容的网站转换为移动 PWA 时），现在正尝试通过重新触发下载提示来重新安装它。我已清除了缓存、本地存储，并清除了所有 s…

---

## [Rake db:migrate 错误](https://meta.discourse.org/t/rake-db-migrate-error/117543)

<div class="topic-metadata">

**Author:** [@qkh](https://meta.discourse.org/u/qkh)\
**回覆:** 3\
**Last updated:** [2019年五月13日 12:57 UTC](https://meta.discourse.org/t/rake-db-migrate-error/117543 "2019-05-13T12:57:41Z")

</div>

你好，我的 Discourse 出现了问题，导致部分用户无法登录。 我运行了 \`rake db:migrate\`，并收到以下错误信息： == 从 /var/www/discourse/db/fixtures/007\_web\_hook\_event\_types.rb 导入种子数据 - WebHookE…

---

## [对使用 HTTP 图像的 HTTPS 站点进行一键打包会产生混合内容](https://meta.discourse.org/t/oneboxing-a-https-site-that-uses-images-over-http-produces-mixed-content/117584)

<div class="topic-metadata">

**Author:** [@Krischan](https://meta.discourse.org/u/Krischan)\
**回覆:** 2\
**Last updated:** [2019年五月13日 12:33 UTC](https://meta.discourse.org/t/oneboxing-a-https-site-that-uses-images-over-http-produces-mixed-content/117584 "2019-05-13T12:33:41Z")

</div>

……以及一个浏览器警报，请参见此处： 或者应该由 NASA 来修复这个问题？:wink:

---

## [如何在运行中的网站上测试 SSO](https://meta.discourse.org/t/how-to-test-sso-on-a-running-site/117393)

<div class="topic-metadata">

**Author:** [@John\_Lehmann](https://meta.discourse.org/u/John_Lehmann)\
**回覆:** 4\
**Last updated:** [2019年五月13日 11:50 UTC](https://meta.discourse.org/t/how-to-test-sso-on-a-running-site/117393 "2019-05-13T11:50:25Z")

</div>

我有一个正在运营的论坛，现在我想切换到单点登录（SSO）。但是，在开发过程中，我该如何在不启用 enable\_sso 标志的情况下测试 SSO，因为该标志一旦启用就会破坏现有功能，直到我将其调整完美？ 这……

---

## [发送论坛邀请时，您能否选择用户账户信息？](https://meta.discourse.org/t/can-you-choose-the-user-account-info-when-sending-an-invite-to-your-forum/117547)

<div class="topic-metadata">

**Author:** [@\_alejandro](https://meta.discourse.org/u/_alejandro)\
**回覆:** 3\
**Last updated:** [2019年五月13日 07:58 UTC](https://meta.discourse.org/t/can-you-choose-the-user-account-info-when-sending-an-invite-to-your-forum/117547 "2019-05-13T07:58:32Z")

</div>

大家好， 我想知道是否可以选择接收论坛邀请的用户的账户信息。 假设我要向 user1@example.com 发送邀请，但我希望该用户……

---

## [如何添加 id 或 class 以便修改元素？](https://meta.discourse.org/t/how-to-add-an-id-class-to-something-so-i-can-modify-it/117558)

<div class="topic-metadata">

**Author:** [@dylanh724](https://meta.discourse.org/u/dylanh724)\
**回覆:** 1\
**Last updated:** [2019年五月13日 07:43 UTC](https://meta.discourse.org/t/how-to-add-an-id-class-to-something-so-i-can-modify-it/117558 "2019-05-13T07:43:58Z")

</div>

在个人资料中，我想移除高亮显示的字段： 我可以隐藏值，但无法隐藏标签，因为没有对应的 id 或 class。 有人知道该怎么办吗？ 这是由隐私漏洞所必需的。

---

## [Let's Encrypt 因端口 80 被阻止而过期](https://meta.discourse.org/t/let-s-encrypt-expired-due-to-port-80-being-blocked/117546)

<div class="topic-metadata">

**Author:** [@Jay91](https://meta.discourse.org/u/Jay91)\
**回覆:** 3\
**Last updated:** [2019年五月13日 06:18 UTC](https://meta.discourse.org/t/let-s-encrypt-expired-due-to-port-80-being-blocked/117546 "2019-05-13T06:18:32Z")

</div>

您好， 我们的 Let's Encrypt 证书今天早上已过期，网站显示错误提示（非安全连接）。 请指导如何重新续期。我在此进行了一些搜索，但未能理解相关内容。 此外，我发现 r…

---

## [预先将电子邮件ID添加到组中](https://meta.discourse.org/t/preemptively-add-email-id-to-group/117495)

<div class="topic-metadata">

**Author:** [@theopen-institute](https://meta.discourse.org/u/theopen-institute)\
**回覆:** 4\
**Last updated:** [2019年五月13日 04:29 UTC](https://meta.discourse.org/t/preemptively-add-email-id-to-group/117495 "2019-05-13T04:29:41Z")

</div>

是否有办法预先将电子邮件地址添加到某个用户组，以便新用户创建账户时能自动成为该组的成员？（或者，是否有更好、更符合 Discourse 风格的方法来实现……）

---

## [User can't delete their own topic](https://meta.discourse.org/t/user-cant-delete-their-own-topic/34256)

<div class="topic-metadata">

**Author:** [@dandv](https://meta.discourse.org/u/dandv)\
**回覆:** 9\
**Last updated:** [2019年五月13日 01:57 UTC](https://meta.discourse.org/t/user-cant-delete-their-own-topic/34256 "2019-05-13T01:57:56Z")

</div>

I’ve just created a test user, logged in as tem, posted a first test post, but can’t delete it. Is this intended? UPDATE Apparently so. I can’t delete my own posts here on Meta either. Is there a setting to control t…

---

## [Create hundreds or thousands groups/categories?](https://meta.discourse.org/t/create-hundreds-or-thousands-groups-categories/58823)

<div class="topic-metadata">

**Author:** [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)\
**回覆:** 11\
**Last updated:** [2017年三月12日 22:24 UTC](https://meta.discourse.org/t/create-hundreds-or-thousands-groups-categories/58823 "2017-03-12T22:24:01Z")

</div>

Hi, I’m the founder of a training company. I’m thinking to create a private space (a category?) for each session. What the simple way to do that and is it a good idea to use Discourse for that? I should create a group …

---

## [Enable font color in hosted Discourse](https://meta.discourse.org/t/enable-font-color-in-hosted-discourse/58863)

<div class="topic-metadata">

**Author:** [@Wil](https://meta.discourse.org/u/Wil)\
**回覆:** 6\
**Last updated:** [2019年五月12日 23:03 UTC](https://meta.discourse.org/t/enable-font-color-in-hosted-discourse/58863 "2019-05-12T23:03:57Z")

</div>

Hola Is there a way to enable font colors in hosted Discourse instances? eg through the bbcode plugin? Thanks

---

## [How to know if user is using a default avatar](https://meta.discourse.org/t/how-to-know-if-user-is-using-a-default-avatar/58915)

<div class="topic-metadata">

**Author:** [@hnaseri](https://meta.discourse.org/u/hnaseri)\
**回覆:** 10\
**Last updated:** [2019年五月12日 22:58 UTC](https://meta.discourse.org/t/how-to-know-if-user-is-using-a-default-avatar/58915 "2019-05-12T22:58:56Z")

</div>

I want to encourage my users to upload an avatar via api. How can I know a user is using default avatar in discourse? because I don’t want to warn users that already have gravatars or their custom avatars set.

---

## [Embedding HTML inside posts by Admin](https://meta.discourse.org/t/embedding-html-inside-posts-by-admin/43975)

<div class="topic-metadata">

**Author:** [@envieme](https://meta.discourse.org/u/envieme)\
**回覆:** 4\
**Last updated:** [2019年五月12日 21:28 UTC](https://meta.discourse.org/t/embedding-html-inside-posts-by-admin/43975 "2019-05-12T21:28:28Z")

</div>

While it is good security practise to prevent arbitary HTML embeds inside posts, it is also restricting me as an admin from embedding iframes and some videos which are not yet onebox supported. I would like the functiona…

---

## [为特定组显示/隐藏主题？](https://meta.discourse.org/t/show-hide-themes-for-specific-groups/115459)

<div class="topic-metadata">

**Author:** [@WaitroseCarpark](https://meta.discourse.org/u/WaitroseCarpark)\
**回覆:** 15\
**Last updated:** [2019年五月12日 16:18 UTC](https://meta.discourse.org/t/show-hide-themes-for-specific-groups/115459 "2019-05-12T16:18:35Z")

</div>

我想提供一个 Patreon 层级，允许用户访问特定主题。是否有办法向特定用户组显示或隐藏主题？

[上一頁](https://meta.discourse.org/c/support/6.md?page=712)

[下一頁](https://meta.discourse.org/c/support/6.md?page=714)
