View Full Version : Stupid Birthday error...
Chris M
05-24-2003, 11:34 AM
There is a birthday error at a forum I am a Tech Admin at, which has baffled me entirely...
One of the users, has a Birthday of 1st July 1960...
When I look in the Admin CP, or PhpMyAdmin, it says 7-1-1960 (american format m-d-y), which is correct...
However, when I view his profile, it says "31st December 1969"...
Do you know why this is doing this, or how I can correct it?:)
Satan
Dean C
05-24-2003, 11:43 AM
I think this was a bug fixed in later versions of vb. upgrade to the latest version :)
- miSt
Chris M
05-24-2003, 11:46 AM
Ok a bug fix;)
You wouldn't happen to know what the bug fix is, rather than having to re-install lots of hacks and templates that vB deletes?:)
Edit: Never mind, I think I found what to fix;):)
Satan
Boofo
05-24-2003, 12:23 PM
Today at 07:46 AM hellsatan said this in Post #3 (https://vborg.vbsupport.ru/showthread.php?postid=399329#post399329)
Ok a bug fix;)
You wouldn't happen to know what the bug fix is, rather than having to re-install lots of hacks and templates that vB deletes?:)
Edit: Never mind, I think I found what to fix;):)
Satan
It's in member.php and you might want to fix it in the register.php, too. :)
Chris M
05-24-2003, 04:23 PM
Thanks Boofo:)
Satan
cirisme
05-24-2003, 05:29 PM
What was the fix?
I know it's that epoch seconds are of range, but what do I change to fix it? :)
bgray
06-21-2003, 03:10 PM
i have this problem too. Could someone explain how to fix it?
insanctus
06-25-2003, 05:58 PM
I need the fix as well. I do not feel like going to 2.3 and readoing hours of hacking :)
Boofo
06-25-2003, 06:05 PM
Today at 01:58 PM insanctus said this in Post #8 (https://vborg.vbsupport.ru/showthread.php?postid=412695#post412695)
I need the fix as well. I do not feel like going to 2.3 and readoing hours of hacking :)
In member.php, change this:
$birthday = @date($calformat1,mktime(0,0,0,$bday[1],$bday[2],$bday[0]));
to this:
$birthday = @date($calformat2,mktime(0,0,0,$bday[1],$bday[2],1993)).', '.$bday[0];
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.