Back to vBulletin 3.0 Add-Ons

Force valid Registration year
Mod Version: 1.00, by Protoman

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 4
Released: 12 Mar 2005 Last Update: Never Downloads: 0
Not Supported  

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'])) 
Above it put:
PHP Code:
if ($year $current['year']-110)
    {
            eval(
print_standard_error('error_too_old'));
    } 
add a new phrase in AdminCP..

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

   


vblts.ru supports vBulletin®, 2022-2024