View Full Version : [fixed] B-Day year bug...
Joshs
Mon 14th May '01, 11:35pm
When no year is selected, it defaults to 0000
Freddie Bingham
Mon 14th May '01, 11:52pm
Where are you seeing 0000 displayed.
Joshs
Mon 14th May '01, 11:56pm
http://forums.hytekcomputer.com/member.php?s=&action=getinfo&find=lastposter&forumid=4
I only have the day and year selected...
Freddie Bingham
Tue 15th May '01, 12:50am
Turn on permissions for guests to view profiles please.
Joshs
Tue 15th May '01, 1:01am
User: HyTECH_User
Password: Password
Freddie Bingham
Tue 15th May '01, 2:49am
Ok please post your PHP version and Mysql version.
Joshs
Tue 15th May '01, 8:05am
MySQL- 3.23.31
PHP- 4.0.4pl1
Are those up to date? Should I upgrade anything?
Freddie Bingham
Tue 15th May '01, 2:22pm
Can you look at yuor date/time options in the CP entitle Birthday Format and Birthday Format #2 and tell me what values you have.
Joshs
Tue 15th May '01, 3:02pm
Format of dates: m-d-y
Birthday format: F j, Y
Birthday format 2: F j
Let me know if you need Admin access or phpmyadmin access.
John
Tue 15th May '01, 4:42pm
Fixed.
Change member.php line 1186 from:
$birthday = @date($calformat2,mktime(0,0,0,$bday[1],$bday[2],1963));
to:
$birthday = @date($calformat2,mktime(0,0,0,$bday[1],$bday[2],1993));
John
Fred
Wed 23rd May '01, 7:37pm
I don't have this problem with my forums, when people dont post their year, it just lists their birthday on the calender, but not howw old they are. So its fine for me.
Joshs
Wed 23rd May '01, 7:44pm
It was fixed, Please lock this thread! Thanks
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights