# Latest

**URL:** https://meta.discourse.org/latest.md?f=tracked&page=1241

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

**Page:** 1242

---

## [桌面端图片宽度被截断的问题](https://meta.discourse.org/t/having-an-issue-with-images-width-getting-cut-off-on-desktop/148135)

<div class="topic-metadata">

**Author:** [@b481](https://meta.discourse.org/u/b481)\
**回覆:** 6\
**Last updated:** [2020年四月15日 23:08 UTC](https://meta.discourse.org/t/having-an-issue-with-images-width-getting-cut-off-on-desktop/148135 "2020-04-15T23:08:57Z")

</div>

我最近在论坛上遇到了一个问题。当我上传或链接照片时，它们不再像以前那样自动缩小，因此如果照片达到一定尺寸或宽度，就会被直接截断。如果我右键点击照片…

---

## [用户名在首次登录后必须更改](https://meta.discourse.org/t/username-must-change-after-first-login/148161)

<div class="topic-metadata">

**Author:** [@masum0813](https://meta.discourse.org/u/masum0813)\
**回覆:** 3\
**Last updated:** [2020年四月15日 22:40 UTC](https://meta.discourse.org/t/username-must-change-after-first-login/148161 "2020-04-15T22:40:28Z")

</div>

你好， 我想开发一个插件，当用户首次登录时，用户必须更改它/她的用户名。但我不知道如何重定向到我的插件或更改用户名的页面。 有任何建议吗？ 谢谢……

---

## [寻找 Discourse 开发人员](https://meta.discourse.org/t/looking-for-a-discourse-developer/148147)

<div class="topic-metadata">

**Author:** [@agf1997](https://meta.discourse.org/u/agf1997)\
**回覆:** 2\
**Last updated:** [2020年四月15日 19:34 UTC](https://meta.discourse.org/t/looking-for-a-discourse-developer/148147 "2020-04-15T19:34:22Z")

</div>

您希望完成哪些工作？ - 定制导航以匹配对应的 WordPress 导航 - 解决 SSO 的问题 - 可能进行进一步的 Discourse 主题开发和定制 您希望何时完成？ 1 和 2 是……

---

## [用户邮件无法使用，预览摘要正常吗？](https://meta.discourse.org/t/user-mail-not-working-preview-digest-is-ok/147848)

<div class="topic-metadata">

**Author:** [@Ben\_Ronsse](https://meta.discourse.org/u/Ben_Ronsse)\
**回覆:** 6\
**Last updated:** [2020年四月15日 18:53 UTC](https://meta.discourse.org/t/user-mail-not-working-preview-digest-is-ok/147848 "2020-04-15T18:53:32Z")

</div>

不确定该从哪里查看。 我注意到新用户无法（再）注册。测试邮件已发出，但未收到？ 但另一方面，预览摘要邮件却正常工作？这意味着我的邮件连接…

---

## [如何在登录模态框中添加消息？](https://meta.discourse.org/t/how-can-i-add-a-message-to-the-login-modal/147956)

<div class="topic-metadata">

**Author:** [@rimase](https://meta.discourse.org/u/rimase)\
**回覆:** 3\
**Last updated:** [2020年四月15日 17:57 UTC](https://meta.discourse.org/t/how-can-i-add-a-message-to-the-login-modal/147956 "2020-04-15T17:57:42Z")

</div>

你好！我想能够添加一条像附件图片那样的永久消息。请问如何实现？谢谢！

---

## [Discourse SSO 与 WordPress 仅在 /core/wp-admin URL 下有效](https://meta.discourse.org/t/discourse-sso-with-wordpress-only-works-with-core-wp-admin-url/148121)

<div class="topic-metadata">

**Author:** [@benbowler](https://meta.discourse.org/u/benbowler)\
**回覆:** 8\
**Last updated:** [2020年四月15日 17:19 UTC](https://meta.discourse.org/t/discourse-sso-with-wordpress-only-works-with-core-wp-admin-url/148121 "2020-04-15T17:19:12Z")

</div>

我已部署了一个新的 WordPress 插件，该插件依赖 Discourse 的 SSO，但我在网站的生产环境中遇到了一个奇怪的 bug，该 bug 仅影响生产部署。 在本地环境中，我可以登录并使用 redirect\_url 参数返回到 th…

---

## [\[已解决\] 两个独立服务器的安装问题](https://meta.discourse.org/t/solved-install-issues-with-2-separate-servers/148015)

<div class="topic-metadata">

**Author:** [@oldman](https://meta.discourse.org/u/oldman)\
**回覆:** 2\
**Last updated:** [2020年四月15日 16:33 UTC](https://meta.discourse.org/t/solved-install-issues-with-2-separate-servers/148015 "2020-04-15T16:33:04Z")

</div>

大致来说，我遇到了以下问题。 我有两台硬件服务器。一台运行 Unraid，另一台用于运行 ESXi 虚拟机。 Unraid 服务器正在运行 Nginx 反向代理管理器。我在上面有一台 Ubuntu 18.04 虚拟机……

---

## [我如何通过SSO站点更新信任级别](https://meta.discourse.org/t/how-can-i-update-trust-level-via-sso-site/23876)

<div class="topic-metadata">

**Author:** [@ihwan](https://meta.discourse.org/u/ihwan)\
**回覆:** 17\
**Last updated:** [2020年四月15日 15:22 UTC](https://meta.discourse.org/t/how-can-i-update-trust-level-via-sso-site/23876 "2020-04-15T15:22:38Z")

</div>

你好，大家好， 我想通过SSO网站更新信任等级。我有一个网站，里面有基本免费用户和付费用户。我只是想从我的网站更新信任等级。有好的做法吗？ 我想查看API文档……

---

## [从 XenForo 迁移到 Discourse 遇到的问题](https://meta.discourse.org/t/troubles-moving-from-xenforo-to-discourse/266060)

<div class="topic-metadata">

**Author:** [@007](https://meta.discourse.org/u/007)\
**回覆:** 5\
**Last updated:** [2020年四月15日 14:54 UTC](https://meta.discourse.org/t/troubles-moving-from-xenforo-to-discourse/266060 "2020-04-15T14:54:41Z")

</div>

你好，从第 7 步开始，我遇到了困难。任何帮助都将不胜感激。我从未接触过 Ruby，因此可能在第 7 步之前有一些显而易见的必要步骤，而我并不了解……

---

## [如何更改用户的主要电子邮件？](https://meta.discourse.org/t/how-can-i-change-user-primary-email/147939)

<div class="topic-metadata">

**Author:** [@evantill](https://meta.discourse.org/u/evantill)\
**回覆:** 8\
**Last updated:** [2020年四月15日 14:34 UTC](https://meta.discourse.org/t/how-can-i-change-user-primary-email/147939 "2020-04-15T14:34:42Z")

</div>

作为管理员，如何更改用户电子邮件地址？

---

## [移除DISCOURSE\_CDN\_URL](https://meta.discourse.org/t/remove-discourse-cdn-url/148096)

<div class="topic-metadata">

**Author:** [@goingoutofbusiness](https://meta.discourse.org/u/goingoutofbusiness)\
**回覆:** 2\
**Last updated:** [2020年四月15日 11:55 UTC](https://meta.discourse.org/t/remove-discourse-cdn-url/148096 "2020-04-15T11:55:03Z")

</div>

你好， 我刚刚从 my app.yml（DISCOURSE\_CDN\_URL）中删除了 CDN url 并进行了重建。然而，上传到帖子中的图片仍然指向 CDN url。 我是不是忘了什么？ 谢谢！

---

## [发布新帖子时出现方法缺失错误](https://meta.discourse.org/t/method-missing-when-posting-a-new-post/148064)

<div class="topic-metadata">

**Author:** [@carlokok](https://meta.discourse.org/u/carlokok)\
**回覆:** 1\
**Last updated:** [2020年四月15日 06:19 UTC](https://meta.discourse.org/t/method-missing-when-posting-a-new-post/148064 "2020-04-15T06:19:57Z")

</div>

您好， 使用最新版本时，回复帖子时我现在收到以下错误： 消息（报告了 2 份副本） NoMethodError（未定义方法 \`embed\_unlisted?' 对于 #） /var/www/discourse/vendor/bundle/ruby/2.6.0/gem…

---

## [Change/Update language translation](https://meta.discourse.org/t/change-update-language-translation/57106)

<div class="topic-metadata">

**Author:** [@quocbao](https://meta.discourse.org/u/quocbao)\
**回覆:** 6\
**Last updated:** [2020年四月15日 05:53 UTC](https://meta.discourse.org/t/change-update-language-translation/57106 "2020-04-15T05:53:19Z")

</div>

Hi everyone, I’m using Discourse v1.8.0.beta4 +85 (latest version). Main language is Vietnamese. My problem is I need to change/update Vietnamese translation, because: Some translation isn’t correct. Missing translat…

---

## [在主题页面上在用户名下包含用户位置？](https://meta.discourse.org/t/including-user-location-under-their-name-on-topic-pages/148035)

<div class="topic-metadata">

**Author:** [@charleswalter](https://meta.discourse.org/u/charleswalter)\
**回覆:** 2\
**Last updated:** [2020年四月15日 04:23 UTC](https://meta.discourse.org/t/including-user-location-under-their-name-on-topic-pages/148035 "2020-04-15T04:23:57Z")

</div>

有用户问我是否有办法在话题和回复中，在他们的用户名下显示用户位置（在个人资料上的位置）。我觉得这可能是社区互相了解的一种有趣方式……

---

## [允许消息显示在全局搜索中](https://meta.discourse.org/t/allow-messages-to-show-up-in-global-search/147982)

<div class="topic-metadata">

**Author:** [@jord8on](https://meta.discourse.org/u/jord8on)\
**回覆:** 3\
**Last updated:** [2020年四月15日 03:29 UTC](https://meta.discourse.org/t/allow-messages-to-show-up-in-global-search/147982 "2020-04-15T03:29:31Z")

</div>

是否有办法让已发送或接收的个人消息显示在全局搜索结果中？或者可以切换此选项的开启/关闭？ 我发现可以输入消息中的关键词，然后：…

---

## [调整 DO Droplet 大小后出现连接错误](https://meta.discourse.org/t/connection-error-after-resizing-do-droplet/78596)

<div class="topic-metadata">

**Author:** [@tkrunning](https://meta.discourse.org/u/tkrunning)\
**回覆:** 5\
**Last updated:** [2018年一月23日 18:46 UTC](https://meta.discourse.org/t/connection-error-after-resizing-do-droplet/78596 "2018-01-23T18:46:45Z")

</div>

大家好，我今天调整了 DigitalOcean 的 Droplet 大小，但在该过程完成后，我无法访问我的 Discourse 论坛（出现 ERR\_CONNECTION\_REFUSED 错误）。看起来问题可能出在 Discourse 之外……

---

## [Discourse中的全局速率限制](https://meta.discourse.org/t/global-rate-limit-in-discourse/129497)

<div class="topic-metadata">

**Author:** [@lmcthjo](https://meta.discourse.org/u/lmcthjo)\
**回覆:** 8\
**Last updated:** [2020年四月14日 22:40 UTC](https://meta.discourse.org/t/global-rate-limit-in-discourse/129497 "2020-04-14T22:40:46Z")

</div>

您好， 我们已将Discourse升级到2.2.5版本。 这是关于每个用户每天发帖数量的限制。 我们的默认设置是： DISCOURSE\_MAX\_REQS\_PER\_IP\_PER\_MINUTE：每个IP每分钟的请求数……

---

## [主题模拟帧？](https://meta.discourse.org/t/theme-to-emulate-frames/147417)

<div class="topic-metadata">

**Author:** [@pqMMA](https://meta.discourse.org/u/pqMMA)\
**回覆:** 2\
**Last updated:** [2020年四月14日 22:35 UTC](https://meta.discourse.org/t/theme-to-emulate-frames/147417 "2020-04-14T22:35:06Z")

</div>

我们最近搭建了一个新的 Discourse 论坛，以评估将现有论坛迁移至该平台的可能性。 我们拥有一个超过 20 年的会员群体，他们强烈反对离开我们目前的框架式论坛…

---

## [只有管理员可以使用的标签](https://meta.discourse.org/t/tag-that-only-admins-can-use/147799)

<div class="topic-metadata">

**Author:** [@verilog15](https://meta.discourse.org/u/verilog15)\
**回覆:** 3\
**Last updated:** [2020年四月14日 22:01 UTC](https://meta.discourse.org/t/tag-that-only-admins-can-use/147799 "2020-04-14T22:01:12Z")

</div>

你好，社区！ 是否有办法创建一个只有管理员可以使用的标签？普通用户不能使用这个标签。

---

## [信任等级 0 的用户能否回复私信？](https://meta.discourse.org/t/can-trust-level-0-users-respond-to-personal-messages/147930)

<div class="topic-metadata">

**Author:** [@szhorvat](https://meta.discourse.org/u/szhorvat)\
**回覆:** 2\
**Last updated:** [2020年四月14日 21:16 UTC](https://meta.discourse.org/t/can-trust-level-0-users-respond-to-personal-messages/147930 "2020-04-14T21:16:36Z")

</div>

信任等级 0 的用户能否回复私信？ 在该主题的博文中有说明，他们无法发送私信。如果版主给他们发送了消息，他们能否回复？ 编辑：我正在询问…

---

## [与未注册用户共享单一主题/类别](https://meta.discourse.org/t/share-single-topics-categories-with-unregistered-users/147692)

<div class="topic-metadata">

**Author:** [@thomas\_xr](https://meta.discourse.org/u/thomas_xr)\
**回覆:** 17\
**Last updated:** [2020年四月14日 20:56 UTC](https://meta.discourse.org/t/share-single-topics-categories-with-unregistered-users/147692 "2020-04-14T20:56:52Z")

</div>

嘿！我们有一个已关闭（需要登录）的discourse实例，但希望通过链接让非注册用户访问一些主题（只读），就像开放的discourse实例一样。是的……

---

## [如何备份 Discourse Docker 容器？](https://meta.discourse.org/t/how-to-backup-discourse-docker-container/148016)

<div class="topic-metadata">

**Author:** [@noorqureshi](https://meta.discourse.org/u/noorqureshi)\
**回覆:** 1\
**Last updated:** [2020年四月14日 20:47 UTC](https://meta.discourse.org/t/how-to-backup-discourse-docker-container/148016 "2020-04-14T20:47:59Z")

</div>

我已经在VPS上安装了discourse，但我想将它迁移到一台专用服务器上，服务器上还在运行其他网站（CentOS 7），我已经安装了docker。我的目标是备份我正常运行的discourse，然后重...

---

## [为超过 X 次浏览或回复的主题配置 CSS](https://meta.discourse.org/t/configuring-css-for-topics-with-over-x-views-or-replies/147889)

<div class="topic-metadata">

**Author:** [@charleswalter](https://meta.discourse.org/u/charleswalter)\
**回覆:** 3\
**Last updated:** [2020年四月14日 20:27 UTC](https://meta.discourse.org/t/configuring-css-for-topics-with-over-x-views-or-replies/147889 "2020-04-14T20:27:41Z")

</div>

在分类页面上，是否有办法更突出地标注达到一定回复数或浏览量阈值的主题？

---

## [保护私有组/分类资源](https://meta.discourse.org/t/securing-private-group-category-resources/147682)

<div class="topic-metadata">

**Author:** [@veblock](https://meta.discourse.org/u/veblock)\
**回覆:** 3\
**Last updated:** [2020年四月14日 20:23 UTC](https://meta.discourse.org/t/securing-private-group-category-resources/147682 "2020-04-14T20:23:28Z")

</div>

我们可以创建一个由群组保护的私密群组及分类。不幸的是，任何资源（文件、图片等）的链接都是公开可访问的。是否有可能像保护群组消息/私密……一样对这些链接进行保护？

---

## [会员想“暂停”的最佳策略是什么？暂停可能不是正确选项](https://meta.discourse.org/t/best-strategy-for-member-who-wants-to-pause-suspend-may-not-be-it/147917)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**回覆:** 10\
**Last updated:** [2020年四月14日 19:27 UTC](https://meta.discourse.org/t/best-strategy-for-member-who-wants-to-pause-suspend-may-not-be-it/147917 "2020-04-14T19:27:45Z")

</div>

嘿，我运营一个使用 Discourse 作为论坛（通过 SSO）的会员网站。在我的主站上，会员拥有各自的账户、个人资料等。 目前，会员可以暂时停用其主站个人资料，这没问题……

---

## [如何从用户对象中获取 external\_id？](https://meta.discourse.org/t/how-can-i-get-external-id-from-the-user-object/147864)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**回覆:** 6\
**Last updated:** [2020年四月14日 19:02 UTC](https://meta.discourse.org/t/how-can-i-get-external-id-from-the-user-object/147864 "2020-04-14T19:02:02Z")

</div>

当我使用 API 获取 Discourse 用户对象时，一切正常，但我没有看到其中包含 external\_id。如果我有 Discourse 用户 ID 或用户名，如何从中获取 external\_id？

---

## [如何简化对个人的私信](https://meta.discourse.org/t/how-to-simplify-dms-to-individuals/145600)

<div class="topic-metadata">

**Author:** [@jord8on](https://meta.discourse.org/u/jord8on)\
**回覆:** 11\
**Last updated:** [2020年四月14日 18:23 UTC](https://meta.discourse.org/t/how-to-simplify-dms-to-individuals/145600 "2020-04-14T18:23:33Z")

</div>

我喜欢讨论中使用的基本工具也适用于私信。这对群发消息非常有帮助。但在我与新用户互动的过程中，我认为这种私信/私聊（Direct Message 或 Private Message）体验…

---

## [如何使用SSO强制更新头像？](https://meta.discourse.org/t/how-to-force-avatar-update-with-sso/147929)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**回覆:** 2\
**Last updated:** [2020年四月14日 18:03 UTC](https://meta.discourse.org/t/how-to-force-avatar-update-with-sso/147929 "2020-04-14T18:03:24Z")

</div>

{

---

## [从AWS迁移到Digitalocean时备份失败](https://meta.discourse.org/t/backup-failed-when-migrating-from-aws-to-digitalocean/147974)

<div class="topic-metadata">

**Author:** [@Pravi](https://meta.discourse.org/u/Pravi)\
**回覆:** 1\
**Last updated:** [2020年四月14日 17:48 UTC](https://meta.discourse.org/t/backup-failed-when-migrating-from-aws-to-digitalocean/147974 "2020-04-14T17:48:18Z")

</div>

从 AWS 迁移到 digitalocean 时备份失败。我尝试了命令行方法和图形界面，两种方法都失败了。 我不知道接下来该怎么做。 需要一些帮助。 ALTER TABLE ALTER TABLE ALTER TABLE 正在迁移……

---

## [在页脚中嵌入变量](https://meta.discourse.org/t/embed-variables-in-footer/147801)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**回覆:** 1\
**Last updated:** [2020年四月13日 21:22 UTC](https://meta.discourse.org/t/embed-variables-in-footer/147801 "2020-04-13T21:22:24Z")

</div>

您好，我想将 SSO 的 external\_id 嵌入到我通过“自定义 HTML/CSS"按钮粘贴到主题页脚的自定义 JavaScript 中……是否有办法从该模板中访问 external\_id？例如，类似这样的方式……

[上一頁](https://meta.discourse.org/latest.md?f=tracked&page=1240)

[下一頁](https://meta.discourse.org/latest.md?f=tracked&page=1242)
