Be nice if you could incorporate a config item within vanilla to put your feed into instead of editing the php file. What is the exact portion of line 172 where you put your feed at?
The line of code to be edited is: $String =$String.$this->createfeed("en.uk#holiday@group.v.calendar.google.com",$summerTime); Just change the feed in the method call and it will use your calendar. The config item with a proper dashboard settings pane ill look into creating. Will be a while as i get used to vanilla 2.
Added rss links for each calendar. Only links to the rss feed at the moment. @dejitaru Ill try and get some sort of config file if not dashboard integration working by next week.
I dont see anything other than the widget title and the rss icon and link to my organisations public calendar, the calendar when viewed as an rss feed only shows past events !!! I am expecting to see a series of future events (recurring) the first of which is at the time of writing is 5 days old and repeats weekly until end Feb 2011. This event is visible in the feed. It looks like the plugin does not handle recurring events where the first occurrence of the event has passed (at present). (Later Edit) Having gone across the midnight boundary I am now seeing the event with a date 2 Jan 1970 - No its actually a countdown time to the next event being formatted as a date rather than a time to go, the event is Sunday 10 am Also the rss.png is only showing correctly on the Discussions page rather than individual threads.
Ill have an updated version up later this week. Sorry about the delay. Which solves the problem of recurring events and the problem with daylight savings.
My past version had a problem with its cache and recurring events. This will be fixed.
Regarding the only past events you will want to go to the cache folder inside the plugin and delete all the .spc files. That should solve this.
Regarding reccurent events it should work try with the cache cleared.
We have added this in and edited the line $String =$String.$this->createfeed("en.uk#holiday@group.v.calendar.google.com",$summerTime);
And changed the "en.uk#holiday@group.v.calendar.google.com" to our own calendar email that comes from the calendar settings page inside of gmail.
We find that the XML, iCal, HTML links all fail as does the Calender ID and finally the embedded calendar ID which is in the format of 'email%40gmail.com#&ctz=Australia/Sydney" which comes direct from cut and paste.
Also tried replacing the %40 with @ for 'email@gmail.com#ctz=Australia/Sydney'
using V2.0.14 and GoogleCalendar plugin 1.1 - I think (however its still reporting version 1.0 in default.php) the image urls for the feed is trying to be served using incorrect (possibly relative) rather than the correct absolute one
The previous version has many problem. im trying to rebuild this still got a couple of bugs to fix before version 2. The rss.png is meant to be an absolute path to the plugin folder.
Ill get this fixed in the next version thanks for reporting it.
Comments
$String =$String.$this->createfeed("en.uk#holiday@group.v.calendar.google.com",$summerTime);
Just change the feed in the method call and it will use your calendar.
The config item with a proper dashboard settings pane ill look into creating. Will be a while as i get used to vanilla 2.
@dejitaru
Ill try and get some sort of config file if not dashboard integration working by next week.
Multiple support and configuration will be in next version but will be 2 weeks before next release.
I am expecting to see a series of future events (recurring) the first of which is at the time of writing is 5 days old and repeats weekly until end Feb 2011.
This event is visible in the feed.
It looks like the plugin does not handle recurring events where the first occurrence of the event has passed (at present).
(Later Edit) Having gone across the midnight boundary I am now seeing the event with a date 2 Jan 1970 - No its actually a countdown time to the next event being formatted as a date rather than a time to go, the event is Sunday 10 am
Also the rss.png is only showing correctly on the Discussions page rather than individual threads.
My past version had a problem with its cache and recurring events. This will be fixed.
Regarding the only past events you will want to go to the cache folder inside the plugin and delete all the .spc files. That should solve this.
Regarding reccurent events it should work try with the cache cleared.
We have added this in and edited the line
$String =$String.$this->createfeed("en.uk#holiday@group.v.calendar.google.com",$summerTime);
And changed the "en.uk#holiday@group.v.calendar.google.com" to our own calendar email that comes from the calendar settings page inside of gmail.
We find that the XML, iCal, HTML links all fail as does the Calender ID and finally the embedded calendar ID which is in the format of 'email%40gmail.com#&ctz=Australia/Sydney" which comes direct from cut and paste.
Also tried replacing the %40 with @ for 'email@gmail.com#ctz=Australia/Sydney'
Any ideas?
The part of the link used is $path in the code below.
http://www.google.com/calendar/feeds/".$path."/public/full
the image urls for the feed is trying to be served using incorrect (possibly relative) rather than the correct absolute one
http://example.org/discus/vanilla/plugins/GoogleCalendar/rss.png (discussions)
http://example.org/discus/dashboard/plugins/GoogleCalendar/rss.png (dashboard)
http://example.org/discus/discussion/133/plugins/GoogleCalendar/rss.png (example post id=133)
I think the correct one for my setup is
http://example.org/discus/plugins/GoogleCalendar/rss.png
example has replaced the real domain
Ill get this fixed in the next version thanks for reporting it.
No ajax. Just php. Should have it up by monday or tuesday.
Timezones are not supported. But it does have a config screen in the dashboard.
Then remove the calendar entry in the config.php.
Then remove the plugin files and do a fresh install.
I apologise as the old version was badly made.