# Documentation

**URL:** https://meta.discourse.org/c/documentation/10.md?page=6

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

**Page:** 7

---

## [从插件添加一个新语言环境](https://meta.discourse.org/t/add-a-new-locale-from-plugin/78962)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 1\
**Last updated:** [2019年六月11日 13:51 UTC](https://meta.discourse.org/t/add-a-new-locale-from-plugin/78962 "2019-06-11T13:51:24Z")

</div>

通常，向 Discourse 添加新语言的最佳方法是按照“如何添加新语言”中的描述创建拉取请求（pull request）。以下指南适用于想要使用无法添加到 cor……的语言的用户。

---

## [设置本地 Discourse 开发环境？](https://meta.discourse.org/t/set-up-a-local-discourse-development-environment/182882)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2021年三月11日 11:33 UTC](https://meta.discourse.org/t/set-up-a-local-discourse-development-environment/182882 "2021-03-11T11:33:53Z")

</div>

所以你想在本地设置 Discourse 进行修改和开发？ 此根指南链接了关于在各种系统上本地设置 Discourse 的所有 dev-install 指南。如果你想向此列表中添加指南，请确保……

---

## [配置 OpenAI 的 API 密钥](https://meta.discourse.org/t/configure-api-keys-for-openai/280783)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 11\
**Last updated:** [2024年十一月11日 07:04 UTC](https://meta.discourse.org/t/configure-api-keys-for-openai/280783 "2024-11-11T07:04:27Z")

</div>

:bookmark: 本指南介绍了如何为 OpenAI 配置 API 密钥，以启用需要第三方 LLM 密钥的 Discourse AI 功能。 :person\_raising\_hand: 所需用户级别：管理员 在本文示例中，我们正在使用……

---

## [Discourse AI - 周期性摘要报告](https://meta.discourse.org/t/discourse-ai-periodic-summary-reports/290236)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**回覆:** 2\
**Last updated:** [2026年三月20日 13:52 UTC](https://meta.discourse.org/t/discourse-ai-periodic-summary-reports/290236 "2026-03-20T13:52:40Z")

</div>

我们很高兴地宣布在 Discourse AI 插件中发布了一项新功能：使用 AI 生成定期摘要报告。此 Discourse AI / Discourse Automation 功能旨在为用户提供自动化、高……

---

## [助手 - 为图片添加字幕](https://meta.discourse.org/t/helper-captioning-images/336100)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 9\
**Last updated:** [2025年九月2日 11:07 UTC](https://meta.discourse.org/t/helper-captioning-images/336100 "2025-09-02T11:07:39Z")

</div>

:bookmark: 本指南介绍如何启用和配置由 AI 驱动的图片说明，这是 Discourse AI 插件的 Helper 功能的一部分。 :person\_raising\_hand: 所需用户级别：管理员 图片说明……

---

## [设置 HubSpot 聊天集成](https://meta.discourse.org/t/setup-hubspot-chat-integration/128777)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 10\
**Last updated:** [2025年六月17日 01:02 UTC](https://meta.discourse.org/t/setup-hubspot-chat-integration/128777 "2025-06-17T01:02:56Z")

</div>

您想在 Discourse 中集成 CSM 吗？让我们看看如何在 Discourse 中集成 HubSpot 聊天！ 创建一个 HubSpot 帐户 选择聊天 根据需要自定义界面和可用性 ……

---

## [启用来自 Google Workplace 的群组同步](https://meta.discourse.org/t/enable-group-sync-from-google-workplace/226850)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 7\
**Last updated:** [2025年四月11日 02:03 UTC](https://meta.discourse.org/t/enable-group-sync-from-google-workplace/226850 "2025-04-11T02:03:14Z")

</div>

要开始使用，请按照这些说明配置 Google 登录： 然后，请按照以下步骤操作： 在您的 OAuth 集成的 Google 信息中心，转到“API 和服务”，然后添加“Admin SDK → → 转到……

---

## [设置结构化标记，包含标签组和类别标签限制](https://meta.discourse.org/t/set-up-structured-tagging-with-tag-groups-and-category-tag-restrictions/48260)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2016年八月5日 15:25 UTC](https://meta.discourse.org/t/set-up-structured-tagging-with-tag-groups-and-category-tag-restrictions/48260 "2016-08-05T15:25:43Z")

</div>

标签支持是 Discourse 的一项核心功能。在本操作指南中，我将介绍如何设置类似于 Car Talk 使用的标签方案。 我们希望实现以下目标： \* 用于汽车品牌和汽车型号的标签。 \* 只允许汽车品牌和……

---

## [手动为单个用户授予徽章](https://meta.discourse.org/t/grant-a-badge-to-individual-users-manually/29426)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2015年五月29日 18:38 UTC](https://meta.discourse.org/t/grant-a-badge-to-individual-users-manually/29426 "2015-05-29T18:38:57Z")

</div>

:bookmark: 本指南介绍了如何在 Discourse 上手动授予用户自定义徽章。 :person\_raising\_hand: 所需用户级别：管理员 在本指南中，您将学习如何创建和手动授予……

---

## [自定义页眉，添加链接、图标或菜单](https://meta.discourse.org/t/customize-the-header-with-links-icons-or-menus/13368)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2019年一月21日 17:07 UTC](https://meta.discourse.org/t/customize-the-header-with-links-icons-or-menus/13368 "2019-01-21T17:07:00Z")

</div>

:bookmark: 本指南专为希望通过添加链接、图标或菜单来美化网站页眉的用户而设计。无论您是使用简单的テーマ (theme) 组件还是选择更复杂的自定义设置，本手册……

---

## [更新常见问题解答、隐私政策和服务条款](https://meta.discourse.org/t/update-the-faq-privacy-policy-and-terms-of-service/18074)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2014年七月25日 21:05 UTC](https://meta.discourse.org/t/update-the-faq-privacy-policy-and-terms-of-service/18074 "2014-07-25T21:05:24Z")

</div>

:bookmark: 本指南解释了如何在 Discourse 中更新常见问题解答 (FAQ)、隐私政策和服务条款页面。 :person\_raising\_hand: 所需用户级别：管理员 更新常见问题解答、隐私政策和服务条...

---

## [标记帖子以供版主注意](https://meta.discourse.org/t/flagging-a-post-for-moderator-attention/32783)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 8\
**Last updated:** [2024年八月1日 20:57 UTC](https://meta.discourse.org/t/flagging-a-post-for-moderator-attention/32783 "2024-08-01T20:57:31Z")

</div>

:bookmark: 本指南解释了如何在 Discourse 中标记帖子以供版主关注、何时应使用此功能以及帖子被标记后会发生什么。 :person\_raising\_hand: 所需用户级别：信任级别……

---

## [理解用户个人资料上的“有帮助的标记”](https://meta.discourse.org/t/understanding-helpful-flags-on-user-profiles/25385)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2015年二月19日 03:30 UTC](https://meta.discourse.org/t/understanding-helpful-flags-on-user-profiles/25385 "2015-02-19T03:30:14Z")

</div>

:bookmark: 本主题解释了用户个人资料页面上的“有益标记”的含义以及此指标的计算方式。 :person\_raising\_hand: 所需用户级别：版主和管理员 当您在……上查看用户的个人资料时

---

## [将 Discourse 用作身份提供者 (SSO, DiscourseConnect)](https://meta.discourse.org/t/use-discourse-as-an-identity-provider-sso-discourseconnect/32974)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 142\
**Last updated:** [2024年十一月9日 11:50 UTC](https://meta.discourse.org/t/use-discourse-as-an-identity-provider-sso-discourseconnect/32974 "2024-11-09T11:50:05Z")

</div>

所以您想将 Discourse 用作自己 Web 应用的身份提供者？太棒了！我们开始吧。 启用 DiscourseConnect 提供者设置 在 Discourse 管理站点设置 (/admin/site\_settings) 下启用设置 en…

---

## [从控制台创建管理员账户](https://meta.discourse.org/t/create-an-admin-account-from-the-console/17274)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 1\
**Last updated:** [2025年一月2日 17:02 UTC](https://meta.discourse.org/t/create-an-admin-account-from-the-console/17274 "2025-01-02T17:02:18Z")

</div>

:bookmark: 本指南提供了使用控制台为自托管 Discourse 安装创建管理员帐户或授予管理员权限的说明。 :person\_raising\_hand: 所需用户级别：系统管理员……

---

## [Discourse REST API 文档](https://meta.discourse.org/t/discourse-rest-api-documentation/22706)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2014年十二月1日 14:42 UTC](https://meta.discourse.org/t/discourse-rest-api-documentation/22706 "2014-12-01T14:42:20Z")

</div>

Discourse API 请查看 Discourse API 文档站点以获取详细信息： https://docs.discourse.org :information\_source: 身份验证 API 请求必须使用基于 HTTP 标头的身份验证。传递您的 Api-……

---

## [逆向工程 Discourse API](https://meta.discourse.org/t/reverse-engineer-the-discourse-api/20576)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2014年九月29日 01:22 UTC](https://meta.discourse.org/t/reverse-engineer-the-discourse-api/20576 "2014-09-29T01:22:40Z")

</div>

Discourse 受完整的 JSON api 支持。您在网站上可以做的任何事情也可以使用 JSON api 完成。 API 文档位于 docs.discourse.org。您也可以使用 discourse\\\_api Ruby gem 作为客户端库……

---

## [使用 Discourse API ruby gem](https://meta.discourse.org/t/use-the-discourse-api-ruby-gem/17587)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2014年七月15日 03:29 UTC](https://meta.discourse.org/t/use-the-discourse-api-ruby-gem/17587 "2014-07-15T03:29:15Z")

</div>

所以你想使用 Discourse API？太棒了！让我们开始吧。 设置 Discourse 开发环境 使用我们的 Windows、macOS 或 Ubuntu 指南设置 Discourse 开发环境。 克隆 Discourse API Gem 现在...

---

## [手动更新 Discourse 和 Docker 镜像至最新版](https://meta.discourse.org/t/manually-update-discourse-and-docker-image-to-latest/23325)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 13\
**Last updated:** [2025年一月16日 11:14 UTC](https://meta.discourse.org/t/manually-update-discourse-and-docker-image-to-latest/23325 "2025-01-16T11:14:13Z")

</div>

:bookmark: 本指南提供了有关在自托管设置中手动更新 Discourse、Docker 容器和 Ubuntu 操作系统的分步说明。 :person\_raising\_hand: 所需用户级别：系统……

---

## [恢复一个被标记为垃圾信息用户删除的账户](https://meta.discourse.org/t/recover-a-user-who-was-deleted-as-a-spammer/33372)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2015年九月16日 20:44 UTC](https://meta.discourse.org/t/recover-a-user-who-was-deleted-as-a-spammer/33372 "2015-09-16T20:44:27Z")

</div>

:bookmark: 本指南介绍了在用户被错误地标记为垃圾邮件发送者后，如何恢复这些用户及其内容。 :person\_raising\_hand: 所需用户级别：管理员 当用户被错误地标记为垃圾邮件发送者时……

---

## [为 Discourse 配置防火墙](https://meta.discourse.org/t/configure-a-firewall-for-discourse/20584)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 5\
**Last updated:** [2025年三月25日 23:14 UTC](https://meta.discourse.org/t/configure-a-firewall-for-discourse/20584 "2025-03-25T23:14:23Z")

</div>

如果您使用的是标准的基于 Docker 的 Discourse 安装，以下的不复杂防火墙 (Uncomplicated Firewall) 规则将保护您服务器上的任何非 Docker 服务： ufw allow http ufw allow https ufw allow ssh ufw enable 那我就……

---

## [为您的 Linux 服务器创建交换文件](https://meta.discourse.org/t/create-a-swapfile-for-your-linux-server/13880)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 5\
**Last updated:** [2024年十二月18日 15:03 UTC](https://meta.discourse.org/t/create-a-swapfile-for-your-linux-server/13880 "2024-12-18T15:03:04Z")

</div>

:bulb: 对于内存小于或等于 4GB 的服务器，运行 \`./discourse-setup\` 会提示并自动创建一个 2GB 的交换文件（swapfile）。 大多数云虚拟机提供商在配置服务器时不会设置交换文件……

---

## [创建预填个人消息链接](https://meta.discourse.org/t/creating-pre-filled-personal-message-links/35984)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 6\
**Last updated:** [2025年四月28日 14:03 UTC](https://meta.discourse.org/t/creating-pre-filled-personal-message-links/35984 "2025-04-28T14:03:34Z")

</div>

:bookmark: 本指南介绍如何创建链接以启动带有预填充信息的新私人消息，包括最佳实践。 :person\_raising\_hand: 所需用户级别：所有用户 Discourse 允许您……

---

## [更改您的 Discourse 域名或重命名](https://meta.discourse.org/t/change-the-domain-name-or-rename-your-discourse/16098)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 7\
**Last updated:** [2025年六月19日 18:23 UTC](https://meta.discourse.org/t/change-the-domain-name-or-rename-your-discourse/16098 "2025-06-19T18:23:25Z")

</div>

:bookmark: 本指南说明如何更改您的 Discourse 站点的域名，其中包含有关设置 DNS 更改、编辑配置文件、更新站点设置以及更正社交登录...的信息。

---

## [配置活动摘要邮件](https://meta.discourse.org/t/configuring-activity-summary-emails/36627)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 6\
**Last updated:** [2025年六月30日 14:28 UTC](https://meta.discourse.org/t/configuring-activity-summary-emails/36627 "2025-06-30T14:28:58Z")

</div>

:bookmark: 本指南介绍如何在 Discourse 中配置和管理活动摘要电子邮件，包括用户和管理员选项、自定义和故障排除。 :person\_raising\_hand: 所需用户级别：管理员……

---

## [配置 Discourse 的 Google 登录](https://meta.discourse.org/t/configure-google-login-for-discourse/15858)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 5\
**Last updated:** [2025年七月15日 17:06 UTC](https://meta.discourse.org/t/configure-google-login-for-discourse/15858 "2025-07-15T17:06:01Z")

</div>

:bookmark: 本指南介绍了如何通过在 Google Cloud Console 中配置 OAuth2 凭据，为您的 Discourse 站点设置 Google 登录集成。 :person\_raising\_hand: 所需用户级别：管理员 O…

---

## [配置 wiki 设置](https://meta.discourse.org/t/configuring-wiki-settings/30802)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 1\
**Last updated:** [2025年八月28日 22:01 UTC](https://meta.discourse.org/t/configuring-wiki-settings/30802 "2025-08-28T22:01:27Z")

</div>

:bookmark: 本指南说明如何配置维基设置以满足您社区的需求，包括如何确定谁可以创建和编辑维基帖子。 :person\_raising\_hand: 所需用户级别：管理员 W…

---

## [设置通过 POP3 轮询的电子邮件回复](https://meta.discourse.org/t/set-up-reply-by-email-with-pop3-polling/14003)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 1\
**Last updated:** [2025年九月2日 11:05 UTC](https://meta.discourse.org/t/set-up-reply-by-email-with-pop3-polling/14003 "2025-09-02T11:05:11Z")

</div>

所以你想为你的 Discourse 论坛设置通过电子邮件回复支持。 :mega: 电子邮件回复已预先配置并在所有 discourse.org 托管的站点上默认启用。下面的指南仅适用于自我托管的...

---

## [将 phpBB3 论坛迁移到 Discourse](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 464\
**Last updated:** [2025年九月4日 13:38 UTC](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810 "2025-09-04T13:38:09Z")

</div>

所以，您发现了 Discourse 并且想知道如何从您现有的 phpBB3 论坛迁移？ 太棒了！那么请继续阅读。本指南将向您展示如何使用 phpBB3 导入脚本从 phpBB 3.0 导入到 3……

---

## [为您的 Discourse 启用 CDN](https://meta.discourse.org/t/enable-a-cdn-for-your-discourse/14857)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 72\
**Last updated:** [2025年十月4日 12:09 UTC](https://meta.discourse.org/t/enable-a-cdn-for-your-discourse/14857 "2025-10-04T12:09:57Z")

</div>

所以您想使用内容分发网络 (CDN) 来加速全球用户访问您的 Discourse 论坛上的常用资源？您可能希望全力以赴，将文件和图片上传设置为使用 S3（另请参阅配置 S3 兼容对象存储...）

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

[下一頁](https://meta.discourse.org/c/documentation/10.md?page=7)
