Simple Machines Community Forum

SMF Development => Bug Reports => Topic started by: Shades. on February 06, 2021, 06:50:54 PM

Title: 2.0.18 Birthdate issue
Post by: Shades. on February 06, 2021, 06:50:54 PM
Trying to change my birthdate in Forum Profile but no matter what I change it to it stays 0001-01-01 :(

Using SMF 2.0.18
Title: Re: 2.0.18 Birthdate issue
Post by: a10 on February 06, 2021, 07:34:19 PM
Bug dept  :) New entries not saved, reverts to whatever was there initially.
Title: Re: 2.0.18 Birthdate issue
Post by: shawnb61 on February 07, 2021, 01:50:14 AM
Yep.  Confirmed.
Title: Re: 2.0.18 Birthdate issue
Post by: Antechinus on February 07, 2021, 03:43:43 AM
2.0.19 next week? :D
Title: Re: 2.0.18 Birthdate issue
Post by: shawnb61 on February 07, 2021, 07:42:25 PM
Internal log #213
Title: Re: 2.0.18 Birthdate issue
Post by: shawnb61 on February 08, 2021, 04:31:38 PM
For those who are impacted by this, the attached patch should help.  It's what I'm using on my site.

This is not an SMF-supported patch.  I am just sharing the fix I am using.  If this is addressed in a future 2.0.x release, this will need to be uninstalled before applying the patch for that release.

Hope this helps,
Title: Re: 2.0.18 Birthdate issue
Post by: Antechinus on February 08, 2021, 04:36:21 PM
Just gave it a quick run on a 2.0.18 test site, and I'm getting three failed tests on Profile-Modify.php. The test site has a few mods on it, but nothing that touches that file AFAIK.

ETA: Oh bugger. That test site is still 2.0.17. Hang on while I update it. :P

ETA2: Ok, works now. :D
Title: Re: 2.0.18 Birthdate issue
Post by: Shades. on February 08, 2021, 05:42:40 PM
Thanks for the patch...worked great! :)
Title: Re: 2.0.18 Birthdate issue
Post by: ShA Oz on February 16, 2021, 08:13:08 PM
The patch working perfect, thank you and best regards from México
Title: Re: 2.0.18 Birthdate issue
Post by: GO LIVE on February 28, 2021, 05:18:14 PM
Much Thanks
Works now.
Title: Re: 2.0.18 Birthdate issue
Post by: iksvenezuela on March 03, 2021, 12:08:30 AM
Quote from: shawnb61 on February 08, 2021, 04:31:38 PM
For those who are impacted by this, the attached patch should help.  It's what I'm using on my site.

This is not an SMF-supported patch.  I am just sharing the fix I am using.  If this is addressed in a future 2.0.x release, this will need to be uninstalled before applying the patch for that release.

Hope this helps,

donde instalo esos archivos?
Title: Re: 2.0.18 Birthdate issue
Post by: Aleksi "Lex" Kilpinen on March 03, 2021, 12:10:53 AM
You can install it through the package manager like a mod
https://wiki.simplemachines.org/smf/SMF2.0:Package_manager
Title: Re: 2.0.18 Birthdate issue
Post by: Irisado on March 03, 2021, 12:35:22 PM
Quote from: iksvenezuela on March 03, 2021, 12:08:30 AM
Quote from: shawnb61 on February 08, 2021, 04:31:38 PM
For those who are impacted by this, the attached patch should help.  It's what I'm using on my site.

This is not an SMF-supported patch.  I am just sharing the fix I am using.  If this is addressed in a future 2.0.x release, this will need to be uninstalled before applying the patch for that release.

Hope this helps,

donde instalo esos archivos?

