View Full Version : Age verification
gldtn
04-02-2004, 04:09 AM
Hello everyone,
Under "admincp > vBulletin Options > User Registration Options > Use COPPA Registration System" you can choose to deny registration for users under the age of 13.. so I was wondering if there is a way to bring the age up to 18 somehow.
thanks for the attention!
Scrub
04-02-2004, 05:20 PM
A quick edit is all that is needed.
In register.php find:
if ($year < ($current['year'] - 13) OR ($year == ($current['year'] - 13) AND $month <= $current['month']))
And replace that with:
if ($year < ($current['year'] - 18) OR ($year == ($current['year'] - 18) AND $month <= $current['month']))
And enable the option to deny registration to anyone under 13. It'll work still. Tested it and everything. So hopefully it work for you. :eek:
Boofo
04-02-2004, 05:22 PM
Wouldn't there be a way to also change that option to read 18, too?
Scrub
04-02-2004, 05:23 PM
Erm, would have to look into that. :p
Boofo
04-02-2004, 05:25 PM
How about phrases? ;)
Scrub
04-02-2004, 05:30 PM
Search for the phrase deny_under_13_registration in Control Panel Options and change the text to: Deny registration for users aged under 18 years.
Boofo
04-02-2004, 05:32 PM
There you go. Now you have a hack you can release. ;)
Scrub
04-02-2004, 05:33 PM
Naaa. I'll let someone else have the privliage. ;). I'm just happy that I was finally able to help someone. :D
gldtn
04-02-2004, 06:23 PM
Easiest hack I had to install :P Thanks a lot for the help guys..
Appreciated
Champster
09-23-2006, 04:15 PM
I have a remedial question about this but should I make the changes via the server through my cPanelX?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.