Home
Scripts
Contributions
FAQ's
Downloads
Support Forum
  SnailSource.com [Logo]
Download CalLite
Installing CalLite
Upgrading CalLite
phpBB2 File Modifications
Configuration/Permissions Guide
CalLite FAQ
CalLite Support Forum

Upgrading - Calendar (Lite) 1.4.7 from 1.2.x / 1.4.x

Here's a more comprehensive guide on how to upgrade to Calendar 1.4.x

  1. Download the latest version of Calendar
     
  2. Unzip the Calendar-1.4.7.zip
     
  3. Download and open a copy of your old "cal_settings.php" file and save it for reference.
     
  4. Open the mod_phpbb_files.txt file
    • Read it carefully
    • Save a backup copy of all the original files from phpbb2 that you asked to edit.
    • Edit the original files as shown
    • Double check for any mistakes
    • Save & close all edited files
    • Upload the modified files to overwrite the ones already on the site.
       
  5. Ensure all your calendar files are ready for uploading and then upload to the appropriate directories as indicated below.
     

    /phpBB2/cal_install.php
    /phpBB2/cal_lite.php
    /phpBB2/cal_lite_functions.php
    /phpBB2/cal_lite_settings.php
    /phpBB2/calendar.php

     
    /phpBB2/admin/admin_calendar.php
    /phpBB2/admin/admin_cal_ug_auth.php
     

    /phpBB2/cal_install/cal_convert_fn.php
    /phpBB2/cal_install/schema/mssql_141_inserts.sql
    /phpBB2/cal_install/schema/mssql_141_schema.sql
    /phpBB2/cal_install/schema/mysql_122_to_141_schema.sql
    /phpBB2/cal_install/schema/mysql_141_inserts.sql
    /phpBB2/cal_install/schema/mysql_141_schema.sql
    /phpBB2/cal_install/schema/postgres_141_inserts.sql
    /phpBB2/cal_install/schema/postgres_141_schema.sql

     
    /phpBB2/cal_install/cal_updater.php This is only necessary for upgrading versions older than 1.2.2

    /phpBB2/language/lang_english/lang_calendar.php
    /phpBB2/language/lang_german/lang_calendar.php
    etc..

    Follow the same pattern for all other language files
    /phpBB2/templates/subSilver/cal_day_events_lite.tpl
    /phpBB2/templates/subSilver/cal_install.tpl
    /phpBB2/templates/subSilver/cal_posting_body_lite.tpl
    /phpBB2/templates/subSilver/cal_validate_events_lite.tpl
    /phpBB2/templates/subSilver/cal_view_month_lite.tpl

    If you intend to use these template files with other themes you will need to copy them across to the appropriate theme folder and edit as required.
    Please check with the theme author for possible tips/support

    /phpBB2/templates/subSilver/admin/cal_auth_select_body.tpl
    /phpBB2/templates/subSilver/admin/cal_auth_ug_body.tpl
    /phpBB2/templates/subSilver/admin/cal_user_lookup_body.tpl
    /phpBB2/templates/subSilver/admin/cal_user_select_body.tpl
    /phpBB2/templates/subSilver/admin/calendar_config_body.tpl
    (see above)
    /phpBB2/templates/subSilver/images/icon_mini_calendar.gif (see above)
     
    Note: The /cal_contrib folder contains mods by 3rd party mod authors that work with CalLite. These are provided as is and you must read the readme.txt file included. These mods are not supported by Snailsource so read the relevant mod files for details on where/how to get support directly.

     
  6. Upgrade the database tables:
    • Run the "cal_install.php" file using your browser
      eg: visit URL: http://www.yourhost.com/phpBB2/cal_install.php
       
    • Select the "Upgrade" option and click Submit.
       
  7. a) If there are any error messages check for obvious solutions and/or visit the forums/FAQ to resolve the issue
     
    b) If all appears to be working DELETE the cal_install.php file and the cal_install/ directory.
     
  8. Open your browser and visit the Administration Panel for your phpBB2 forum.
     
  9. Locate the "Calendar Config" option, select it and then set up your calendar access and configuration options.
    (NB: It would be worth checking your old cal_settings.php file to ensure you aren't giving your users more or less freedom than they are used to)
  10. Setup your users and usergroup permissions.
    (see the section below)

  11. Run calendar and test it to see if it works.
    • If all is well congratulations, hope you like it.
    • If it DOESN'T please:
      1. Check all the steps above have been carried out carefully
      2. Check you haven't added any typos
      3. Search/Read the forum on Snailsource for any reports of a similar problem and a solution.
      4. Check the section below.

 


User & Usergroup Permissions (Ref: 1.2.2 users)

Previously, Calendar Lite relied on the variables ($calmodgroup, $calusergroup) in cal_settings.php to allow certain groups to suggest, post, view, and moderate, etc... events on the Calendar. Version 1.4.x now integrates more closely with the phpBB2 permissions system and allows you to set more permissions directly through the Administration Panel -> User/Usergroup Permissions system.

For more information on how to set these permissions check the Calendar Administration Help Doc.


If you STILL have a problem...

Please start a post in the Calendar forum on Snailsource, providing as much information as possible about:
    • Your operating system, type, version, name
    • Your PHP version
    • Your Database type, version
    • Your browser type, version
    • Details of the problem
    • then wait patiently for a response...

Please DON'T:

    • Post 15 posts on different forums all asking the same questions
    • Curse out the mod author
    • Just say "this don't work" and provide no more information (we aren't mind readers!)