/*********************************************
*	Calendar Lite
*
*	$Author: administrator $
*	$Date: 2003/10/18 18:48:58 $
*	$Revision: 1.1.2.4 $
*
*********************************************/

############################################################## 
## Mod Title: Calendar 
## Mod Version: 1.4.2
## Author: WebSnail < Martin Smallridge >
## SUPPORT: http://www.snailsource.com/forum/ 
## Description: Add-on, Calendar for phpBB2 
## 
## Installation Level: moderate) 
## Installation Time: 10 Minutes 
## Files To Edit: admin/admin_ug_auth.php, 
##                templates/xxx/admin/auth_ug_body.tpl
##
## Included Files: 
##		cal_install.php
##		cal_convert_fn.php
##		calendar.php
##		cal_settings.php
##		admin/admin_calendar.php
##		cal_install/schema/mysql_122_to_141_schema.sql
##		cal_install/schema/mysql_141_inserts.sql
##		cal_install/schema/mysql_141_schema.sql
##		cal_install/cal_updater.php
##		language/lang_english/lang_calendar.php
##		language/lang_VARIOUS LANGUAGES
##		   ....
##		templates/xxx/cal_view_month_lite.tpl
##		templates/xxx/cal_validate_events_lite.tpl
##		templates/xxx/cal_posting_body_lite.tpl
##		templates/xxx/cal_day_events_lite.tpl
##		templates/xxx/admin/calendar_config_body.tpl
##############################################################
## This MOD is released under the GPL License. 
## Intellectual Property is retained by the MOD Author(s) listed above 
############################################################## 
## Please note that this MOD is NOT listed on phpBB.com's main
## site and should under no circumstances be trusted as secure
## and genuine unless downloaded from the Snailsource.com web
## site.
##############################################################

IMPORTANT: If you do nothing else read these docs...
====================================================
Install 			http://www.snailsource.com/callite/install.html
Upgrade				http://www.snailsource.com/callite/upgrading.html
Settings for Calendar		http://www.snailsource.com/callite/admin.html
Permissions for Calendar 	http://www.snailsource.com/callite/admin.html#perm
FAQ				http://www.snailsource.com/callite/faq.html
Support				http://www.snailsource.com/forum/viewforum.php?f=1



Release Notes/ New Features:
============================
- Improved SQL query for month view (now 1 instead of 30+)
- Native phpBB2 template support has now been added
- Native phpBB2 Administration through the Admin Control Panel has now been
   provided
- Improved Installer (will not install/update unless you log in as Admin)

Bug-Fixes & Updates
===================

------------------------------
18/10/2003	STABLE RELEASE
------------------------------
		ADDED:
		- Ability to set start of week to Saturday as per Arabic Cultures


13/10/2003	- Fixed issue with edit/delete functions logging users out (no cookies)
		- Version info now stored in the database in Cal_config table.
		- Fixed minor issue with "access denied.." missing <br /> tag
		- updated Calendar_mod_files instructions to remove ambiguity over compatability
		- various minor fixes.

05/04/2003	- Update mod edit file to remove clashes with other mods
		- Added warnings to schema files to try and avoid 1d10t 	
		  "didn't read the manual" errors. ;)
		- Suggesting an event now provides an appropriate "success" message.

10/03/2003	- Improved sanity checking for installer.
		- Fixed usernames with single/double quotes issue.

24/02/2003	- Fixed issue with time validation requiring a time
		- Fixed edit/del own events permission
		  (this only fixes for events added after new file uploaded)

23/02/2003	- Fixed mysql4 compatability error.
		- Fixed issue with event time being discarded.
		- Added time validation check
		- Included a calendar icon for header link

03/02/2003	- Short php tags now replaced with long <?php
		- Comments have now been terminated.


BUGFIX: Missing Tables:
=======================
This note is for anyone who downloaded an early copy of Calendar Lite 1.4.0 and 
discovered problems such as missing 'phpbb_calendar' or 'phpbb_cal_config' tables.

This was caused by a couple of minor typos in the installer that failed to 
load the correct schema files.

We recommend you try running the fixed version of cal_install.php first and 
attempting to upgrade or install as you did originally. This may produce a few minor
errors but should complete the areas of the installation missed originally.



IMPORTANT: Upgrading a version of Calendar older than version 1.2.2*
====================================================================
To ensure that the old calendar tables are compatible with the 
installer/updater you may need to run the "cal_updater.php" file
before running cal_install.php





Please check the Snailsource forums regularly for any updates and
report any bugs you come across with as much information as possible.


Contributions
=============
This MOD is free for your use but it's worth noting a large number of hours
are spent writing the script and the accompanying files, not to mention 
supporting users like yourself.

So, if you are suitably impressed and would like to help me to help others
then please make a small contribution to the UKRag.net project. More info'
on the project is available at:
http://www.snailsource.com/forum/viewtopic.php?t=13
...and...
http://www.ukrag.net/

Contributions can be made via PayPal to info@snailsource.com 

Thanks for your support...

Martin 
(WebSnail)


NB: Any contributions of $25 or more automatically ensure access to Calendar
Pro which is the only version of Calender now being developed further.