vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=136097

Age based premissions for registering and viewing forums
by Xoligy
10 Jan 2007 13:57

1 Attachment(s)
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:
  • Updated for vBulletin 3.6.4 (should work on 3.6.x)
  • More accurate (the previous only checked month and year).

Original features:
  • Specify minimum age required to register.
  • Limit access to forums based on age.

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.

ickie 10 Jan 2007 14:46

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

projectego 10 Jan 2007 14:49

Nice idea! Thanks. :)

ickie 10 Jan 2007 15:03

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

KURTZ 10 Jan 2007 15:04

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?

Xoligy 10 Jan 2007 15:21

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.

KURTZ 10 Jan 2007 15:34

Quote:

Originally Posted by Xoligy (Post 1155511)
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.

sorry you're right!!! :)

great hack!

Stunner 10 Jan 2007 16:49

Good job on this hack!

puertoblack2003 10 Jan 2007 18:23

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

Xoligy 10 Jan 2007 19:59

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.

ickie 10 Jan 2007 20:16

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

Konstantinos 11 Jan 2007 11:07

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

Xoligy 11 Jan 2007 17:03

Good point, I'll fix that.

girlz_starlight 11 Jan 2007 21:14

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.

KURTZ 12 Jan 2007 00:04

maybe you can set that the age is required :)


All times are GMT. The time now is 12:54.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.