# Latest

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

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

**Page:** 1581

---

## [通过SSH登录；没有目录？](https://meta.discourse.org/t/logged-in-via-ssh-no-directories/81795)

<div class="topic-metadata">

**Author:** [@Tyson](https://meta.discourse.org/u/Tyson)\
**回覆:** 2\
**Last updated:** [2018年二月28日 19:22 UTC](https://meta.discourse.org/t/logged-in-via-ssh-no-directories/81795 "2018-02-28T19:22:04Z")

</div>

我有几个月没有登录我的服务器，现在我想更改一些设置，我通过SSH登录，但在我的主目录下没有列出子目录。也许我忘了什么，但我应该…

---

## [一个用于轻松模拟 SSO 的 Django 应用](https://meta.discourse.org/t/a-django-app-for-easy-sso-simulation/81810)

<div class="topic-metadata">

**Author:** [@Sudaraka](https://meta.discourse.org/u/Sudaraka)\
**回覆:** 0\
**Last updated:** [2018年二月28日 18:55 UTC](https://meta.discourse.org/t/a-django-app-for-easy-sso-simulation/81810 "2018-02-28T18:55:35Z")

</div>

大家好， 我创建了一个简单的 Django 应用，使用此处提到的脚本来模拟 Discourse 的单点登录（SSO）。 https://meta.discourse.org/t/sso-example-for-django/14258 SSO 有效载荷的参数需要硬编码。B…

---

## [建议主题分类格式](https://meta.discourse.org/t/suggested-topics-category-formatting/81799)

<div class="topic-metadata">

**Author:** [@Alexander\_Wright](https://meta.discourse.org/u/Alexander_Wright)\
**回覆:** 2\
**Last updated:** [2018年二月28日 17:31 UTC](https://meta.discourse.org/t/suggested-topics-category-formatting/81799 "2018-02-28T17:31:56Z")

</div>

你好，我有一些较长的分类名称，希望它们能在每个主题底部的“推荐主题”框中自动换行。目前我使用的是： \[suggestedTopics\] 有什么可以添加的 CSS 吗？我尝试了 th…

---

## [在会员部分添加计费板块](https://meta.discourse.org/t/adding-a-billing-section-in-the-member-section/81610)

<div class="topic-metadata">

**Author:** [@Francois\_Douville](https://meta.discourse.org/u/Francois_Douville)\
**回覆:** 7\
**Last updated:** [2018年二月28日 17:31 UTC](https://meta.discourse.org/t/adding-a-billing-section-in-the-member-section/81610 "2018-02-28T17:31:16Z")

</div>

我使用的是 Memberful-Discourse 集成。 我想在这里添加一个“账单”部分： \[billing\] 实际上，当用户点击“账单”时，将会跳转到该用户的 Memberful 账户。我将添加一个简单的…

---

## [分析 - 添加用户类型指标](https://meta.discourse.org/t/analytics-add-user-type-metrics/81801)

<div class="topic-metadata">

**Author:** [@Alexander\_Wright](https://meta.discourse.org/u/Alexander_Wright)\
**回覆:** 0\
**Last updated:** [2018年二月28日 17:15 UTC](https://meta.discourse.org/t/analytics-add-user-type-metrics/81801 "2018-02-28T17:15:23Z")

</div>

能否在 Google Analytics 中添加自定义用户指标？ 我感兴趣的细分包括用户信任等级以及管理员/版主。 这也将解决该问题。

---

## [升级破坏了分类视图的布局](https://meta.discourse.org/t/upgrade-has-broken-layout-of-category-view/81664)

<div class="topic-metadata">

**Author:** [@john-lynch](https://meta.discourse.org/u/john-lynch)\
**回覆:** 6\
**Last updated:** [2018年二月28日 16:15 UTC](https://meta.discourse.org/t/upgrade-has-broken-layout-of-category-view/81664 "2018-02-28T16:15:27Z")

</div>

我运营着一个供朋友们闲聊和讨论的小型论坛。今天早上我将 Discourse 升级到了最新版本，现在主页上的分类渲染出错了。我之前为每个分类添加了一个横幅图片……

---

## [如何将主题标记为已解决？](https://meta.discourse.org/t/how-to-mark-a-topic-as-resolved/81793)

<div class="topic-metadata">

**Author:** [@Tyson](https://meta.discourse.org/u/Tyson)\
**回覆:** 6\
**Last updated:** [2018年二月28日 16:08 UTC](https://meta.discourse.org/t/how-to-mark-a-topic-as-resolved/81793 "2018-02-28T16:08:56Z")

</div>

你如何将回答标记为“最佳答案”并将主题标记为“已解决”？

---

## [帖子中的 iframe](https://meta.discourse.org/t/iframe-in-posts/81785)

<div class="topic-metadata">

**Author:** [@lxsameer](https://meta.discourse.org/u/lxsameer)\
**回覆:** 1\
**Last updated:** [2018年二月28日 14:50 UTC](https://meta.discourse.org/t/iframe-in-posts/81785 "2018-02-28T14:50:21Z")

</div>

在用户帖子中加入iframe是否可行？

---

## [如何制作像SitePoint一样的自定义导航药丸](https://meta.discourse.org/t/how-to-make-custom-nav-pills-like-sitepoint/81742)

<div class="topic-metadata">

**Author:** [@dakotahnorth](https://meta.discourse.org/u/dakotahnorth)\
**回覆:** 15\
**Last updated:** [2018年二月28日 13:18 UTC](https://meta.discourse.org/t/how-to-make-custom-nav-pills-like-sitepoint/81742 "2018-02-28T13:18:11Z")

</div>

SitePoint 有一组非常漂亮的导航按钮…… \[24%20PM\] 如何创建这样的导航按钮？

---

## [私人类别中的公共话题](https://meta.discourse.org/t/a-public-topic-within-a-private-category/81735)

<div class="topic-metadata">

**Author:** [@Daniel\_Westendorf1](https://meta.discourse.org/u/Daniel_Westendorf1)\
**回覆:** 2\
**Last updated:** [2018年二月28日 10:14 UTC](https://meta.discourse.org/t/a-public-topic-within-a-private-category/81735 "2018-02-28T10:14:41Z")

</div>

我想把在私密类别中创建的单个主题设为公开（即所有人，甚至未登录用户都可以查看）。有简单的方法做到这一点吗？希望我只是遗漏了一些文档……最终……

---

## [Receiving "Sorry, an error has occurred." during flagging step of discobot tutorial](https://meta.discourse.org/t/receiving-sorry-an-error-has-occurred-during-flagging-step-of-discobot-tutorial/77233)

<div class="topic-metadata">

**Author:** [@tshenry](https://meta.discourse.org/u/tshenry)\
**回覆:** 6\
**Last updated:** [2018年二月28日 05:55 UTC](https://meta.discourse.org/t/receiving-sorry-an-error-has-occurred-during-flagging-step-of-discobot-tutorial/77233 "2018-02-28T05:55:00Z")

</div>

I’ve been testing the new user experience on my Discourse forum and seem to have run into a bug with discobot. Here are the repro steps: Get to the flagging step of the discobot tutorial Click on the flag button in the…

---

## [如果所有标签都已分组，孤立的“其他标签”仍会显示在/tags 页面底部](https://meta.discourse.org/t/if-all-tags-are-in-groups-orphaned-other-tags-still-shows-at-the-bottom-of-tags-page/81609)

<div class="topic-metadata">

**Author:** [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**回覆:** 3\
**Last updated:** [2018年二月28日 03:31 UTC](https://meta.discourse.org/t/if-all-tags-are-in-groups-orphaned-other-tags-still-shows-at-the-bottom-of-tags-page/81609 "2018-02-28T03:31:11Z")

</div>

我刚刚将 Discourse 站点中的所有标签都移入了标签组。但在底部仍然显示一个“其他标签”的标题，其下方没有任何标签，这不应该出现。请访问我的标签页面并滚动到底部，你将看到……

---

## [如何将数据从插件传递到应用/视图模板？](https://meta.discourse.org/t/how-to-transfer-data-from-plugin-to-app-views-templates/81528)

<div class="topic-metadata">

**Author:** [@Stranik](https://meta.discourse.org/u/Stranik)\
**回覆:** 1\
**Last updated:** [2018年二月28日 02:19 UTC](https://meta.discourse.org/t/how-to-transfer-data-from-plugin-to-app-views-templates/81528 "2018-02-28T02:19:16Z")

</div>

我使用插件帮助创建了一个测试页面。 通过在相应文件中放置以下代码实现。例如，在 plugin.rb 中： Discourse::Application.routes.append do get '/help' =\> 'discourse\_help/help#my\_page' end…

---

## [Are the staff tags needed to be visible by users in the tag-page?](https://meta.discourse.org/t/are-the-staff-tags-needed-to-be-visible-by-users-in-the-tag-page/68988)

<div class="topic-metadata">

**Author:** [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**回覆:** 14\
**Last updated:** [2018年二月28日 01:54 UTC](https://meta.discourse.org/t/are-the-staff-tags-needed-to-be-visible-by-users-in-the-tag-page/68988 "2018-02-28T01:54:05Z")

</div>

number of tags may be much more than 10-15 in a forum, and I think hiding less irrelevant choices such as staff-tags for users would be a point for users. at least in our case, we use staff-tags for topics related to st…

---

## [\[有偿\] 为 BIOS 开发主题](https://meta.discourse.org/t/paid-theme-development-for-bios/81719)

<div class="topic-metadata">

**Author:** [@Seth\_Godin](https://meta.discourse.org/u/Seth_Godin)\
**回覆:** 1\
**Last updated:** [2018年二月27日 22:54 UTC](https://meta.discourse.org/t/paid-theme-development-for-bios/81719 "2018-02-27T22:54:56Z")

</div>

如果您能尽快着手处理此事，我们很期待了解您如何为以下内容构建自定义 \> 主题。请在此回复您的兴趣和背景，我们可以继续对话…

---

## [备份“频率”与“周期”之间的混淆](https://meta.discourse.org/t/confusion-between-backup-frequency-and-period/80729)

<div class="topic-metadata">

**Author:** [@sybren](https://meta.discourse.org/u/sybren)\
**回覆:** 6\
**Last updated:** [2018年二月27日 20:42 UTC](https://meta.discourse.org/t/confusion-between-backup-frequency-and-period/80729 "2018-02-27T20:42:15Z")

</div>

Discourse 的自动备份功能有一个“备份频率”设置。然而，我怀疑该设置并非控制备份频率，而是控制备份周期（其中周期 = 1/频率），即当 s…

---

## [分类标签页面“（可选）允许的标签组列表”字段选择的是标签而非标签组](https://meta.discourse.org/t/category-tags-page-optional-list-of-allowed-tag-groups-field-selects-tags-not-groups/81701)

<div class="topic-metadata">

**Author:** [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**回覆:** 3\
**Last updated:** [2018年二月27日 20:11 UTC](https://meta.discourse.org/t/category-tags-page-optional-list-of-allowed-tag-groups-field-selects-tags-not-groups/81701 "2018-02-27T20:11:32Z")

</div>

请见下方截图。分类标签选项卡中的第二个字段本应允许选择标签组，但实际上它像上面的字段一样允许选择标签。哎呀。 \[24%20AM\]

---

## [私信中的标签限制](https://meta.discourse.org/t/tag-restrictions-on-pm/81670)

<div class="topic-metadata">

**Author:** [@Sean\_R](https://meta.discourse.org/u/Sean_R)\
**回覆:** 2\
**Last updated:** [2018年二月27日 18:28 UTC](https://meta.discourse.org/t/tag-restrictions-on-pm/81670 "2018-02-27T18:28:04Z")

</div>

既然 Discourse 2.0 版本中标签功能已引入私信（PM），是否考虑过增加限制私信中可见或可用标签的能力？例如，我们可能在群组收件箱中使用标签来表示状态（如“已打开”、“处理中……”）

---

## [网站不支持 onebox](https://meta.discourse.org/t/website-doesnt-support-onebox/81667)

<div class="topic-metadata">

**Author:** [@tran](https://meta.discourse.org/u/tran)\
**回覆:** 4\
**Last updated:** [2018年二月27日 17:19 UTC](https://meta.discourse.org/t/website-doesnt-support-onebox/81667 "2018-02-27T17:19:36Z")

</div>

我的演讲目标是让设计师们进行交流。我需要添加一个onebox，它是我们国家最大的网站设计网站。但这个网站不支持onebox。我该怎么办？

---

## [Check\_username API端点似乎不能正常工作](https://meta.discourse.org/t/check-username-api-endpoint-seems-to-not-work-correctly/81656)

<div class="topic-metadata">

**Author:** [@parisa](https://meta.discourse.org/u/parisa)\
**回覆:** 1\
**Last updated:** [2018年二月27日 16:21 UTC](https://meta.discourse.org/t/check-username-api-endpoint-seems-to-not-work-correctly/81656 "2018-02-27T16:21:08Z")

</div>

当我们在discourse中注册并输入用户名时，如果该用户名已被使用，discourse会建议另一个用户名。我想在我的API中使用这个功能，并追踪了discourse发起的API调用，使用了这个……

---

## [Markdown base62 图片名与完整img路径？](https://meta.discourse.org/t/markdown-base62-image-name-vs-full-img-path/81653)

<div class="topic-metadata">

**Author:** [@filip](https://meta.discourse.org/u/filip)\
**回覆:** 2\
**Last updated:** [2018年二月27日 13:57 UTC](https://meta.discourse.org/t/markdown-base62-image-name-vs-full-img-path/81653 "2018-02-27T13:57:24Z")

</div>

你好， 通过粘贴上传的图像有一个Markdown标签地址： !\[image|302x124\](upload:// 1UTkm8uk9wWYvKeuEgiTXMJIuTG.jpg) 这似乎使用了这里讨论过的较短的base62文件名。 但是，使用base6……

---

## [禁用预置横幅](https://meta.discourse.org/t/disable-the-pre-banner/56581)

<div class="topic-metadata">

**Author:** [@Goog](https://meta.discourse.org/u/Goog)\
**回覆:** 2\
**Last updated:** [2017年一月31日 05:32 UTC](https://meta.discourse.org/t/disable-the-pre-banner/56581 "2017-01-31T05:32:38Z")

</div>

你好！我如何移除我的论坛上的这个横幅（或至少重新编写它）？ 谢谢。\[图片\]

---

## [MP3 链接未嵌入](https://meta.discourse.org/t/mp3-link-not-embedded/81642)

<div class="topic-metadata">

**Author:** [@\_Divya](https://meta.discourse.org/u/_Divya)\
**回覆:** 3\
**Last updated:** [2018年二月27日 13:14 UTC](https://meta.discourse.org/t/mp3-link-not-embedded/81642 "2018-02-27T13:14:13Z")

</div>

我在论坛讨论中嵌入了来自 Firebase Storage 的 MP3 链接。该链接包含音频，但并未自动转换为音频播放器。 链接如下：https://firebasestorage.googleapis.com/v0/b/jinswara.appspo…

---

## [处理 Markdown 与 HTML 图片语法的差异：寻求工作流建议](https://meta.discourse.org/t/handling-markdown-vs-html-image-syntax-seeking-workflow-advice/80759)

<div class="topic-metadata">

**Author:** [@filip](https://meta.discourse.org/u/filip)\
**回覆:** 1\
**Last updated:** [2018年二月27日 12:16 UTC](https://meta.discourse.org/t/handling-markdown-vs-html-image-syntax-seeking-workflow-advice/80759 "2018-02-27T12:16:48Z")

</div>

你好！ 我的工作流程在 Discourse 将图片上传从 HTML 语法更新为 Markdown 语法后出问题了。我想知道其他人是怎么处理的。 1. 我之前写博客文章的工作流程是这样的： 撰写草稿…

---

## [插件可以添加 Webhook 吗？](https://meta.discourse.org/t/can-a-plugin-add-a-webhook/81361)

<div class="topic-metadata">

**Author:** [@jack2](https://meta.discourse.org/u/jack2)\
**回覆:** 7\
**Last updated:** [2018年二月27日 11:27 UTC](https://meta.discourse.org/t/can-a-plugin-add-a-webhook/81361 "2018-02-27T11:27:33Z")

</div>

我正在开发一个与外部 Web 应用通信的插件。该 Web 应用还通过 Webhook 获知 Discourse 中的变更。 目前，安装该插件较为复杂，因为它需要…

---

## [如何让您的社区将 Discourse 用作（微）博客平台](https://meta.discourse.org/t/how-to-enable-your-community-to-use-discourse-as-a-micro-blogging-platform/81505)

<div class="topic-metadata">

**Author:** [@mcwumbly](https://meta.discourse.org/u/mcwumbly)\
**回覆:** 4\
**Last updated:** [2018年二月27日 09:53 UTC](https://meta.discourse.org/t/how-to-enable-your-community-to-use-discourse-as-a-micro-blogging-platform/81505 "2018-02-27T09:53:50Z")

</div>

以下内容改编自我们论坛上的操作指南。它假设您已启用标签功能，且大多数信任级别的用户均可使用，同时您已配置好 Slack 插件。此外，文中还链接了有关如何订阅等主题的指南。

---

## [让 user custom\_field 对 Composer 连接器可用？](https://meta.discourse.org/t/making-user-custom-field-available-to-composer-connector/81601)

<div class="topic-metadata">

**Author:** [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)\
**回覆:** 2\
**Last updated:** [2018年二月27日 08:18 UTC](https://meta.discourse.org/t/making-user-custom-field-available-to-composer-connector/81601 "2018-02-27T08:18:53Z")

</div>

我即将完成一个新插件，该插件允许会员付费将他们的主题置顶。 不过还有一件小事让我有些困扰。我将用户的余额存储在一个用户自定义字段中，并在支付时更新余额…

---

## [Topic closed temporarily due to community flags overwrites category auto-close timer](https://meta.discourse.org/t/topic-closed-temporarily-due-to-community-flags-overwrites-category-auto-close-timer/77421)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**回覆:** 2\
**Last updated:** [2018年二月27日 07:35 UTC](https://meta.discourse.org/t/topic-closed-temporarily-due-to-community-flags-overwrites-category-auto-close-timer/77421 "2018-02-27T07:35:37Z")

</div>

If a category has an auto-close timer set and a the topic is subsequently closed temporarily due to a large number of community flags, after the topic re-opens the category based auto-close timer is not re-enabled. Repr…

---

## [元站上所有标签下拉菜单中的越界渲染问题](https://meta.discourse.org/t/out-of-bounds-rendering-on-the-all-tags-drop-down-on-meta/81625)

<div class="topic-metadata">

**Author:** [@notriddle](https://meta.discourse.org/u/notriddle)\
**回覆:** 1\
**Last updated:** [2018年二月27日 07:33 UTC](https://meta.discourse.org/t/out-of-bounds-rendering-on-the-all-tags-drop-down-on-meta/81625 "2018-02-27T07:33:39Z")

</div>

\[image\] 查看 :mag: 搜索图标。

---

## [直接链接到群组活动会导致 400 错误](https://meta.discourse.org/t/following-a-direct-link-to-group-activity-results-in-400-error/81596)

<div class="topic-metadata">

**Author:** [@HAWK](https://meta.discourse.org/u/HAWK)\
**回覆:** 1\
**Last updated:** [2018年二月27日 05:44 UTC](https://meta.discourse.org/t/following-a-direct-link-to-group-activity-results-in-400-error/81596 "2018-02-27T05:44:30Z")

</div>

直接链接到群组活动页面会导致 400 错误。 例如：https://meta.discourse.org/groups/plugin\_authors/activity/posts 如果通过用户界面导航，则运行正常。 例如：/groups \> /groups/plugin\_auth…

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

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