-
You can add a "timeend=1" parameter to the RSS feed to get today and tomorrow, but to just see today you want to use "timeend=0". The form input validation seems to ignore a value of zero, although the program logic in BuildExportQuery() would function fine if it ever saw the zero. The value appears to be simply erased before BuildExportQuery() is called.
2009-10-08 14:21:19 UTC in VTCalendar
-
My previous comment assumed 12am=noon, 12pm=midnight. To use 12am=midnight and 12pm=noon I had to rewrite the whole thing:
function checkeventtime(&$event) {
// Times are ignored for whole day events.
if ($event['wholedayevent']==1) return true;
if (isset($event['timeend_hour'])) {
// Fail if the end time is not valid.
if...
2009-09-22 18:30:06 UTC in VTCalendar
-
Here is the fix. In "checkeventtime". Simplify this conditional...
($event['timebegin_ampm'] == "pm" && $event['timebegin_hour'] != 12 ? 12 : 0)
to this:
($event['timebegin_ampm'] == "pm" ? 12 : 0)
for both $timebegin and $timeend.
2009-09-22 17:31:19 UTC in VTCalendar
-
There is no way to enter an event that starts at 11PM and ends at midnight. Maybe the logic in the checkeventtime function is flawed. You always get an error about start time less than end time. I looked inside and internally it compares 'pm2300' to 'pm1200' or 'pm2300' to 'am1200', depending on if you call midnight 12pm or 12am. Neither value is considered greater than 11pm.
2009-09-18 19:53:49 UTC in VTCalendar
-
I get an error in Firefox (when the error console is open) on the background-image reference at line 275 of calendar.css.php. Looks like you need a "url(...)" around the PHP code there.
2009-09-17 14:14:13 UTC in VTCalendar
-
The "Restore Default" buttons on the "Add Event" screen are not working.
I suspect that the "getsponsorinfo.php" script was accidently dropped from the
distribution as this appears to be how the information was supplied.
2009-09-16 18:27:38 UTC in VTCalendar
-
You lack a closing "" tag.
2009-08-28 14:39:30 UTC in VTCalendar
-
"Reoccurring Events" should be "Recurring Events".
2009-08-28 14:32:48 UTC in VTCalendar
-
Well I now know more than I did. Changing the DEFAULTCOLOR_LINK constant just changes the color of the default button on the color control screen. You have to go click that button to make the changes. I imagine if I had done this before running the installation I would have gotten the defaults I specified.
2009-08-12 20:45:32 UTC in VTCalendar
-
I'm not sure, but I'll bet it has something to do with "sessions". Maybe edit session_start.inc.php and change Session_name("VTCAL") to session_name("VTCAL2") in the second calendar.
2009-08-12 19:12:04 UTC in VTCalendar