PDA

View Full Version : Making Users BIRTHDAY required?


ZiRu$
08-23-2002, 03:38 PM
How?

g-force2k2
08-24-2002, 01:21 AM
Zirus :: open register.php

find:

if ($username=="" or $email=="" or $emailconfirm=="" or $password=="" or $passwordconfirm=="") {
eval("standarderror(\"".gettemplate("error_fieldmissing")."\");");
exit;
}

replace with:

if ($username=="" or $email=="" or $emailconfirm=="" or $password=="" or $passwordconfirm=="" or $birthday=="") {
eval("standarderror(\"".gettemplate("error_fieldmissing")."\");");
exit;
}

btw it would be a good idea to edit the registercoppa and registeradult to put the birthday selection in to the section of required fields :)

regards

g-force2k2

ZiRu$
09-02-2002, 08:43 PM
why thank you.....will do now :)