View Full Version : Help with Calendar Application
mikus
05-22-2007, 05:22 AM
Hi there,
My problem is i need help with a calendar application. I've been hammering away at this for ages but it seems impossible without help. The calendar app in question is VCalendar (http://www.ultraapps.com/app_overview.php?app_id=19)
My Problem is that i want to stop people from making overlapping appointments.
Please give me a kick in the right direction.
Fumigator
05-22-2007, 07:39 AM
<kicks mikus in the direction of the paid work offers and requests (http://www.codingforums.com/forumdisplay.php?f=36) forum>
aedrin
05-22-2007, 04:13 PM
I don't think this is a paid work request.
He just wants to know a few hints to get started on doing this.
But I think you'll need to find a vCalendar specific forum as that'd require some research for the unknowing.
mikus
05-22-2007, 10:49 PM
thanks for the reply,
it wasn't a paid request, as aedrin reason i ask here is because the forum on their site seems to be taken over by spam, and dead. their source forge forum seems fairly inactive too.
thanks anyway.
CFMaBiSmAd
05-24-2007, 04:11 PM
I looked a little at the vcalander application. I don't have any specific code to give you, but logically, here is how you would do this -
You must check that the start and the end of the new event does not fall between any existing event's start and end. If either or both of the new event's start or end is between any existing event's start and end, there is overlap. You must also check that the start and the end of any existing events does not fall between the new event's start and end. This will check if any existing event completely falls within the duration of the new event (the first check I mentioned won't detect this second condition as the new event's start and end would both be outside of an existing shorter event's start and end.)
mikus
06-01-2007, 05:27 AM
yeah i understand what needs to be done, i should probably re-phrase qhat i need. is there a way i can watch a script run, like a debugger or something? i want to see what array the db values are in, and what array the form values are in. i also was thinking perhaps just make me own include file and do what i need through that.
would i tbe easier to
A) modify SQL code
B) make some code to do the checking (every time the script is executed)
C) debug and add to the validation
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.