![]() |
Age based premissions for registering and viewing forums
This is based on this 3.5 plug-in. Although it uses the same hook locations and similar phrases, I ended up recoding it so none of the original code is used. To install simply download and install the XML file via the Plugin & Product manager. You can then alter the registration requirements via the vBulletin Settings option and the minimum age to view a specific forum by editing it using the forum manager - again it should appear near the bottom.
New features:
Original features:
Disclaimer: Because users can lie about their age, this many not fulfil the legal requirements for adult content. I accept no responsibility for how this is used. You're free to do what you like with this code, although credit is appreciated, it's not required. Brought to you by eXaltic - vBulletin skins. |
seems to work fine
this stops the members who register without a birthday, lol instructions plugin and product upload as a product to find, go to vbulletin options / user registration options, and it is at the bottom http://www.ickie.net/ma.jpg |
Nice idea! Thanks. :)
|
here is how it looks when they click to register
http://www.ickie.net/reg.jpg this is what they see if they are too young http://www.ickie.net/reg1.jpg |
i'm very interested in this hack, BUT i need this hack only if i can set a min. age to view a SPECIFIC forum no only for the registrations ... can you improve it?
|
Set the registration age to 0 to disable it. This plug-in does allow you to set the age for a specific forum. Simply edit the forum and at the bottom you should see the option.
Thanks ickie, I'll add some instructions. |
Quote:
great hack! |
Good job on this hack!
|
Good hack and installed but notice on a test run guest won't be able to view content of post like using the default rule and until they register .It will be nice to add a disclaimer then they'll be allow to view.
-pb |
Good idea puertoblack2003, I'll expand it so they are shown the age form and a cookie is set with their age. However I want to make sure there are no problems with this one so I probably won't implement it until Friday.
|
This is also usable/editable for each forum
admin cp forums and moderators / forum manager at the bottom of each forum you will see http://www.ickie.net/ma2.jpg |
the only problem i found so far is that when u have birthdays enabled it doesnt inherit the input that u have added in the previous option and the user can is asked to reenter birthday and even that i select a birthday of less than 18 years old it got accepted. so its bugged
|
Good point, I'll fix that.
|
I tried this on our forums. We have forums for 18+ and it works great... but only if the user has a year entered in their birthday. If there is no year it still lets them view the content.
|
maybe you can set that the age is required :)
|
Don't worry, I have it fixed on localhost, I just need to add the guest cookie idea before releasing an update.
|
I've uploaded the XML via the Product & Plugin menu, do I also have to upload it to my includes/xml folder?
If not, where are the config options for it in AdminCP? |
Great job on this, as I have a multi aged City forums that now they are requesting an online dating/personal service and this will come in handy! Thanks for the hack!
|
Quote:
Quote:
|
Quote:
|
Thanks very useful
|
I have the problem after the check. the new User must be give the bithday in the second time. Have you an modus to imported the first birthday in the second field?
|
How does this affect crawling from the search engines? Does the age restricted forums get indexed as well?
|
like it. thanks.
|
very usefull hack and many thanks its working great as users log on if they are u18 or what ever age one has set up they can no not view adult contents under that age Admin has set up like it so much this hack many many thanks
|
Presently the forums are hidden from the members below x years of age.
Can you please modify so that the forums can be shown to the members but they should get the "underage message" when they click on the link. |
Quote:
|
Switched from AgeLock to this mod because your mod hides the forums from people who can't access them, which, IMHO, is a very good thing.
I do think, however, you should: 1) Have an option to filter the other way, and only let people with a *maximum* age into a certain forum. 2) Have an option to choose whether forums which one cannot access due to age are hidden or displayed but generate an error on click. |
Exactly what I need! Thanx!
|
Great, simple, effective mod. Installed!
|
I like it, but there seems to be a loophole.
If you simply remove your birth year it will allow you access to the forum you've set the age limit on. |
I have a question, when a user signs up they must input their age. That is the first thing they have to do. Can the hack not be based on the age they enter there, because that way they won't lie because they won't know that they have to be a certain age to view a certain forum (unless its not hidden and they have tried to enter).
It's a pain having to get them to put in their birthday in their fields and even then they arn't usually telling the truth. Let me know please :) |
This is not that great of a hack. After they see the minimum age they need to be, they can easily go back and make their age older and register again in 10 seconds and become a member of the community.
Sincerely, Bruce Lee JR.. |
Is there a way to lock out the birthday after they have registered? So that they cant change it?
|
Quote:
|
I have been looking for this and it works great for vB 3.6.8. Guests and anyone under 18 can not even see if an adult section is around, while older than 18s and registered can.
|
Thanks for posting this. It helped me a lot. :up:
|
I installed it today and I checked it.
It's working ok, but the question of age appears again on the main registration fields area!! This is a problem! How can it be fixed??? |
thats just awosome
exactly i was looking for thanks |
works on 3.7.0 :)
|
All times are GMT. The time now is 05:49 PM. |
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:
|