Release is still on for tonight, just cooking my dinner as I had a late one in the office.
To make up for it I have completed the implementation of the sorting feature.
I will keep this post up to date with my progress throughout the evening.
This BETA is a rough around the edges as I have been learning about the plugins as I worked on them and lots of the code is still a work-in-progress and as such there may be lots of duplicated code segments, I will aim to reduce these down for the final version.
Watch this space
Added 1 hour 33 minutes later:
Beta 2.2.07 is now available - Download - (This includes an updated SQL script based on the original update posted by Trustmaster in the original Event Calendar v2.1 download).
PLEASE NOTE:This is a first beta and many of the functions are still being actively worked on. The code may contain bugs, defects and or other issues and is provided with no warranty. Some of the functons present in the BETA may not be present in the final versions. I do not recommend using this on LIVE sites, it is for testing purposes only, please excercise extreme caution!.
Installation instructions
Step 1: Run the appropriate SQL script for your version. Step 2: Copy the Events and Calendar folders to the Plugins directory on your server. Step 3: Open the Admin panel and Install the plugin. Step 4: Navigate to plug.php?e=events and plug.php?e=calendar
Update v2.2.02: Beta ZIP file has been updated.
Fixed in v2.2.02
events.edit.tpl
- Fixed incorrect id=mBoxBody in events.edit.tpl, replaced with class=mBoxBody.
events.inc.php
- Renamed Sort tags to Events_Sort_Name {EVENTS_SORT_TITLE}, {EVENTS_SORT_STARTDATE}, {EVENTS_SORT_ENDDATE}
- Fixed language file display not showing correct text for sort filters.
Update v2.2.03: BETA ZIP file has been updated.
Fixed in v2.2.03
events.en.lang.php, events.nl.lang.php (Needs Translating)
- Added new language elements to EN and NL language files.
events.tpl
- Fixed missing 'Title' sort text display.
events.details.tpl
- Replaced default english language values with their PHP Language Variable equivalents (See above)
Update v2.2.04: BETA ZIP file has been updated.
Fixed in v2.2.04
events.edit.inc.php
- Fixed bug where you would be redirected incorrectly to the events page rather than the updated event.
- Removed $f import as it was unused in the editing context.
- Tidied up code and comments.
Update v2.2.05: BETA ZIP file has been updated.
Fixed in v2.2.05
events.add.inc.php
- Fixed incorrect 'r' declaration for POST statments causing values not to be posted, replaced with 'n'.
- Added {EVENTSADD_FORM_PRIVATELOCATION}
events.en.lang.php
- Update English wording for $L['guests_availability']
events.attendees.tpl
- Fixed incorrect id= instead of class= in div declaration.
- Commented out {EVENTATTENDEES_AVAILABILITY} (Future Use)
Update v2.2.06: BETA ZIP file has been updated.
Fixed in v2.2.06
events.details.inc.php
- replaced PHP call to eregi() with preg_match().
calendar.*.php
- replaced PHP call ereg_replace() with preg_replace().
events.*.lang.php
- added new elements to language file.
events.edit.inc.php
- Fixed private location radio button not setting its checked value based on the database result.
events.add.tpl, events.edit.tpl
- added {EVENTSADD_FORM_PRIVATELOCATION} and {EVENTSEDIT_FORM_PRIVATELOCATION} tags.
- replaced non-language file elements with the {PHP.L} equivalents.
Update: v2.2.07: BETA ZIP file has been updated.
- Fixed editing when an event was in the validation queue causing errors.
- Fixed English language file for Calendar. (Minor wording changes).
- Fixed Location, Country, Start Date, Expiry Date are now correctly remembered between validation post-backs.
- Fixed {EVENTS_ROW_CATPATH} returning nothing as it was linked to the Event_Catpath var.
- Added additional case when updating events to not redirect incorrectly.
- Added tpl folder to hold the event layout files.
- Added {EVENTS_SORT_CAT} to allow sorting by category.
- Added new configuration params.
attendeesshow=04:string::10:Number of Attendees to show in the Details view. (0 for unlimited)
attendeespopup=05:radio::1:Use popup for Attendees (View all).
attendeesiconheight=06:string::30:Height in Pixels for Attendees Icons.
attendeesiconwidth=07:string::30:Width in Pixels for Attendees Icons.
eventiconheight=08:string::128:Height in Pixels for Event Icons.
eventiconwidth=09:string::128:Width in Pixels for Event Icons.
eventminimumdescriptionlength=10:string::5:Minimum length for Event Description.
- Added new Event Add page layout (events.add.tpl) - Work in progress.
- Added new tags