A great hack... but I'm still trying to integrate that one on my forum. Always gettin' an error in members.php (ParseError) and register.php (also ParseError).
I think the problem is, that your hack is searchin' for that:
Code:
*****find
if (($year>1880) and ($year<2000)) {
$birthday = $year . "-" . $month . "-" . $day;
} else {
$birthday = "2020" . "-" . $month . "-" . $day;
*****replace it with
if (($year>1880) and ($year<2000)) {
$birthday = $year . "-" . $month . "-" . $day;
..... etc.
but my register.php says that:
Code:
// Birthday Stuff...
..........
if (($year>1901) and ($year<date("Y")))
$birthday = $year . "-" . $month . "-" . $day;
else
$birthday = "0000" . "-" . $month . "-" . $day;
if ($showbirthdays) {
$todayneggmt = date("n-j",time()+(-12-$timeoffset)*3600);
$todayposgmt = date("n-j",time()+(12-$timeoffset)*3600);
if ($todayneggmt == "$month-$day" or $todayposgmt == "$month-$day")
getbirthdays();
...........
I think that won't match at all, therefore it does'nt work!
Could you help me out of this situation??
Regards
Chris.