UPOINT:: CGI Scripts: FAQ

Title: @1 Calendar Publisher I: Script updates
Check if we have updated the script since you purchased it.

31 Jan 05: This will remove the "Month End Bug" which appears on 29th, 30th and 31th. For example, if the current day is 29th, 30th or 31th, the monthly calendar will not show up completely for February since there is no 29th, 30th or 31th in February.

Find this line in calendar2.cgi (@1 Calendar Publisher II) or monthly.cgi (@1 Calendar Publisher I):

if(!$day){

and change it to:

if(!$day){
$day=$today[3];
$day=$day>28?1:$day;
}


17 Mar 04: Fixed the "Always Sunday" bug in the delete confirmation page.

17 Mar 04: The daily.cgi add-on script for @1 Calendar Publisher I has a major bug found earlier. Clicking on any link generated by daily.cgi would bring up the SAME (first) event. This bug is now removed. The correction does not involve calpublisher.cgi and monthly.cgi.

08 Sep 03: (1) Added debug mode to "calpublisher.cgi" for server/local time difference checking. (2) Added "daily.cgi" - displaying today's and tomorrow's events via SSI.

14 May 03: (1) Minor bug fixed. Previous version does not print the table closing HTML tags if the number of next upcoming events are fewer than that specified in $no_link. (2) Added variable for server time offset. (3) Added ability to put each day of the calendar in to cells with outstanding background color.

19 Nov 02: Monthly calendar table now added. Simply install the newly added file "monthly.cgi" (no change of existing files) and point to the script. It will generate a monthly calendar table of the current month.

19 May 02: Solved the Javascripts problems that caused pop-up windows to be too small and not resizeable in Netscape 6.

20 Apr 02: Just some minor appearance changes.

• Changed the date format of upcoming events (as displayed via SSI) from "4.30.2002" to "Apr 30, 2002".

• Changed the date format in entire monthly list from "4.30.2002" to "30 Apr 2002".

• Changed font of the date format in entire monthly list smaller.

16 Dec 01: Solved an earlier bug where the script only searched and displayed events for the next 11.25 days. It is now changed to 365 days. Patch:

Search for: my $cutoff=$todaysecs+999999;

Replace with: my $cutoff=$todaysecs+(365*$day_secs);

03 Nov 01: Solved an earlier little bug where current date is not highlighted if there is no event in that day.

  Powered by Document Publisher