Force valid Registration year
This modification is in the archives.
This modification forces new users to enter a valid calendar date before they are allowed to continue registration on your forum. Users are prevented from registering if older than 110 years.
In register.php find: PHP Code:
if ($year < ($current['year'] - 13) OR ($year == ($current['year'] - 13) AND $month <= $current['month']))
PHP Code:
if ($year < $current['year']-110)
Type: Front-End Error Message VarName: too_old Text: Sorry, but you must be living to join the site. change the 110 above to however many years back you want it to limit membership. -=My First Mod=- Download No files for download. Screenshots
|