允许在注册对话框中禁用“姓名"字段

Continuing the discussion from Can't remove Real Name if Admin disables them:

(Apologies if this belongs in UX)

Feature request: Allow the Name field to be disabled on the signup dialog as a settings option.

As per the linked thread, this is to allow more anonymous use, for example when full names are already being hidden throughout the forum.

An alternative way may be, when the "enable names” setting is turned off, do not show the Name field in the signup dialog. (this avoids adding an extra setting).

Hopefully that makes sense…

This is kind of the opposite to Making the name field required or removing it?

Can’t you simply hide it with a CSS override? It is already optional.

2 个赞

Yes, I believe it could be solved in this way. The reason I suggest a change in behaviour is that it feels wrong that when you disable all uses of the full name it is still gathered. Hence I’m not sure if this is actually a UX thing.

Good point, which exact site settings should this be keyed off of?

I would suggest the “enable names” setting in the “Users” panel (at least in 1.2 it is).

在我们的实例中,我们可能不允许收集用户的电子邮件和姓名,因为这两者的组合被视为敏感个人身份信息(PII)。是否有一种方法可以完全禁用注册时的姓名字段(甚至不将其显示为可选字段)?

电子邮件 – 最近有关于此话题的讨论,结论是电子邮件验证是 Discourse 的必要组成部分。我想你可以鼓励用户使用一次性电子邮件地址,例如来自 Guerrilla Mail 的地址。

真实姓名 – 如果网站没有相关选项(我不确定,因为我使用的是真实姓名),你可以在主题组件中使用 CSS 来隐藏注册表单中的该部分。

1 个赞

显然,电子邮件是我们不可或缺的。如果我们能完全隐藏姓名字段,让用户无需填写,那就足够了。

我不熟悉编辑 Discourse 的 CSS 流程。哪里可以找到相关的 Discourse 文档供我参考?

查看 Making custom CSS changes on your site

1 个赞

这对我的注册表单隐藏了名称:

.create-account-form .input-group:nth-of-type(3) {display: none;}

已在 FEATURE: Add option to hide full name input at signup by OsamaSayegh · Pull Request #30471 · discourse/discourse · GitHub 中添加了在注册时隐藏姓名字段的选项。
您可以在 Full name requirement 站点设置中选择“Optional, hidden at signup”(可选,注册时隐藏)。

5 个赞

一个帖子被拆分到新主题中:你可以在注册表单中合并电子邮件和用户名输入吗?