LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / LuxCal / What's New / LuxCal 3.1.0 Released: 2013.05.31
Posted:  16 May 2013 22:29   Last Edited By: Roel B.
LuxCal version 3.1.0 is a major new release with many new features. One of the most important new features is the possibility to define multiple fully independent calendars sharing the same database within one installation. New tools have been developed to add new databases, delete databases, replicate data from one calendar to one or more other calendars, replicate settings from one calendar to one or more other calendars, backup multiple calendars.

Change log:
1. Multiple calendars sharing the same database
Single install - multiple calendar upgrade. Calendars will now always have a prefix in the database table names (e.g. mycal_events, mycal_users, etc.). This makes it possible with one calendar installation to have several calendars in the same MySQL database, rather than installing the calendar several times. Upgrading to a new calendar version will be one single upgrade action for all calendars. The basic installation is still straight forward and will install one single calendar. After the basic installation, the LuxCal tools (see hereafter) can be used to create more calendars within the same database and to perform various other database functions.
2. New toolset
These new tools can be used during and after the installation to test the calendar configuration, to delete calendars, to add calendars, to backup calendars and to replicate calendar data and calendar settings to one or several other calendars.
3. Improved upgrade and install scripts
The install and upgrade scripts have been considerably improved. Both scripts are started automatically when a new installation or an upgrade takes place, but can also be run by the admin manually whenever required. The upgrade script gives details on upgrade progress and the install script has some new advanced functions.
4. New access right 'manager' added
A new access right 'manager' has been added. The manager has post-all rights and can in addition set or change the owner of events (in the Events window) and can 'approve' 'proposed' events, which are events that need approval, because they fall in an event category for which 'needs approval' has been set by the admin. See also the next item.
5. New event 'propose'/'approve' feature
The second check box in front of the event title has been dropped and replaced by a flexible new 'propose'/'approve' (or, if you prefer: 'book'/'confirm') feature. On the admin's Categories page, when adding/editing an event category, "Events need approval" is selected, users with post rights can - in this category - create events which are not visible to other users until a user with at least "manager" rights has approved the event. Until the event has been approved, no other user will see the event and both the originator and users with manager rights will see the proposed event in the various views displayed with a red bar on the left side. Once a user with "manager" rights has approved the event, the event will become visible to all users and the event will be locked and cannot be edited any more by the originator.
6. Various changes to the admin's Settings page
- The admin's Settings page has been reorganized. All event-related settings have been grouped under the heading 'Events' and all settings related to the periodic functions (started via a cron job) have been grouped under the heading 'Periodic Functions'
- The width of the inputs fields was too small in some browsers (e.g. Opera) and has been increased. Furthermore a maximum length has been introduced for character based input fields.
- The Calendar URL must now be the full URL including the file name (e.g. This is needed for links to embedded calendars.
- On the administrator's Settings page private events can now be set to "disabled", "enabled" and "default". Default means the "private" check box in the Event window will be checked by default.
7. New settings added to the admin Settings page
- New admin setting to enable/disable in Month view the display of 3-letter month names for each day.
- An option to daily export events in a .ics file has been added. This option can be enabled/disabled via the admin's Settings page. The .ics file will be stored in the "files" folder and the file name will be the calendar name with blanks replaced by underscores.
8. Option to use SMTP mail rather than PHP mail
For reminder and other email messages, the admin can now choose between PHP mail and SMTP mail. The SMTP mail parameters must be specified on the admin's Settings page. A tool, called smtptest.php, is available to test the SMTP settings.
9. Changes to the stand-alone sidebar
- Two arguments have been added to the stand-alone sidebar, one to specify the maximum number of events to display and another to specify the number of days to look ahead for upcoming events. If specified, the last parameter will overrule the admin setting 'Days to look ahead in sidebar'.
- The stand-alone sidebar can now also display the events of the Todo list and can be used to check/uncheck the check mark of these events. Todo list events are events in a category for which the event check mark has been activated.
- The styles of the stand-alone sidebar content have been made independent of the styles of the main page.
10. Adding thumbnail images to events
An option has been added to the Event window to add in the description field small images (thumbnails). These images will be visible in all views in the hover box with event details, in email reports and in the event report when clicking the event in view-only mode.
11. Better explanations in Event window
In the Event window on two places the small-print explanation has been replaced by a hover popup box with more detailed explanations.
12. Deleting/undeleting ranges of events
On the admin's Database page the option to delete or undelete events in a certain date range has been added.
13. Multi-day events shown as one event in Upcoming Event lists
On all lists with upcoming events (Upcoming Events view, text search page, calendar sidebar, stand-alone sidebar and RSS feeds) multi-day events are now shown as one single event with a start and end date (e.g. Monday 4 March 2013 - Friday 8 March 2013), rather than once for each day of the day sequence.
14. In Year and Month view, day number now hyperlink
In Year and Month view the day number, in the upper right corner of the day cells, is now a hyperlink to the Day view of the corresponding day.
15. Various minor improvements and bug fixes
- When "Mini calendar event posting" has been enabled on the admin's Settings page, in the mini calendar the access rights of the Public User will be applicable. This gives more flexibility.
- In Month view, when showing a single month (month to show = 0 on Settings page), and skipping to the next or previous month, the date was set to the middle of the month, causing problems in the Upcoming Events view. This was a bug and has been solved.
- The default file name for exported iCal files has changed to the calendar name with blanks replaced by underscores.
- When the calendar is displayed without navigation bar (hdr=0), navigating to Week view via the week numbers will be disabled.
- In Year, Week view, Day view and the mini calendar the display of the event time for multi-day events in the hover popup box made consistent.
- Optimization / simplification of displaying calendar views with or without header (top bar and navigation bar). This also solved the problem that when suppressing the calendar header (?hdr=0), the day headers disappeared behind the actual calendar. The CSS file css_xs.php has been made redundant.
- Text color added for the hover pop-up box text and double class name problem for repeating and normal events solved.
- Dropped the redundant column sedit from the users table. Admin privileges are now reflected by priv == 9.
- Name space of sidebar variables limited to avoid interference with PHP variables in the host script.
- If not set already, the time zone is set when logging errors. Avoids a PHP error message when logging an error while no time zone defined. E.g. during the installation phase.
- Security vulnerability (XSS - cross server scripting)- solved.
- If the user filter in the Options panel has been enabled by the admin, then the user filter can now also be used by the public users.
- The winFit() function is now also working correctly in Chrome and Opera.
- the start hour and end hour in Day/Week view specified on the admin's Settings page are propagated to the time picker. The start time and end time of the time picker will be the same as the start and end time in day/week view.
- Sometimes the on mouse-over hover-box obscured the small event squares in year view and in the mini calendar.
- For some URL links in the event description field the backward parsing, for display in the Event window, failed.
- The Cron Job Summary did not show all email messages sent and the numbering was wrong.
- The 'open calendar' link in email reminders now jumps to the date where the event starts.
- In the JavaScript toolbox, the hover pop up and bar dragging functions optimized.
- In the changes script the event sorting function was never included and caused a PHP warning. Sort statement removed; no additional sorting of events needed.
- An event check mark can now only be checked by the event owner and by users with "manager" rights.
- A separate admin guide has been created which will help the calendar administrator to configure the more advanced calendar features.