# Documentation

**URL:** https://meta.discourse.org/c/documentation/10.md?ascending=false&page=17

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

**Page:** 18

---

## [为主题添加元数据和屏幕截图](https://meta.discourse.org/t/adding-metadata-and-screenshots-to-a-theme/119205)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2019年五月31日 15:34 UTC](https://meta.discourse.org/t/adding-metadata-and-screenshots-to-a-theme/119205 "2019-05-31T15:34:25Z")

</div>

您可以向主题添加各种元数据。有些存储在 about.json 文件中，有些存储在语言环境文件中。 about.json :link: 文件格式信息 name (string, required): 主题的默认名称...

---

## [允许用户选择新的调色板](https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 24\
**Last updated:** [2019年五月17日 07:47 UTC](https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857 "2019-05-17T07:47:34Z")

</div>

:bookmark: 这是关于如何为所有用户提供新的调色板以供其在个人资料偏好设置中选择的指南。 :person\_raising\_hand: 所需用户级别：管理员 包含新的调色板 转到 A…

---

## [配置自定义表情](https://meta.discourse.org/t/configure-custom-emoji/23365)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2019年二月3日 23:00 UTC](https://meta.discourse.org/t/configure-custom-emoji/23365 "2019-02-03T23:00:00Z")

</div>

:bookmark: 本指南介绍如何通过选择表情符号集、上传新表情符号、配置站点设置以及调整表情符号大小来自定义 Discourse 站点的表情符号。 :person\_raising\_hand: 所需用户权限：管理员 选择表情符号集 Discourse 目前支持五种表情符号集： Fluent UI Noto OpenMoji Twemoji Standard (Unicode) 如需了解不同表情符号集的外观对比，可以查看此…

---

## [使用 Discourse 验证 Google Search Console](https://meta.discourse.org/t/perform-google-search-console-verification-with-discourse/107229)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2019年一月23日 01:05 UTC](https://meta.discourse.org/t/perform-google-search-console-verification-with-discourse/107229 "2019-01-23T01:05:21Z")

</div>

:bookmark: 本指南介绍如何使用 Discourse 进行 Google Search Console（前身为 Google Webmaster Tools）验证。您可以通过以下三种方法验证域名所有权：使用您的论坛设置...

---

## [允许多个账号从同一IP地址注册](https://meta.discourse.org/t/allow-multiple-accounts-to-register-from-the-same-ip-address/106752)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2019年一月17日 02:01 UTC](https://meta.discourse.org/t/allow-multiple-accounts-to-register-from-the-same-ip-address/106752 "2019-01-17T02:01:15Z")

</div>

:bookmark: 本指南介绍如何通过调整站点设置或管理“屏蔽 IP 列表”，允许多个账号从同一 IP 地址注册。 :person\_raising\_hand: 所需用户等级：管理员 …

---

## [通过主题组件为 Highlight.JS 安装新语言](https://meta.discourse.org/t/install-a-new-language-for-highlight-js-via-a-theme-component/292480)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2019年一月3日 16:47 UTC](https://meta.discourse.org/t/install-a-new-language-for-highlight-js-via-a-theme-component/292480 "2019-01-03T16:47:47Z")

</div>

