Yes/No Radio Button to Hide NSFW Boards?

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
User avatar
shreddedbullet
Registered User
Posts: 5
Joined: Thu Jan 25, 2018 4:58 am
Name: Stephen
Contact:

Yes/No Radio Button to Hide NSFW Boards?

Post by shreddedbullet »

Hey everyone, so I'm trying to implement a Yes/No Radio Button that can hide NSFW forums. How can I do this? I know how to make the custom profile button but can't get it to do anything. What do I do? Do I need an extension?
User avatar
JoshyPHP
Code Contributor
Posts: 1157
Joined: Mon Jul 11, 2011 12:28 am

Re: Yes/No Radio Button to Hide NSFW Boards?

Post by JoshyPHP »

You could create a special open group that's allowed to view the NSFW forums and let users join or leave the group.
I wrote the thing that does BBCodes in 3.2+.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22743
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: Yes/No Radio Button to Hide NSFW Boards?

Post by Mick »

shreddedbullet wrote:
Thu Jan 25, 2018 5:03 am
Do I need an extension?
You could ask in extension requests.
"The more connected we get the more alone we become" - Kyle Broflovski©
User avatar
shreddedbullet
Registered User
Posts: 5
Joined: Thu Jan 25, 2018 4:58 am
Name: Stephen
Contact:

Re: Yes/No Radio Button to Hide NSFW Boards?

Post by shreddedbullet »

JoshyPHP wrote:
Thu Jan 25, 2018 5:58 am
You could create a special open group that's allowed to view the NSFW forums and let users join or leave the group.
The problem with that is that the user will have to actually go into their UCP, groups, and enable the group. I can see many people not doing/knowing how/where to go, so those boards wouldn't be used really. It'd be much easier if it was an option when customizing their profile/registering for the site.
User avatar
JoshyPHP
Code Contributor
Posts: 1157
Joined: Mon Jul 11, 2011 12:28 am

Re: Yes/No Radio Button to Hide NSFW Boards?

Post by JoshyPHP »

Sure, in which case you do need an extension.
I wrote the thing that does BBCodes in 3.2+.
User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34457
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run
Contact:

Re: Yes/No Radio Button to Hide NSFW Boards?

Post by A_Jelly_Doughnut »

Another idea:

You can allow the Registered Users group the "Can List Forum" permission on the NSFW forum, but no other permissions, with instructions on how to join in written in the description.
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish
User avatar
Lumpy Burgertushie
Registered User
Posts: 68113
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Yes/No Radio Button to Hide NSFW Boards?

Post by Lumpy Burgertushie »

or, if your board is something that workers need to be able to use then just do not allow NSFW posts on that board.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
Post Reply

Return to “[3.2.x] Support Forum”