Announcement

Collapse
No announcement yet.

2.2.9 Birthdate 1969?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 2.2.9 Birthdate 1969?

    I just installed 2.2.9 and have it up and running here:

    http://www.the-gadgeteer.com/vbbs

    I've noticed that when I put in my birthdate, it is showing up in the Profile as December 31, 1969 instead of the correct date. However, If I leave off the year, it will display the correct month and date.

    Any idea of why this is happening, and any way to fix it?

    Thanks!
    Julie
    http://www.the-gadgeteer.com

  • #2
    Here's the post with the fix:

    http://www.vbulletin.com/forum/showt...737#post303737

    To fix this you need to find this line in member.php:

    $birthday = @date($calformat1,mktime(0,0,0,$bday[1],$bday[2],$bday[0]));

    And replace it with:

    $birthday = @date($calformat2,mktime(0,0,0,$bday[1],$bday[2],1993)) . ", $bday[0]";
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Thank you! It worked like a charm!
      Julie


      Originally posted by Steve Machol
      Here's the post with the fix:

      http://www.vbulletin.com/forum/showt...737#post303737

      To fix this you need to find this line in member.php:

      $birthday = @date($calformat1,mktime(0,0,0,$bday[1],$bday[2],$bday[0]));

      And replace it with:

      $birthday = @date($calformat2,mktime(0,0,0,$bday[1],$bday[2],1993)) . ", $bday[0]";

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X