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.
1. multiple copies of calendars appeared - i just deleted the entries from teh DB then all was good. 2. Config screen is always blank.(i edited the file directly).
Added timezone support. The rss image is now loaded via the asset funtion so should work on sites in a folder. On the config page if you click edit there is now a dropdown list of timezones.
Had to reduce the number of timezones from the full timedb list but all hour modifications from -12 to + 12 are included. If you want more added ask and it will happen.
It probably needs pointing out that the plugin needs to be disabled and then re-enabled when upgrading, otherwise clicking on the settings button leads to an error message being displayed. Upgrading is more than simply overwriting the files with new versions by ftp access to the site.
Comments
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •$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.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@dejitaru
Ill try and get some sort of config file if not dashboard integration working by next week.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Multiple support and configuration will be in next version but will be 2 weeks before next release.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •The part of the link used is $path in the code below.
http://www.google.com/calendar/feeds/".$path."/public/full
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Ill get this fixed in the next version thanks for reporting it.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •No ajax. Just php. Should have it up by monday or tuesday.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Timezones are not supported. But it does have a config screen in the dashboard.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- 2 copies of the ukhols calendar in the sidebar.
- Feed image url still wrong http://example.org/plugins/GoogleCalendar/rss.png
(I have substituted "example" for real domain name above)I have vanilla in subdirectory i.e. should be http://example.org/discus/plugins/GoogleCalendar/rss.png
I think it needs to derive the plugins folder from the install directory name or similar
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •1. multiple copies of calendars appeared - i just deleted the entries from teh DB then all was good.
2. Config screen is always blank.(i edited the file directly).
Thanks for the update Davidis :-)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Ill look into this. Should have an updated version up tonight.
Regarding the multiple copies is there multiple database records for the ukhols calendar? If there is not then the old version has not gone away.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I deleted the multiple rows that were inserted into the GND_Cals table.
Tip : If a user wishes to use the google calendar private calendar they must edit the line
$rssUrl = "http://www.google.com/calendar/feeds/".$path."/private-YOURPRIVATEKEY/basic";
Also a new random question - I cant get the timezone to work for the calendar. It keeps defaulting to some GMT +0 time.
I have added 'Australia.Sydney#' before the email ID.
What am I doing wrong?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Anyone else been able to change the timezones?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@waynec can you send me a screen shot of the config page including url as it works on my test system.(2.0.11)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •The rss image is now loaded via the asset funtion so should work on sites in a folder.
On the config page if you click edit there is now a dropdown list of timezones.
Had to reduce the number of timezones from the full timedb list but all hour modifications from -12 to + 12 are included. If you want more added ask and it will happen.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •