Helpful Information
 
 
Category: vB5 Programming Discussions
Looking for adult forum minimum age restriction script

Anyone know a script out there forum minimum age restriction when someone trys to register they click on 18 plus i am using 4.2 thanks

if ($vbulletin->GPC['year'] < 1970 OR (mktime(0, 0, 0, $vbulletin->GPC['month'], $vbulletin->GPC['day'], $vbulletin->GPC['year']) <= mktime(0, 0, 0, $current['month'], $current['day'], $current['year'] - 13)))

Find this in register.php and change the 13 to what you wish the age to be.
This will change the COPA age requirement, you will need to enable that in registration options.










privacy (GDPR)