You already have a topic on this issue in the Spanish boards: https://www.simplemachines.org/community/index.php?topic=576976.0.  Please continue the discussion and there and please do not post in Spanish in the English boards.  Thank you.
Title: Re: 2.0.18 Birthdate issue
Post by: dominicm on March 23, 2021, 11:08:26 PM
I'm having the same issue. I put a birthday, save, but it reverts to what it was before. 2.0.17 was working though :(
Title: Re: 2.0.18 Birthdate issue
Post by: Diego Andrés on March 23, 2021, 11:16:27 PM
Quote from: dominicm on March 23, 2021, 11:08:26 PM
I'm having the same issue. I put a birthday, save, but it reverts to what it was before. 2.0.17 was working though :(

Did you try the attachment?
Title: Re: 2.0.18 Birthdate issue
Post by: Shades. on March 24, 2021, 12:52:57 AM
Quote from: dominicm on March 23, 2021, 11:08:26 PM
I'm having the same issue. I put a birthday, save, but it reverts to what it was before. 2.0.17 was working though :(
https://www.simplemachines.org/community/index.php?topic=576665.msg4081406#msg4081406
Title: Re: 2.0.18 Birthdate issue
Post by: LiBen on March 27, 2021, 07:38:37 PM
thanks shawnb61
Title: Re: 2.0.18 Birthdate issue
Post by: Jelle Mees on May 02, 2021, 02:07:17 AM
Why no official fix after so many months? :(
Title: Re: 2.0.18 Birthdate issue
Post by: Diego Andrés on May 02, 2021, 03:35:56 AM
Quote from: Jelle Mees on May 02, 2021, 02:07:17 AM
Why no official fix after so many months? :(

It is attached in this post
https://www.simplemachines.org/community/index.php?topic=576665.msg4081406#msg4081406

It's a temporary fix, might be addressed in the future included in an official patch.
Title: Re: 2.0.18 Birthdate issue
Post by: Steve on May 02, 2021, 07:46:02 AM
Quote from: Jelle Mees on May 02, 2021, 02:07:17 AMWhy no official fix after so many months? :(

After being a member here for 13 years you should know that official patches aren't released for one issue unless it's a major security one, which this clearly is not. ;)
Title: Re: 2.0.18 Birthdate issue
Post by: m4z on May 03, 2021, 07:59:37 AM
A release is a lot of work, so it won't be done for a single non-critical issue.

Plus, the current development focus is on v2.1
Title: Re: 2.0.18 Birthdate issue
Post by: NightWolve on August 05, 2021, 04:44:41 PM
Quote from: shawnb61 on February 08, 2021, 04:31:38 PM
For those who are impacted by this, the attached patch should help.  It's what I'm using on my site.

This is not an SMF-supported patch.  I am just sharing the fix I am using.  If this is addressed in a future 2.0.x release, this will need to be uninstalled before applying the patch for that release.

Hope this helps,

Thanks!
Title: Re: 2.0.18 Birthdate issue
Post by: wakewatcher on September 15, 2021, 06:05:42 PM
Quote from: shawnb61 on February 08, 2021, 04:31:38 PMFor those who are impacted by this, the attached patch should help.  It's what I'm using on my site.

This is not an SMF-supported patch.  I am just sharing the fix I am using.  If this is addressed in a future 2.0.x release, this will need to be uninstalled before applying the patch for that release.

Hope this helps,

Maybe this is obvious but how does one actually run these scripts?  I only know enough to be dangerous. Actually the average age of my members is 70+ so nobody probably is going to put in their birthdates anyway.  I was poking around the code to see if I could somehow just comment out the rendering of the "BirthDate:" But it was all above my paygrade
Title: Re: 2.0.18 Birthdate issue
Post by: Shades. on September 15, 2021, 06:18:27 PM
In Admin>Package Manager>Download Packages

Scroll down to "Upload a Package" and upload the package then click "Install" all done! ;)
Title: Re: 2.0.18 Birthdate issue
Post by: wimc on September 21, 2021, 06:06:04 PM
Easily done and works.

Thanks to GL700Wing (https://www.simplemachines.org/community/index.php?topic=579055.msg4098610#msg4098610) for pointing out this topic with the fix.