Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: RicochetPeter - helmikuu 13, 2005, 05:00:29 AP

Otsikko: Calendar, 'next event'
Kirjoitti: RicochetPeter - helmikuu 13, 2005, 05:00:29 AP
Hi all,

The 'Upcoming Calendar' section on the main page shows several events. I believe the very next one is supposed to be in bold, but another one is. Any ideas?



Otsikko: Re: Calendar, 'next event'
Kirjoitti: Jerry - helmikuu 13, 2005, 05:19:53 AP
Bold events are events on that day I believe...
Otsikko: Re: Calendar, 'next event'
Kirjoitti: RicochetPeter - helmikuu 13, 2005, 06:00:11 AP
The bold event in the image is one month from now

Edit:



Now it looks like the events that are up next get sorted in at the end and the event on the same day of the next month gets bold.
Is it meant that way?
Otsikko: Re: Calendar, 'next event'
Kirjoitti: RicochetPeter - helmikuu 14, 2005, 02:40:37 IP
Uh, anyone?  :D
Otsikko: Re: Calendar, 'next event'
Kirjoitti: Oldiesmann - helmikuu 14, 2005, 03:10:45 IP
Just did a test to see what I could figure out.

1. Posted an event for March 14th of this year.
2. Set SMF to display stuff up to 40 days in advance.
Result: Event was displayed in bold on board index.

Next, I edited the event and changed it to March 15th.
Result: Event was not displayed in bold on the boardindex.

[Unknown] - any ideas?
Otsikko: Re: Calendar, 'next event'
Kirjoitti: RicochetPeter - helmikuu 14, 2005, 03:17:00 IP
Well, 40 days is a not-supported value atm, anyways, if you look at this thread (http://www.simplemachines.org/community/index.php?topic=24616.0).

Mine is set to 30. Maybe there's a problem with February having only 28 days or so?
Otsikko: Re: Calendar, 'next event'
Kirjoitti: Oldiesmann - helmikuu 14, 2005, 03:28:58 IP
Perhaps. Didn't realize that "40" wasn't a supported value, although I didn't have any problems during the brief time I had it set like that.
Otsikko: Re: Calendar, 'next event'
Kirjoitti: [Unknown] - helmikuu 15, 2005, 01:30:52 AP
You shouldn't, in 1.0, ever set that value above 28.

How is 40 upcoming, anyway?

-[Unknown]
Otsikko: Re: Calendar, 'next event'
Kirjoitti: RicochetPeter - helmikuu 15, 2005, 09:26:50 AP
Hmmm, strange results, nevertheless:

set to 28 days:



set to 27 days:

Otsikko: Re: Calendar, 'next event'
Kirjoitti: Kindred - helmikuu 15, 2005, 10:33:15 AP
I'm getting something wierd in the calendar as well...

I have an event scheduled for the 2nd weekend in April...   my calendar is set to display 28 days in advance...

The April event is showing up in the SSI fucntion (before the March event, I should mention) but not in the internal calendar function...


On top of it all... Valentine's day is STILL listed... even though it is definitely past. :(


Otsikko: Re: Calendar, 'next event'
Kirjoitti: [Unknown] - helmikuu 21, 2005, 02:54:05 AP
Again, 1.1 has fixed this.  You're getting these problems because February is so short.

-[Unknown]
Otsikko: Re: Calendar, 'next event'
Kirjoitti: RicochetPeter - helmikuu 21, 2005, 09:54:31 AP
kewl, thank you :)