Ground Rules:1. First and foremost, a user must be able to edit recurring events separately after they have been added to the calendar.
2. Second, consider the scenario that an event is added that happens every Monday for the next 10 years. You make a small mistake in the spelling, but now you have to go back and edit all 520(!) events. To get around this problem, a checkbox will need to be added that allows you to selectively edit all the events or just the current one.
3. Take it one more level. You have edited a handful of individual events. Now you want to make a change to all the events again. Does editing all the events trash the changes you've made? Resurrect the deleted occurrences? If you are only editing the event details (title, description etc.) the solution is that once you edit an event singly, it becomes disconnected from the rest of the events and becomes completely self-sufficient. Then edit all the events will only edit the events that have not been singly edited.However, if you edit the schedule of an event, it reschedules a new event series. If you singly edited any of the occurrences, you may want to go back to that week and delete the new event or the old one. I have no way to determine that from the program, so I'll let you decide.
4. Once you've edited an event, you MUST remove it individually. This is the drawback of using this strategy. You either have the ability to change all the events at any time, overwriting changed events when you do, or you lose the ability to change all the events when you gain the ability to have single events keep their changes.
These are some of the issues that probably came up when Matt first tried to decide how to handle recurring events. If you can think of a better interface to this plugin, let me know. Otherwise, I proceed as stated.
4. I'll live with the requirement to delete events that I have changed individually at this point.
The biggest time saver that I need is to be able to put in event in once as a recurring, and then be able to edit or delete a single occurance (usually because some one cancels that particular date, or a location changes etc. I can live within the parameters described above.
Thanks for taking this on.
Paul G.
------------------
My Split Recurring Event plug-in converts recurring events, events with multiple dates and events with a 'date range' to individual events so each is separately editable. It also has configuration variables to allow you to set how many days, months and years from present an un-bounded recurring event will be scheduled for.
I didn't do anything about editing them afterward but I programmed this plug-in so that the possibility does exist for future plug-ins to utilize.
Unfortunately, due to the lackluster response I've received in the way of donations for my previously released plug-ins and the work I've put into maintaining the Unofficial CalendarScript - Mods and Plugins site, if you want this plug-in there'll be an upfront fee. You will find a link to PayPal with the plug-in details at the site above.
Dan O.
[This message has been edited by DanO (edited June 17, 2003).]
Thank you,Kathy Maney
Thank you!Kathy Maney
Sending the files in done manually by myself once I receive confirmation of payment. I may automate the process in future but it is not yet.
I am online almost every day except Mondays and Thursdays to receive notification of payment and to send the files. There may be sone delay depending on time of day the request is made.
** The script came about an hour later by email. **
Glad to hear it.
[This message has been edited by DanO (edited July 22, 2003).]
It will be made available to those whom have contributed to the initial release (I'll be emailing everyone when its fully ready) and it will be packaged with the other files for new users in about a week or so.
JFYI
If anyone has any problem or questions about the new files, just post here and I'll do my best to answer them.
[This message has been edited by DanO (edited November 07, 2003).]
Error requiring custom function file '/home/int2000/11283/cgi-bin/calendarscript/plugins/splitter/before_edit_event.pl'. The error is: [Can't locate /home/int2000/11283/cgi-bin/calendarscript/plugins/splitter/before_edit_event.pl in @INC (@INC contains: /home/int2000/11283/cgi-bin/calendarscript/plugins /home/int2000/11283/cgi-bin/calendarscript/lib /usr/local/lib/perl5/site_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0 .) at (eval 1) line 1. ]Event successfully modified
** deleted the file you emailed about **
AND disabled then re-enabled that plug-in?
Until you do that, CalendarScript still has a record of that file which now it can't find (which, if you notice, isn't the same error message which you originally emailed me about).
[This message has been edited by DanO (edited January 13, 2004).]
You mean edit a schedule of a recurring event which has been converted?