Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: Speed King on December 02, 2021, 11:09:41 PM

Title: Calendar displays all members with Upcoming Birthday on 1 January 2022
Post by: Speed King on December 02, 2021, 11:09:41 PM
Hello,

I'm using SMF 2.1 RC4+ (commit ed0f841)
Today I have noticed that Calendar displays list of all users with Upcoming Birthday on 1 January 2022.
The list is displayed in Board index at "Upcoming Birthdays" section, and within Calendar (either on 'List' or 'Month' view)
But almost all users have no birthday added in their profiles.

https://bg-nacionalisti.org/BNF/index.php?action=calendar

The setting in Admin panel is Upcoming Bithdays to be displayed in advance of 31 days.
Title: Re: Calendar displays all members with Upcoming Birthday on 1 January 2022
Post by: Shades. on December 02, 2021, 11:16:04 PM
Confirmed! Just looked at my installation and it does the same.

Maybe there is a fix on github already? ???
Title: Re: Calendar displays all members with Upcoming Birthday on 1 January 2022
Post by: woolly bugger on December 26, 2021, 02:51:30 PM
it did this last year and or the year before...

Title: Re: Calendar displays all members with Upcoming Birthday on 1 January 2022
Post by: woolly bugger on December 26, 2021, 03:23:03 PM
If I correctly recall the upgrade populated empty birthdays with 1004-01-01 ....


Is there a way to disable birthday notifications? email?

Title: Re: Calendar displays all members with Upcoming Birthday on 1 January 2022
Post by: Illori on December 26, 2021, 03:29:31 PM
admin-> maintenance -> scheduled tasks send birthday emails, uncheck enabled and click on save changes button.
Title: Re: Calendar displays all members with Upcoming Birthday on 1 January 2022
Post by: shawnb61 on December 26, 2021, 03:52:39 PM
There is an open issue up on GH for this (and related symptoms...):
https://github.com/SimpleMachines/SMF2.1/issues/7140
Title: Re: Calendar displays all members with Upcoming Birthday on 1 January 2022
Post by: live627 on December 26, 2021, 10:45:07 PM
I have a small patch posted on github for yous to try

https://github.com/SimpleMachines/SMF2.1/issues/7140#issuecomment-994288992

modify ./Sources/Subs-Calendar.php
Title: Re: Calendar displays all members with Upcoming Birthday on 1 January 2022
Post by: Speed King on December 26, 2021, 11:02:36 PM
Quote from: live627 on December 26, 2021, 10:45:07 PMI have a small patch posted on github for yous to try

https://github.com/SimpleMachines/SMF2.1/issues/7140#issuecomment-994288992

modify ./Sources/Subs-Calendar.php

Thanks for the fix, problem solved  :)
Title: Re: Calendar displays all members with Upcoming Birthday on 1 January 2022
Post by: live627 on December 26, 2021, 11:10:15 PM
Awesome!