Age prompt for NSFW catagories

I saw a post about this way back in 2014,

https://meta.discourse.org/t/adult-only-categories/22685

but since it wasnt in a category, and i was interested in it becoming a thing,i decided it would be better to put in a request here as opposed to bumping an old topic.

As stated in the topic above, would it be possible for someone to create a plugin that can:

  • Make category and thread titles that are visible to all users (including logged out users, Google, etc.)

  •  Make it so when attempting to view the thread posts, users are be required to 
    

sign in and check a box that confirms that they’re over a certain age
(e.g. 18 years)

  • Allow logged in users who have opted-in to adult-only conversation can view and participate in the category normally, without having to verify their age again.

Currently I am using a group/permission system to deal with this problem, however it generally makes that category and conversation grow slowly because even with a pinned topic in the meta category, most people dont notice its existence.

I understand that the Discourse team is unlikely to want to take the time to implement this, so this topic is largely for charitable plugin designers.

Thanks in advance!

6 个赞

Yeah, that’d definitely be lovely!

我需要那个功能,因为有关年龄验证的法律即将出台

您可以使用 Policy 插件来实现此目的。

  • 使用“over18”群组保护分类。

  • 使用 policy 插件让用户通过参数 add-users-to-group="over18" 确认他们已年满 18 岁。

任何确认年满 18 岁的人都将被添加到群组中,并能够访问该分类。

要使群组外的人能够看到主题标题,您可以使用 category-lockdown 插件。

5 个赞

暂时够了,再次感谢

1 个赞