Subject: Calendar Plugin Upgrade?

Posted on: 03/04/07 05:11pm
By: Anonymous

How much $$$ to update the Geeklog Calendar so that it has group calendar and repeating events like this product?
http://www.sweetphp.com/projects/TotalCalendar_2/index.php?selectedDate=1175410800

Re: Calendar Plugin Upgrade?

Posted on: 03/04/07 08:24pm
By: suprsidr

Actually I helped Matt make TotalCalendar work with Geeklog Smile

-s

Re: Calendar Plugin Upgrade?

Posted on: 03/04/07 08:52pm
By: LWC

If someone adds support for recurring events, I can supply support for e-mail reminders (and not just for the master calendar) (look for the word "ceremony" - sorry, the forum plugin doesn't support direct links to posts and neither highlighting).

Re: Calendar Plugin Upgrade?

Posted on: 04/04/07 01:23pm
By: Anonymous

"Actually I helped Matt make TotalCalendar work with Geeklog "

TotalCalendar for Geeklog doesn't look well-integrated. It doesn't seem you can put calendar blocks (upcoming events, etc., etc.) wherever you want them, etc., etc., The Geeklog calendar is really good. It just needs some TLC.

I wanted to pay for this, and maybe get others to help pay something, so that it could be given free to the community. If I could figure out about how much it would cost, I could come up with a plan to make this happen.

Re: Calendar Plugin Upgrade?

Posted on: 05/04/07 03:58am
By: LWC

You can wait forever, if you're looking for price suggestions. Just estimate the man hours it would require (X) and come up with a decent wage per hour (Y). Then list it (X*Y) as a bounty and raise it after a while if no one contacts you about it.

Re: Calendar Plugin Upgrade?

Posted on: 09/04/07 11:36am
By: samstone

Quote by: Tex

"Actually I helped Matt make TotalCalendar work with Geeklog "

TotalCalendar for Geeklog doesn't look well-integrated. It doesn't seem you can put calendar blocks (upcoming events, etc., etc.) wherever you want them, etc., etc., The Geeklog calendar is really good. It just needs some TLC.

I wanted to pay for this, and maybe get others to help pay something, so that it could be given free to the community. If I could figure out about how much it would cost, I could come up with a plan to make this happen.



This features has been requested hundreds of times in the past four and a half years. Someone (I think it was Vince) tried it and gave up. It is obviously a very complex and time consuming task that no one feels worthwhile to invest the time and effort on.

TotalCalendar does allow you to put the calendar block on GL. The author will send you the codes for the lib-custom.php.

My problem with the TotalCalendar is the poor support. My last support request is two months old and I couldn't get any reply. I own 4 licenses! The author would disappear for weeks at a time and come back to make quick answers. But my current problem doesn't have a quick answer, so he just doesn't respond, after telling me that he would get back at me quickly.

The support I requested is that the calendar and events block is in conflict with Geeklog's portal blocks because both use PEAR and you get something like "cannot redeclare PEAR modules..." error. If you have both the TotalCalendar's event block and some RSS feed blocks on your Geeklog site, you will run into that error when RSS refreshes. He asked me to comment out almost everything in Geeklog's PEAR.php. It works for a while and then other problems arise because of that hack.

Now I have waited two months for a better solution that he said he would give me sooner. Other than that TotalCalendar is very powerful especially if you use if for many groups. The only thing that lacks with the integration is searchability.

He uses the name sweetphp, and no where you can find his real name, or where he lives. Not that I care to know who he is, but he just doesn't have a name of face for his customers to feel comfortable with. His website is poorly maintained.

The program heavily uses xml to the extend that I found no way to modify it if I need to modify it for certain need.

I was about to promote TotalCalendar to the Geeklog community, but so far I am not yet happy with it.

Good luck with your attempt to get GL Calendar improved. Count me in for contribution.

Sam

Re: Calendar Plugin Upgrade?

Posted on: 09/04/07 01:09pm
By: jmucchiello

So get together a proposal and each of you send in a bounty. Here's the feature list I've seen:

* Recurring events.
* Email reminders for events.
* Subscribe to events.

The first one is just annoying to write. I've looked at it and it probably needs a different method of storing the event day/time so you can easily find "future" events without littering the event table with duplicated entries.

The other two suffer from GL's lack of easy to make ad hoc groups. If that was easy to do, they become easy to write. I've also looked at doing that but it isn't easy without making the group admin screen a pain to use.

I would do recurring events by splitting the main event table into two tables. The first would be as it is now, the second would be strictly a list of timestamps and event instances (probably called "occurrences" ) . Most events would have one instance per event but recurring events would fill the instance table (for up to a year or two from initial creation) with future events. This table would make it fast to lookup reminders. (Reminders go on both tables so you can change the reminder for a specific instance if needed, such as over a 3 day holiday.)

As for the groups, I would add two fields: subscribe id and subscribe type. ID would be the eid and type would be 'calendar'. Whenever these fields are filled in the group would not display in the normal group displays. Subscribers are added to the group as they subscribe. Email notifications go out to all subscribers as needed.

Why clutter the group table? So that other forms of subscription (subscribe to story, subscribe to poll, etc) would be located in a central place. And, such a group could be promoted to a real group rather easily if it goes through the existing group code. (Not to mention not having to duplicate the group code.)

Re: Calendar Plugin Upgrade?

Posted on: 09/04/07 02:23pm
By: Laugh

jmucchiello - I'm by no way an expert in the Calendar plugin, I've haven't looked at the code yet but I did glance at the db tables.

Wouldn't using just one table be the best way to handle recurring events. You could add one or two columns to add in the recurring type (ie monthly, weekly, daily, every Friday, etc..). I realzie this may not be the best way in terms of using the existing calender code but from the stand point of db design it would be.


Re: Calendar Plugin Upgrade?

Posted on: 09/04/07 03:27pm
By: jmucchiello

No, you put the meat of the event in the event table. This table would be expanded to include frequency and period of recurrence. The other table would just be EID, INSTANCE_DATETIME, REMINDER_DATETIME and maybe a few other flags. Then you can do fast selects to find out when to send out reminders. And you can fill the calendar with fast link without having to process the date fields.

For example, suppose you have 3 events: one is a one-shot event Monday, April 16; one recurs weekly on Mondays and one is the third Monday of each month. If you want to populate the day planner for April 16, you find 3 records in the table and you list those three events. Without that table, you have to read every recurring event record and determine if any of its events fall on that day.

Now imagine there are hundreds of events. Do you want to process every event every time someone decides to look at December 2007 to see if anything is scheduled? No, you populate the second table with all the recurrences so you can look them up quickly. About the only reason to shoehorn it into the same table is if think recurrences will not share most of the same information about the event (location, addresses, state?, organizer, type, etc). If that was needed, you could have a flag that says, "recurring events are independent of original event" and then the code would just insert a bunch of unique events. (The fields for recurrences should have an end-date for when occurrences cease for that purpose.)

Likewise, the reminder code would use the reminder datetime field to determine what subscriptions needs to be mailed. For example, event 1 might have a "Remind 24 hours before event" reminder. Event 2 might have a "remind 1 week and 3 days before event" reminder. and Event 3 might have no reminder. On April 9, the reminder_date for event 2 would become less than now() and you would send out the reminder. You would recalculated reminder_datetime to be 3 days before the event and then exit. On April 13, the 3 days reminder would kick in and the reminder is sent again, the recalculated reminder_datetime is now NULL so no more reminders are sent for event 2. Event 1's reminder goes out on April 15. Etc.

Re: Calendar Plugin Upgrade?

Posted on: 09/04/07 07:52pm
By: Anonymous

Ok. All of this sounds fine. I don't know how to set up a "Bounty", but if I can get a few folks to work with me, I'll chip in some bucks.

Here is what I'd like for us to consider:

We need someone to set up the "proposal." Don't know what this entails, but if we have someone here who has experience, we sure could use that person. We can all chip in ideas about how long a certain feature might take to code, and how much $$$ we are each willing to chip in for it. If it is involved, then that person could do the proposal in lieu of donating bucks.

If we can get a fix on the $$$$, then I can take over the fund raising part. Basically, what I will do is divide the total estimated $$$ into enough people so that each person has to contribute only about $5 or $10 max. Then I will try to drum up the support, based on the many requests over the years for this enhanced calendar. After I get enough people pledging, I will put pressure on those folks until they pay up. Depending on the needed $$$, I may even pay the remainder if I could get the group even half-way there. I like the Geeklog calendar. But I am pretty sick of it not being a real calendar.

Re: Calendar Plugin Upgrade?

Posted on: 10/04/07 10:59am
By: Laugh

I realize having one table would require processing the date fields for every single request (I guess I was thinking about more the application I may need it for, plus I had looked at some calender joomla plugins), you have convinced me that your way is better though. I guess what I don't like is recurring events that dont't have end dates like Birthday's, etc... (unlimited number of recurring events)

You make a good point about having an alternate location for an event. You could even include a status field or description in this. As example, I'm thinking of of a night class schedule (recurring event) and the possibility of a single class being canceled. You still want to display the event but also say it is canceled and the new event is at this time. I wonder here if you would want a grouping of events as well. Taking the above example you could create a group called "English Night Classes 2007". In this group you could include your recurring event plus any other events like rescheduled classes, field trips, etc.. that don't fit the recurring event pattern. This would help the administrator keep the schedule organized plus it would also help students looking for just a particular class.


Re: Calendar Plugin Upgrade?

Posted on: 10/04/07 04:54pm
By: casper

If this time it comes something out of all the talk, you could count me in for a money-contribution.
So please make contact _if_ something gets moving Wink

Re: Calendar Plugin Upgrade?

Posted on: 10/04/07 05:26pm
By: Anonymous

I think I see the problem here. Basically, the Bounty system is setup so that a single person has to contribute the $$$ for a project. No one wants to step up and put himself on the line for $$$ for the calendar update because they think it'll either be too much $$$ or hassle. I'd bet dollars to donuts if we could come up with a group method to take care of this, we could get the project underway.

Basically, I am looking for the following features to be added:

* Recurring events. (The Total Calendar way is fine by me, unless someone has a better idea)
* Email reminders for events.
* Subscribe to events.
* Group Assignments of Events

If we could form a group, the group could submit a bounty for each request.We need is a simple, trusted way to make it happen. Any suggestions?

Also, what's involved with a proposal? Is it just a matter of telling the feature and how much money you're willing to pay? If so, then let's take the first feature and ask who's in and for how much?

Re: Calendar Plugin Upgrade?

Posted on: 11/04/07 01:26am
By: shmooth

http://www.chipin.com/

i'm sure there are others.

p.s. do these rss feeds work on a per-forum basis, or at all? i'm not seeing any new posts in my blog. Frown

Re: Calendar Plugin Upgrade?

Posted on: 11/04/07 01:49am
By: jmucchiello

Quote by: Tex

I think I see the problem here. Basically, the Bounty system is setup so that a single person has to contribute the $$$ for a project.

This is absolutely false. Look at the bounties page. Two people contributed to the links category bounty. What you need here is for someone to actually put up some money and then for others to chip in some more. Once the amount hits $200 or so, someone might take up the challenge. (Anyone who would do it for less may as well do it now for free.)

Until someone puts up, it won't get onto the bounty page.

Re: Calendar Plugin Upgrade?

Posted on: 11/04/07 11:15am
By: Anonymous

Ah. Think I see it now. If my understanding is correct, a bounty is a way to donate to Geeklog's development for a specific feature. It will not be refunded even if no one takes the bounty.

What would keep a person from NOT using Bounties to get a geeklog feature?

1. He has no idea how much a feature might cost. Most of us aren't developers. So, we don't have any idea how much it is worth from a developer's point-of-view. We know what it is worth to us. So, if we "donate" $50 for what all developers think is worth at least $200, we still must wait until someone else comes along to donate more. Even if we group ouselves and donate, we are in the same situation. It is too hit-or-miss, I think, to give people hope of getting the work done.

One solution for this might be to do what you have done. When you said the bounty for the calendar stuff should be at least $200, you set a range that let the rest of us know what is reasonable. Maybe someone could do this for requests - set minimum suggested bounties. Or, maybe bounty hunters might just put their personal minimums so that we get an idea of what the job is generally worth to the hunters.

2. You still feel pretty isolated with the bounty system. If I have only $50 I am perfectly willing to give provided I can get others to give with me, the current system doesn't allow me to sense I am part of a group that is about to really get a job done. That is probably why casper and sandstone are sitting in the wings, with money in hand, ready to give, but not actually doing it. They likely don't feel enough certainty that their money is going to be put to the use they intend it to be.

A solution for this might be to have some way for official bounty groups to form in view of specific features. Each user will pledge a certain amount to the group for the feature(s). The pledges are published, then a bounty hunter says that if the pledges materialize into a bounty, he would take the bounty. Then the members of the group donate the bounty by a certain date, understanding that its donation will not be refunded.

If we could get the two things above somehow implemented, I wonder if bounties would be used more frequently.

Just trying to help

Re: Calendar Plugin Upgrade?

Posted on: 11/04/07 11:59am
By: Blaine

One suggestion is if you want to feel part of a group, you should atleast register on this site first :shock:

Re: Calendar Plugin Upgrade?

Posted on: 11/04/07 03:20pm
By: Anonymous

I forgot password. Already registered. Just haven't done the forgot password routine.

Re: Calendar Plugin Upgrade?

Posted on: 11/04/07 04:03pm
By: jmucchiello

Quote by: Tex

Ah. Think I see it now. If my understanding is correct, a bounty is a way to donate to Geeklog's development for a specific feature. It will not be refunded even if no one takes the bounty.

I don't know if that is true or not. Dirk will have to answer that and he's at a convention so he may not respond for a few days.
One solution for this might be to do what you have done. When you said the bounty for the calendar stuff should be at least $200, you set a range that let the rest of us know what is reasonable. Maybe someone could do this for requests - set minimum suggested bounties. Or, maybe bounty hunters might just put their personal minimums so that we get an idea of what the job is generally worth to the hunters.
About the only reasonable forum for such a system is... the forums. Personally, I wouldn't accept the task for less than $400-500. But at $200 you might get a nibble.

The catch-22 is that the more requirements you put into the task the more expensive it becomes. OTOH, the more tasks there are the easier it is to get someone to commit to "learning" the subsystem to the degree needed to accomplish all the tasks in a decent manner.
A solution for this might be to have some way for official bounty groups to form in view of specific features. Each user will pledge a certain amount to the group for the feature(s). The pledges are published, then a bounty hunter says that if the pledges materialize into a bounty, he would take the bounty. Then the members of the group donate the bounty by a certain date, understanding that its donation will not be refunded.

First, you have to bounty the ad hoc user groups task. Smile Second, remember the bounty system is only a few months old. Getting it up and running was the first task. But there is no system in place really aside from contacting Dirk and having him modify the bounty page. Maybe in the future there could be an automated system. (And who will pay for that?) But at the moment, this thread is as much community as you are going to get until someone donates and others join in.

Re: Calendar Plugin Upgrade?

Posted on: 11/04/07 04:37pm
By: Anonymous

So, it looks like around $500 is enough to entice at least one person to do the work. Therefore, I say lets make it more definite and try to raise $600 for it. Lets see what the interest is for this.

Add your name and the amount you will contribute to the project below mine. If we can get to $600 in good time, then I'll procede to the next step.

I will contribute:

Tex - $100 (subTotal = $100)

Re: Calendar Plugin Upgrade?

Posted on: 12/04/07 11:25am
By: Laugh

Tex,

If you want to get this off the ground, what I would do is write a fairly detailed proposal on the new features you want and how it should work. Submit it to the Feature Request (I believe, it's not up yet do to a server move) and get in contact with Dirk when he gets back next week. Let him know what you are trying to do and get him to post the info on the Bounties page. Once your name gets up their and it becomes an official bounty request I'm sure others will add their names.

I'm not sure how many free lance programmers actually view geeklogs bounty page. You could also advertise the bounty on other programming forums to see if you find other takers. Remember though there are coding guidelines that need to be followed.

Re: Calendar Plugin Upgrade?

Posted on: 12/04/07 11:38am
By: Blaine

Well, we have the core GL Developers plus many plugin developers that are active in the GL community as well as some very capable GL community members that may not had the extra incentive in the past but will now. Possibly even one of our recent announced Google SOC Students will finish their respective projects and will want to jump in.

There are quite a few candidates in the extended community to take up these projects. We also ask that anyone that does pick up the bounty ensures they will stick around to support it so be cautious of handing the money to some trolling free lancer :speechless:


Re: Calendar Plugin Upgrade?

Posted on: 13/07/07 08:35am
By: pwarnagi

Well, I think from looking at the other calendar enhancement page http://www.geeklog.net/forum/viewtopic.php?showtopic=76193&mode=&show=20&page=2 that we are up to something like $520 which includes my $50 donation. I would be happy to up that to $200 if this project can get moving. I can really use the recurring events. That makes $520, $670 with my total contribution. There has to be someone that knows someone that can do this. My only hesitation is committing the money and it not going towards the calendar project. I'm good for the dough once we get moving or before hand if we get a commitment. Thoughts anyone?

Paul

Re: Calendar Plugin Upgrade?

Posted on: 13/07/07 11:09am
By: jmucchiello

Quote by: pwarnagi

Well, I think from looking at the other calendar enhancement page http://www.geeklog.net/forum/viewtopic.php?showtopic=76193&mode=&show=20&page=2 that we are up to something like $520 which includes my $50 donation. I would be happy to up that to $200 if this project can get moving. I can really use the recurring events. That makes $520, $670 with my total contribution. There has to be someone that knows someone that can do this. My only hesitation is committing the money and it not going towards the calendar project. I'm good for the dough once we get moving or before hand if we get a commitment. Thoughts anyone?

Paul

$600 was my minimum. I'll have to look at my schedule and see if I can do it soon. I'll post in the other thread sometime over the weekend once I confer with my wife. (She, of course, can schedule things without putting them in my calendar and I let her get away with it.)

Re: Calendar Plugin Upgrade?

Posted on: 13/07/07 02:37pm
By: pwarnagi

In that case I mean I will donate another $80 to make the total $600. hehe...j/k I'll gladly pitch in the few bones I committed to. My whole group is screaming for this calendar.

Regards,
Paul
:twocents: :doh:

Re: Calendar Plugin Upgrade?

Posted on: 13/07/07 03:42pm
By: samstone

There are quite a few candidates in the extended community to take up these projects. We also ask that anyone that does pick up the bounty ensures they will stick around to support it so be cautious of handing the money to some trolling free lancer Leaves me speechless


Tex,

Make sure you follow Blaine's warning. I might not contribute to the project if you give it to someone who has never created a usable plugin and provide reasonable support. This is a very complex plugin and I don't think it is for someone who doesn't have the time to stick with it.

Thanks,

Sam

Re: Calendar Plugin Upgrade?

Posted on: 13/07/07 06:19pm
By: Dazzy

This may be something I may need in the near future si I would be willing to contribute a few dollors towards it too, but like samstone only if its giving to the right person.

* Recurring events.
* Email reminders for events.
* Subscribe to events.

Considering in Blaine's Event Mgr plugin the second 2 are already available, I know he's busy but wouldn't he be the best man for the job?

Re: Calendar Plugin Upgrade?

Posted on: 15/07/07 04:02pm
By: Anonymous

Hmmm. I had thought no one was interested and so had pretty much given up on this. I am now trying to better integrate this calendar http://www.k5n.us/webcalendar.php into geeklog. It does everything I need and then some.

What do you folks think (pros and cons) about setting up the bounty to direct the same $$$ to this integration effort? I would like to see better ability to customize the calendar theme. I am also thinking it best to make this a true plugin, where the tables integrate into the GL database.

-Tex

Re: Calendar Plugin Upgrade?

Posted on: 15/07/07 05:14pm
By: Laugh

Bounties are a new idea for geeklog and a Bounty of this size will take a while to get off the ground.

I think it would be a better idea to stick with the current calendar plugin and modify it, not to branch to a whole new plugin. IMO, we also need to make sure that this new version will be recognized by the Geeklog dev team and incorporated into the next install of geeklog. That way any future development or changes needed will hopefully get done.

We have seen a few geeklog projects that integrate other applications (phplinks comes to mind) that break when either geeklog gets updated or the application gets updating. When the developer who created the integration is not around no one seems to pick it up. Also installs tend to be a little more complex for newbies.


jmucchiello is very active in the geeklog community and I think he is an excellent choice to do the suggested mods for the calendar plugin.

Re: Calendar Plugin Upgrade?

Posted on: 15/07/07 09:18pm
By: jmucchiello

Quote by: Laugh

jmucchiello is very active in the geeklog community and I think he is an excellent choice to do the suggested mods for the calendar plugin.

Thanks for that. I got the go ahead from my wife now I just need to finish a few odds and ends (like I finally updated the autotags plugin earlier this week) and I'll start tackling this. I plan to start with the recurring events as that requires the least amount of outside work. Subscriptions and email reminders will follow a beta release of recurring events. I'll post a timeline once I actually start work on this and have a decent feel for how often I'll be able to work on it. If I can't get it done by the end of the year, I'll bow out.

Oh, and be assured when I am finished with these mods, I'll still be around afterward to support them. Heck, at that point I might ask to take possession of the calendar plugin from the core team since I suspect there won't be any part of the plugin I won't have modified at that point.

Re: Calendar Plugin Upgrade?

Posted on: 16/07/07 05:29pm
By: tt0ne

HeavenlySanctuary.com will contribute $200.

- Marco

Re: Calendar Plugin Upgrade?

Posted on: 16/07/07 05:39pm
By: tt0ne

I want to make sure I understand this though - where exactly do I make "the pledge"??? I just make a forum post? That doesn't seem right...

- Marco

Re: Calendar Plugin Upgrade?

Posted on: 16/07/07 06:41pm
By: Laugh

Mention your pledge here -

http://www.geeklog.net/forum/viewtopic.php?showtopic=77347

Re: Calendar Plugin Upgrade?

Posted on: 16/07/07 07:37pm
By: tt0ne

Thanks, done my friend!

Re: Calendar Plugin Upgrade?

Posted on: 16/07/07 08:30pm
By: samstone

I don't really understand how Bounties work. Maybe it's time for Dirk to help us to move this item one step up to be listed on the Open Bounties.

Helloooo Dirk!

Sam

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=75572