Creating a mod, age restriction for a specific (sub)forum. Have a few questions for anyone who knows about all the vB plugin hooks available. From what I've gathered, I need to check age when entering the forum, and when viewing a thread or post that resides in said forum. I also need to remove results from search queries.
- I've got code working to check one's age from their birthday using forumdisplay_start.
- I'm fairly sure that using search_start I could filter the search results, but I am unsure on how to do this on the backend.
- I am completely clueless on checking age when viewing a topic/post. I am unsure on how to check if a thread/post if in said forum.
Hopefully that made sense. Thanks in advance for any help or ideas.