我刚刚向我们的 HighlightJS 代码添加了一个钩子，因此您现在可以使用插件 API 为 Highlight.JS 添加自定义语言。 示例（使用 beancount 语言定义）： const beancountLang = function(e){var c="\[A…

---

## [迁移到另一个平台后预发布清单](https://meta.discourse.org/t/pre-launch-checklist-after-migrating-from-another-platform/83996)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 1\
**Last updated:** [2018年四月2日 19:11 UTC](https://meta.discourse.org/t/pre-launch-checklist-after-migrating-from-another-platform/83996 "2018-04-02T19:11:53Z")

</div>

📋 我们现在创建了一个更深入的清单：迁移后的 Discourse 社区预启动清单 如果你最近迁移到D，请在启动新的Discourse社区之前检查以下事项…

---

## [将 vBulletin URL 重定向到 Discourse URL](https://meta.discourse.org/t/redirect-vbulletin-urls-to-discourse-urls/47394)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 5\
**Last updated:** [2018年一月25日 14:57 UTC](https://meta.discourse.org/t/redirect-vbulletin-urls-to-discourse-urls/47394 "2018-01-25T14:57:34Z")

</div>

从 vBulletin 迁移到 Discourse，并希望将旧的 vBulletin 网址重定向到新的 Discourse 网址？请继续阅读！ :bell: 如果您的旧论坛和新论坛的基础网址相同，请遵循本教程： Re…

---

## [从非常缓慢的数据库中恢复](https://meta.discourse.org/t/recover-from-a-very-slow-database/68793)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 2\
**Last updated:** [2017年八月25日 19:41 UTC](https://meta.discourse.org/t/recover-from-a-very-slow-database/68793 "2017-08-25T19:41:37Z")

</div>

很少，数据库可能会陷入一种状态，变得如此慢，以至于看起来像坏掉了（我在过去4年中见过这个问题的3个实例） 你怎么知道你受到影响？ 很容易分辨……

---

## [配置 OneLogin 的 SAML 以用于 Discourse](https://meta.discourse.org/t/configure-onelogins-saml-for-discourse/68295)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2017年八月18日 07:56 UTC](https://meta.discourse.org/t/configure-onelogins-saml-for-discourse/68295 "2017-08-18T07:56:24Z")

</div>

以下是如何配置 Discourse 以允许使用 OneLogin 的 SAML 进行登录和注册。 配置 OneLogin 创建 OneLogin 账户 前往 OneLogin 并创建一个账户。 创建新应用：SAML 测试连接器（IdP w/att…

---

## [在决定对 Discourse 移动应用进行白标化之前需要考虑的事项](https://meta.discourse.org/t/things-to-consider-before-deciding-to-white-label-the-discourse-mobile-apps/53063)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2016年十一月18日 05:06 UTC](https://meta.discourse.org/t/things-to-consider-before-deciding-to-white-label-the-discourse-mobile-apps/53063 "2016-11-18T05:06:26Z")

</div>

自我们发布 iOS 和 Android 应用程序以来，有许多人表示有兴趣将 Discourse 应用程序进行白标化。 :information\_source: 我们不提供白标化服务，并且只会考虑……

---

## [通过电子邮件排查回复问题](https://meta.discourse.org/t/troubleshoot-reply-by-email/42026)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2016年四月4日 20:49 UTC](https://meta.discourse.org/t/troubleshoot-reply-by-email/42026 "2016-04-04T20:49:19Z")

</div>

如果您的 Discourse 尚未设置接收邮件，请参阅以下主题： 使用 POP3 轮询设置邮件回复功能 为自托管站点配置直接投递的接收邮件（使用 Mail-Receiver） ……

---

## [如果您的Discourse被盗用该怎么办](https://meta.discourse.org/t/what-to-do-if-your-discourse-is-compromised/40129)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2016年二月24日 23:39 UTC](https://meta.discourse.org/t/what-to-do-if-your-discourse-is-compromised/40129 "2016-02-24T23:39:47Z")

</div>

我们最近收到了两份关于 Discourse 站点被入侵的报告，很可能是由于管理员账户密码薄弱造成的。因此，我们希望记录： \* 发生入侵时该怎么做 \* 我们能做些什么来更好地预防……

---

## [手动恢复 Discourse 备份用于开发](https://meta.discourse.org/t/restore-a-discourse-backup-manually-for-development/33551)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2015年九月21日 22:21 UTC](https://meta.discourse.org/t/restore-a-discourse-backup-manually-for-development/33551 "2015-09-21T22:21:06Z")

</div>

您有了一个 Discourse 备份文件，并希望将其加载到您的开发数据库中，而无需使用 Web 界面，或者可能使用不同的数据库名称。太棒了！ 这假设您已经有了一个 Postgres……

---

## [在Meta上为Discourse创建错误报告](https://meta.discourse.org/t/creating-bug-reports-for-discourse-on-meta/33070)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2015年九月9日 15:46 UTC](https://meta.discourse.org/t/creating-bug-reports-for-discourse-on-meta/33070 "2015-09-09T15:46:47Z")

</div>

:bookmark: 本指南介绍如何通过正确的渠道报告在 Discourse 中发现的 bug。 :person\_raising\_hand: 所需用户等级：任何人都可以报告 bug 当您遇到导致系统崩溃或阻止……

---

## [使用子文件夹（路径前缀）在多台服务器共享一个域名的情况下部署 Discourse](https://meta.discourse.org/t/use-a-subfolder-path-prefix-to-serve-discourse-with-multiple-servers-sharing-a-domain/30514)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2015年六月26日 20:57 UTC](https://meta.discourse.org/t/use-a-subfolder-path-prefix-to-serve-discourse-with-multiple-servers-sharing-a-domain/30514 "2015-06-26T20:57:34Z")

</div>

假设您有一个 WordPress 博客位于 http://=DOMAIN=，并且您希望从 http://=DOMAIN==PATH= 提供您的 Discourse 论坛（这些论坛运行在不同的服务器上）。您该如何操作？ 注意：这不适用于提供多站...

---

## [优化 Discourse 对 CJK 语言的搜索](https://meta.discourse.org/t/optimizing-discourse-search-for-cjk-languages/28741)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2015年五月13日 02:57 UTC](https://meta.discourse.org/t/optimizing-discourse-search-for-cjk-languages/28741 "2015-05-13T02:57:38Z")

</div>

:bookmark: 本指南解释了如何调整 Discourse 设置，以更好地支持网站搜索中的中文、日文和韩文 (CJK) 语言。 :person\_raising\_hand: 所需用户级别：管理员 Discourse 的……

---

## [更改最大附件/上传大小](https://meta.discourse.org/t/change-the-maximum-attachment-upload-size/26435)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2015年三月17日 14:00 UTC](https://meta.discourse.org/t/change-the-maximum-attachment-upload-size/26435 "2015-03-17T14:00:41Z")

</div>

:bookmark: 本指南介绍了如何更改自托管 Discourse 实例的最大附件上传大小。 :person\_raising\_hand: 所需用户级别：系统管理员 默认的附件上传大小限制是……

---

## [在Google应用中为用户友好的收件地址配置邮政箱（附截图）以用于Discourse类别](https://meta.discourse.org/t/configure-mailbox-in-google-apps-for-user-friendly-incoming-email-addresses-for-discourse-categories-with-screenshots/15374)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2014年五月7日 00:43 UTC](https://meta.discourse.org/t/configure-mailbox-in-google-apps-for-user-friendly-incoming-email-addresses-for-discourse-categories-with-screenshots/15374 "2014-05-07T00:43:45Z")

</div>

我在设置Google Apps的邮箱以配合Discourse时遇到了一些困难，以便每个类别都能有一个用户友好的收件邮箱地址。这里有一些截图，展示了我的操作步骤……

---

## [Troubleshoot docker installation issues](https://meta.discourse.org/t/troubleshoot-docker-installation-issues/13657)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2014年三月12日 03:49 UTC](https://meta.discourse.org/t/troubleshoot-docker-installation-issues/13657 "2014-03-12T03:49:02Z")

</div>

I just ran: cd /var/discourse git pull ./launcher rebuild app And am getting: Your Docker installation is not working correctly See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam W…

---

## [将旧的 Discourse 安装迁移到 Docker](https://meta.discourse.org/t/migrate-an-old-discourse-install-to-docker/12439)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2014年二月5日 01:24 UTC](https://meta.discourse.org/t/migrate-an-old-discourse-install-to-docker/12439 "2014-02-05T01:24:41Z")

</div>

:information\_source: 2022.10.21 @pfaffman adds: If you are somehow using a non-docker installation in 2022 then this guide might help you. There is not much way to test it, but it should work. Kept for historical pu…

---

## [Message Format 对本地化的支持](https://meta.discourse.org/t/message-format-support-for-localization/7035)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2013年五月31日 01:17 UTC](https://meta.discourse.org/t/message-format-support-for-localization/7035 "2013-05-31T01:17:09Z")

</div>

翻译指南 在 Discourse 中，所有消息格式字符串都有一个以“\_MF”结尾的键。Crowdin 编辑器提供了一个预览功能，允许您尝试各种值，这对于检查您……

---

## [为 Discourse 开发做贡献](https://meta.discourse.org/t/contributing-to-discourse-development/3823)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2013年二月23日 05:46 UTC](https://meta.discourse.org/t/contributing-to-discourse-development/3823 "2013-02-23T05:46:11Z")

</div>

:bookmark: 本指南专为希望为 Discourse 开源项目做出贡献的用户设计，详细介绍了有效协作所需的设置和约定。 :person\_raising\_hand: 所需用户权限…

[上一頁](https://meta.discourse.org/c/documentation/10.md?ascending=false&page=16)
