Age prompt for NSFW catagories

AI-generated summary

LastDance requests a plugin to handle age verification for NSFW categories, making titles visible to all but requiring age confirmation to view posts. nekodroid and eisammy express interest in this feature due to upcoming age verification laws. RGJ suggests using the Policy plugin to protect categories with an ‘over18’ group and the category-lockdown plugin to make topic titles visible to everyone. eisammy acknowledges the solution as sufficient for now.

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

うん、それは間違いなく素敵だね!

その機能が必要です。年齢確認に関する法規制が施行されるためです。

これには Policy プラグインを使用できます。

  • カテゴリをグループ「over18」で保護します。

  • ポリシープラグインを使用して、パラメータ add-users-to-group="over18" でユーザーに18歳以上であることを確認させます。

18歳以上であることを確認したユーザーはグループに追加され、カテゴリにアクセスできるようになります。

トピックのタイトルをグループ外の人々にも表示するには、category-lockdown プラグインを使用できます。

「いいね!」 5

今のところ十分です。ありがとうございました。

「いいね!」 1