Welcome to Geeklog, Anonymous Thursday, November 21 2024 @ 07:30 am EST
Geeklog Forums
Calendar Enhancement - Input Needed - Recurring Events
Page navigation
Tex
1. Event Subscriptions (RSVP and Reminders)
2. Event Category Groups
3. Recurring Events
I am posting the proposals in separate posts here for your comment. If you see anything that should be added, changed, or deleted, please let me know. Once we get the proposal set, I will set up the bounty.
Proposal to enhance Calendar Plugin - Part 3
Recurring Events
Bounty Amount = ($ please help specify)
On the Add Event screen (user or Admin), users should be able to specify whether an event is recurring. There should be a “Recurring†pulldown with the following options: “Not Recurringâ€, “Annuallyâ€, “Monthlyâ€, “Weeklyâ€, “Dailyâ€, “Business Daysâ€, “Weekendsâ€, “Selected Daysâ€, “Date Spanâ€, “Advancedâ€.
Not Recurring – Event is displayed as usual, for the date and time specified.
-------------
Annually – If the this option is selected, the recurring section should change to permit the following options:
Repeat every ___ year(s).
-------------
Monthly-- If the this option is selected, the recurring section should change to permit the following options:
Repeat every ___ month(s).
-------------
Weekly -- If the this option is selected, the recurring screen should change to permit the following options:
Repeat every ___ week(s).
-------------
Daily -- If the this option is selected, the recurring screen should change to permit the following options:
Repeat every ___ day(s).
-------------
Business Days – If this option is selected, the recurring screen should show that the event will recur on all business days (Monday thru Friday).
-------------
Weekends – If this option is selected, the recurring screen should show that the event will recur on all Weekend days (Saturday and Sunday).
-------------
Selected Days – If this option is selected the recurring screen should change to permit the following:
Set the days on which your event will occur...
[] Sunday
[] Monday
[] Tuesday
[] Wednesday
[] Thursday
[] Friday
[] Saturday
--------------------------------------------------------------------------------
Date Span – This option simply works as the calendar now works. Events are specified to occur between start and end dates (and/or start and end times).
--------------------------------------------------------------------------------
Advanced – This will cause the recurring section to change to something like the following:
Choose when you want your event to occur...
[] 1st
[] 2nd
[] 3rd
[] 4th
[] 5th
[] Sunday
[] Monday
[] Tuesday
[] Wednesday
[] Thursday
[] Friday
[] Saturday
[] January
[] February
[] March
[] April
[] May
[] June
[] July
[] August
[] September
[] October
[] November
[] December
Check/Clear All Months
Do the above every ___ year(s)
-----------------------------------------------
All recurring events should have a start and end date associated with them, unless an event is checked as recurring indefinitely. We need a “Recurring indefinitely†checkbox.
All recurring events should have the ability to specify several exclusion dates.
If an event is checked as an “All Day†event, event times need not be entered. Else, start and end times must be entered, unless the event is flagged to infinitely recur. In that case, end times should not be specified.
jmucchiello
I also think that recurring indefinitely is a tall order since the easiest way to do recurring event is to create a database record for each "instance" of the event.
Dirk
I also think that recurring indefinitely is a tall order since the easiest way to do recurring event is to create a database record for each "instance" of the event.
That would be the easy way out. It would also cause a real pain when you want to change such a repeated event (say you made a typo in the event description).
The proper way to implement recurring events is to implement them as a separate type. Of course, then you have to deal with exceptions (it's always on the second Tuesday of a month, unless in July, where it's on the third Wednesday).
Implementing recurring events properly isn't easy. Been there, done that (for a commercial application, years ago). Which is why I don't really want to do it again ...
Sorry, didn't want to discourage anyone. Just my :twocents:
bye, Dirk
I am not sure how on one screen you might setup an event for M,W,F one week, and T, TH the next for 3 months in the best way. Any ideas?
As for infinite repeat, we can nix it. The date range can suffice.
: : Also, could anyone speculate about what would be a good bounty to put on this? I see this is going to be tough. So what sort of bounty would entice someone to do this?
: Might it be better to find another Open Source calendar that does this correctly that we could integrate as a plugin? Anyone know of such a calendar?
jmucchiello
I also think that recurring indefinitely is a tall order since the easiest way to do recurring event is to create a database record for each "instance" of the event.
That would be the easy way out. It would also cause a real pain when you want to change such a repeated event (say you made a typo in the event description).
Dirk, you use two tables to do what I'm talking about. Table 1 is all of the event information. Table 2 is just an eid, a timestamp for start of the instance, and a field saying notifications have gone out. When you prepare the calendar you use the join the tables and only use the table 2 timestamp to determine if the event is on the displayed calendar. Table 1 contains all the details.
When you create any event, you do all the inserts into table 2 up front. That's why you need an end date for recurrences. And if you change the master event, you just delete all the table 2 entries (that have not already occurred) and insert new ones with the new date requirements.
In the editor, if you want to change just one instance of an event, you duplicate the event and attach the instance to new event.
The date handling stuff is annoying but there's nothing difficult about implementing. As I said in the original thread, I would do this for the right price.
jmucchiello
Laugh
I also think recurring events indefinitely is needed for holidays, bithdays, etc... Why not have an end date for the calender of 5 years or something (has to be a set date). If the admin wants to advance the end date then a script would be run that would insert more recurring events. I can't see many sites needing a calendar that looks beyond a couple of years at the most.
I would amend advanced to say there can be multiple advanced options. For example I could want an event that is every 2nd and 4th Saturday of the month. Or the first Sunday and 3rd Wednesday of the month. Or how about M, W, F this week, T and TH next week and so on for the next 3 months.
I also think that recurring indefinitely is a tall order since the easiest way to do recurring event is to create a database record for each "instance" of the event.
One of the Geeklog Core Developers.
Tex
Laugh
One of the Geeklog Core Developers.
Tex
Anyone wish to take a stab at a good bounty for this?
Laugh
I may need something like this in the future, in which time if it hasn't been done I may tackle it.
Did you talk to Dirk? Maybe he can put some of the general bounty money towards it since these features have been requested for awhile.
One of the Geeklog Core Developers.
Laugh
In another message regarding this jmucchiello had wrote:
Of course it all depends on how bad people want this upgrade and how much they are willing to donate.
One of the Geeklog Core Developers.
Tex
Maybe the members here are afraid of talking about money? Hello? This isn't a contract here. I am trying to get the ball rolling and would like a little help. If $200 is a good start, maybe tell me. if not, lets nail a good start and then figure out how to move on from there. Can I get a little loving kindness here?
jmucchiello
I need to gauge interest before I commit more time to getting this off the ground. Folks, we have a plan. We have a ballpark cost for finally getting the calendar where it should be, after all these years. We are talking subscriptions, event categories, and recurring events. We have at least one capable coder who is interested in coding this. Now, we need to see if we can get enough folks willing to drop a few bucks to make this happen.
To gauge interest, I will need you to state here what you will be willing to pay. Guys, I have already spent a lot of time trying to move this thing. It is just sitting there now ready for us to take it. If I can't get you to move with me, I have to drop it.
Post what you will contribute in the way I do it below:
I will contribute $200 (Remaining Bounty $400).
samstone
If this feature is part of the project, I will contribute $200.
Sam
If this feature is part of the project, I will contribute $200.
Yes. I will recombine the proposals into one. Groups are included. So now we need folks to committ money for the event subscription, a calendar where your users can subscribe to events and receive notifications.
I am contributing $200.
Samstone will contribute $200
We are $200 away from what seems to be a proper bounty.
jmucchiello
Tex, did your proposal include the groups stuff samstone is referring to?
Tex
Here is the subscription part http://www.geeklog.net/forum/viewtopic.php?showtopic=76189
Page navigation
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content