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 Likes

Yeah, that’d definitely be lovely!

I needs that function cause these laws about age verify are coming

You can use the Policy plugin for this.

  • Protect the category with group “over18”

  • Use the policy plugin to have users confirm they are over 18 with parameter add-users-to-group="over18"

Anyone who confirms they are over 18 will be added to the group and will be able to access the category.

For making the topic titles visible to people outside the group, you could use the category-lockdown plugin.

5 Likes

It’s enough for now thanks again

1 Like