[EventCalendar] Sponsoring reoccurring events?

Matthew Middleton mailinglists at zzxc.net
Wed Dec 19 21:50:18 UTC 2007


I am actually about 60% finished with my recurring
event support for eventcalendar3.

My implementation currently allows repeating by
day-of-week and day-of-month.  You can select the
(1st, 2nd, 3rd, 4th, 5th)
(Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday)
of each month.  Multiple selections are allowed, so
you can do the 3rd and 4th Tuesdays and Wednesdays of
each month, skipping December 25.  You can also select
the 1st of each month.  Exceptions can be added by
entering in the date manually or selecting from a list
of upcoming dates.

My implementation currently works by selecting the nth
weekday that occurs in a month.  Thus, if a week
starts on a Wednesday, the first wednesday is the
first of the month.  This might not be preferable in
all cases, though.  If an event repeats the first
Monday and Tuesday of each month, and the month begins
on a Tuesday, then the event will occur on the 1st and
the 7th of the month.  In this case, you might want
the event to occur on the 7th and 8th of the month -
as they are the first consecutive Monday and Tuesday
of the month.  If anyone has suggestions/opinions on
this implementation, let me know.

After I finish my implementation and test it, I will
send the patch to this mailing list.  Adding recurring
event support has required me to make database table
changes, so for now I pushed the plugin version to
"3.2a1".  Alex - what version identification would you
prefer for such experimental patches?  

The patch for this feature will also include the
changes I made to add 'big calendar' support.  For
more info on those changes, see this post:
http://wpcal-archive.firetree.net/2007-November/002730.html
 (As previously reported, this patch breaks PHP4
support.  A fix will be in my next patch.)

-Matthew Middleton


--- Burton <letuslook at yahoo.com> wrote:

> Hi,
> 
> I'd really, really like event calendar to do
> reoccurring events.  Most of what I want to use it
> for
> is repeat events.  Anyone else interested in repeat
> events too?
> 
> I'd like to sponsor development of this feature.
> 
> Thanks.
> 
> Burton
> 
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe:
> http://penguin.firetree.net/eventcalendar
> 






More information about the EventCalendar mailing list