for ical feed.
* Plugin Name: GLM Members Database Events
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 1.6.51
+ * Version: 1.6.52
* Author: Chuck Scott
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabaseEventsAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.6.51
+ * @version 1.6.52
*/
/*
* so that we're sure the other add-ons see an up to date
* version from this plugin.
*/
-define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.6.51');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.6.52');
define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.1.2');
// This is the minimum version of the GLM Members DB plugin require for this plugin.
$this->postAddRecurrences = false;
$eventTemplateStart = <<<EOD
\r\nBEGIN:VEVENT
-UID:%d@%s
-ORGANIZER;CN="%s"
+UID:%d@%s%s
CREATED:%s
DTSTAMP:%s
DTSTART:%s
: '';
$description .= "\nURL:{$http}{$event['url']}";
}
+ // ORGANIZER part
+ $organizer = str_replace( '"', '', $event['contact_name'] );
+ $organizerCN = ( $organizer ) ? "\n" . 'ORGANIZER;CN="' . $organizer . '" :' : '';
$eventDataStart = sprintf($eventTemplateStart,
$event['id'],
$urlHost,
- str_replace( '"', '', $event['contact_name']),
+ $organizerCN,
$this->icalDateFormat($event['created']['timestamp']),
$this->icalDateFormat($event['starting_timestamp']),
$this->icalDateFormat($event['starting_timestamp']),
1. Activate the plugin through the 'Plugins' menu in WordPress
== Changelog ==
+= 1.6.52 =
+* fix for ical feed ORGANIZER line
+
+= 1.6.51 =
+* Update the from to dates for the events when using not grouping by the days.
= 1.6.49 =
* Changing front end search forms to method = get. This is to keep the