![]() |
Checkbox in options
to see and use a hidden forum ...
I would like to have a mod or howto. What I want : I would like to have a forum that is hidden by standard (I was thinking on having NSFW material in it) and if users wants to see it and post in it they have to check a checkbox in User options to be able to. This only to keep the forum decently clean for the ppl that surf from work and stuff. I know I can make it by having public usergroup and such but thought that a checkbox option for my members would be easier and "cleaner" .... Anyone ??? |
You can create a Multiple Selection checkbox profile field, and only allow 1 option :)
Then you can create a plugin to say something like: PHP Code:
HTML Code:
<if condition="$forum[forumid] == Y"><if condition="$show[yourhiddenforum]">template content here<else /> </if><else />template content here again</if> Chris |
All times are GMT. The time now is 10:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|