Cool code... I had been looking for how to do this for quite some time. It takes a long time to cut and paste all the appropriate code into the existing code....but was worth it...
I would suggest that the docs for the changes be re-written (sorted) to list all the CGI's in alphabetical order first for the code changes and then all the noncgi directory files...again in alphabetical order.... for the templates etc... the current method was tedious due to having to go back and forth between the cgi and noncgi directory. I was most of the way through when I realized how it was going back and forth so often...
Also as a "new feature" in it... I'd like to see a way to add "Holidays" to it that do not show as an event...I assume that would be Calendar 3.0
Anyway.. finally... I know there's been some talk about the cgi exec thing not working for some as well as the include not working. I suspect this is due to people running on IIS w/ ASP pages instead of html/shtml/etc pages. If this is the case I offer the following suggestion:
Create a file called smallcal.asp (or other name and different cgi for the plain text output as indicated in instructions) and insert a
in your asp page where you'd like to insert it...
In smallcal.asp: [code][/code]I am unsure of how this works for older IIS but I am using it on a Win2k Server w/ IIS 5.0 and it works fine. This obviously shows the small calendar but could be used for the plain text output as well. Technically this will pipe anything cgi into a ASP page that displays by itself... the <%=shtml%> is the same as a "Response.write shtml" fyi.. if you wish to do processing to the shtml string you would do it prior to the <%=shtml%> for example searching and replacing a particular color value in case you wish for say the event days to be a different color then what is standard in your forums already for colors but to leave the full sized calendar the same...etc...
Unfortunately my site has alot of live generated content from various places so speed is not so great all the time... but the process normally is rather quick so do not be concerned that it will significantly adding this one thing to your website...
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.