• Welcome to Simple Machines Community Forum. Please login or sign up.
January 22, 2022, 12:12:03 PM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


Hide section

Started by sirfpsycho, July 27, 2020, 02:27:40 AM

Previous topic - Next topic

sirfpsycho

Hello, is there any method to hide section? For example, I want to hide adult section from normal user. If anyone enable 18+ option then he can see adult section. Other forum has this option. Hope smf has has also but I am not getting how to setup it. Please describe. Thank you

shadav

you could set up a member group and assign 18+ to it then set the board permissions to only allow that member group access

Kindred

There was a mod for 1.1.5 that restricted access by age....  but it was never updated for 2.0.x

You might find someone willing to look into modifying it
https://custom.simplemachines.org/mods/index.php?mod=1260
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

Quote from: shadav on July 27, 2020, 02:32:37 AM
you could set up a member group and assign 18+ to it then set the board permissions to only allow that member group access

This. Make the group joinable, job done.
No good deed goes unpunished
All helpful urges should be circumvented

sirfpsycho

thank you for all who suggest me. But group joining is little hard to find for new users. Is there any option so that I can place a link to join group? so that I can place that url in profile with the name of enable/disable 18+

Or if anyone click on that particular board then it says it is restricted. join group to see the content?

Advertisement: