for some reason the problem is back....or was it a different one...in any case I decided to hide the problem in the userprofiles by doing the following:
Open member.php and replace:
=======================
if($memprofile['birthday'])
{
$membday = explode("-", $memprofile['birthday']);
if($membday[2])
{
$bdayformat = fixmktime($settings['dateformat'], $membday[2]);
$membday = mktime(0, 0, 0, $membday[1], $membday[0], $membday[2]);
$membdayage = "(" . floor((time() - $membday) / 31557600) . " years old)";
$membday = gmdate($bdayformat, $membday);
}
else
{
$membday = mktime(0, 0, 0, $membday[1], $membday[0], 0);
$membday = gmdate("F j", $membday);
$membdayage = "";
}
}
else
{
$membday = "Not Specified";
$membdayage = "";
}
with this:
if($memprofile['birthday'])
{
$membday = $memprofile['birthday'];
}
else
{
$membday = "Not Specified";
}
//if($memprofile['birthday'])
// {
// $membday = explode("-", $memprofile['birthday']);
// if($membday[2])
// {
// $bdayformat = fixmktime($settings['dateformat'], $membday[2]);
// $membday = mktime(0, 0, 0, $membday[1], $membday[0], $membday[2]);
// $membdayage = "(" . floor((time() - $membday) / 31557600) . " years old)";
// $membday = gmdate($bdayformat, $membday);
// }
// else
// {
// $membday = mktime(0, 0, 0, $membday[1], $membday[0], 0);
// $membday = gmdate("F j", $membday);
// $membdayage = "";
// }
// }
// else
// {
// $membday = "Not Specified";
// $membdayage = "";
// }
notice I left the old code there....in my opinion it's better than just replacing the old code...allows you to go back at some point if necessary...
What this basically does is just show the birthdate on the userprofile as it is stored in the database ....in my case it is dd-mm-yyyy (but I don't know if this is universal), and drops the whole age-calculation....I know it's not as nice...but I thought I'd rather give a little bit of accurate information than a lot of misleading info.....
For me this is just a stop-gap-measure....I believe it's fixed in Gold anyway. Just thought if anyone else wants to take the easy way out then the code is above...
cheers,
Kimmo