Google Calendar Events, 0.7.1

This is just a bug fix release, nothing particularly exciting, I’m afraid. Here’s a quick overview of the changes:

Weird AJAX Bug

An odd bug was causing AJAX enabled calendar grids to disappear, or just get stuck loading, when navigating between months. It took me quite a while to replicate it, which was very frustrating, as several people had reported the same issue but I had no idea what was going on!

Anyway, I finally tracked down the problem. It was due to me being an idiot and not really understanding how preg_replace_callback works.

Stupid Timezones

Timezones are confusing. If I ever make another plugin, please remind me to make sure it has nothing to do with dates and times.

Hopefully, this release should fix an issue causing all-day events to continue to be displayed even after they have ended.

Tooltip Date Title Bug

In some cases, the title settings for AJAX grids were being ignored during AJAX requests. This release should fix that too. Many thanks to S. Wyatt Young for bringing my attention to this problem.

Output Sanitisation

Output sanitisation was a bit lacking in some places, but should be much improved now.

Caching Empty Feeds

Previously, the plugin did not cache feeds that returned no events. This meant that if you were displaying a list or grid of events from several feeds, one or more of which were empty, HTTP requests would be made for the empty feeds on every page load, which is slow.


Many thanks to everyone who reported the above issues, and helped with testing the fixes. It is very much appreciated!

As always, bug reports, feature requests and any other feedback can be left in the comments on the plugin homepage, or on this post.

48 Responses

  1. Great plugin, but one question. Is it possible to link an event title to an external url (ie not the Google Calendar page)? This is the one field that Apple iCal has and is missing from Google.

    I don’t want the url to be displayed, as would be the case via description, just the ability to link.

    Thanks
    Julian

    Reply
  2. The plugin installs perfectly with no errors, however, there is nothing in the Settings menu to configure the plug in. I activated it, which it says it’s activated properly, but still nothing.

    I even logged out/logged in, uninstalled/reinstalled…and still nothing. Very strange.

    Reply
  3. I’ve looked around for this but can’t find it. I’m so sorry if I missed it. Is it possible to actually put a couple of words on the grid layout? I have a client who doesn’t just want to rely on them to hover over the days. For example, if on one day they have a festival, a tour and a museum opening to have words show the grid and then when they hover over they see more?

    I love this plugin so far. Great documentation also. Good job!

    Reply
  4. Hi Ross,

    Great plugin, thank you.

    A question: There is a Javascript Prototype conflict (i guess) with jQuery, causing “Uncaught TypeError: Object # has no method ‘qtip’” message.
    Is there any solution to fix this bug? Event’s info aren’t displayed in browser.

    George.

    Reply
  5. I love most of what I’ve found in this plugin. I may have over looked it, but is there a way to output the calendar as an event list?

    Thanks!
    Cory

    Reply
  6. Awesome Plugin – we are incorporating into our Photography Club website redesign. I am having one issue and if there is a setting I have not configured correctly I apologize for not catching it – We are listing 3 upcoming events on the the sidebar in our WordPress site and everything is displaying correctly, however, when you click on “more info” the event time comes up as GMT? Hopefully it is not because I have missed a configuration – been looking at it for the last few hours! Thanks for any help.

    Reply
  7. Question: Is it possible to style the teeny-tiny little icons which provide next/previous month navigation. I have tried changing some of the styling – got the title to display larger but can’t seem to get .gce-next and .gce-prev to get out of their teeny style groove. I am guessing that they are inheriting a size from somewhere, but I can’t put my finger on it. On my screen they are displaying at probably 5 or 6 px (.25 em??) while the rest of the screen displays at more normal 11-12px/1 em.

    Here is a link to where I am using it:
    http://quincypublicschools.com/calendar/

    Any thoughts? Would prefer using em as have set up the blog text to be resized on demand for ADA compliance.

    GREAT plugin by the way.

    Reply
  8. This is a brilliant plug-in; thanks for creating it! One really minor question: is it possible to have multi-day events only display once in a list view (I have that set up), but display on each day they take place in the grid view (i.e. so that the date does not appear in grey, though there’s technically something happening)?

    Reply
  9. Maybe I am just not looking hard enough but on the main calender (not the widget) I can not find the previous or next month buttons at all. I have dissected it with firebug also and can’t locate them at all. What am I doing wrong??

    Reply
  10. Hey Ross, incredible plugin!

    I’m having some trouble with doing custom CSS for page lists and widgets. I see everyone else is able to set list-style-type to none, but I seem to be unable to do that. Any suggestions?

    Leo

    Reply
  11. Thanks for a great and efficient plugin. Did exactly what we wanted. I’ve done a few creative things with the display (via CSS) to add popup descriptions with a hover on the widget list and so on. You can see it here: http://www.syccolumbus.org/

    I think I could have done these styles a bit more efficiently than I did… but I was under a deadline and it worked great. Very glad for the class tags you’ve included!

    Reply
  12. Do you need to have a wordpress site? This is just what I am looking for to add to my school web site that I am helping with, but it’s just a regular web site.

    Reply
  13. Really like the many options in the plugin.
    Is it possible (in the css) to set different colours for events from different calendars in the agenda list?

    Reply
  14. hello,

    Thanks for this great plugin, he work fine.

    But i have a little problem, can you help me ?

    I want see in list only the present day event, but i dont no how to make this.

    Reply
  15. I love your plugin! And it’s been ticking away nicely until today.

    All of a sudden, the plugin cannot read my Google Apps calendar. It gives the following message when I’m logged in:
    Access to this feed was denied (403). Please ensure you have public sharing enabled for your calendar.

    Now, I KNOW that the calendar is public – and this has been working already. I haven’t changed anything, yet the WordPress site (http://ambassadorstoastmasters.co.uk) cannot access the calendar.

    But here’s the kicker, when I access the page through a browser or even just use WGET, I can get the data no problem.

    The calendar is at http://www.google.com/calendar/feeds/johnreid.it_jarm7jlcia7e3kmbdi9evo1238%40group.calendar.google.com/public/basic

    Any thoughts would be massively appreciated.

    Reply
  16. When using the plugin, we discovered a bug that was hard to pinpoint, but I think we figured it out. Not sure why it was doing it, but it basically does this. First, if you are using the plugin, and also logged into your google account, there is no issue at all. If you log out of your google account, and access our goggle calendar that is a feed on a website, and go to the ‘More details…’ it gives a time of 5 hours later than what we see on the calendar. After playing around with every setting under the sun to do with time zones, I figured out what was causing it. In the plugin, under the feed, if you edit the feed, and change the ‘Display Options’ to the ‘Simple Display Options’, and go back and look at the event, the time is 5 hours off (I am in EST). If you ONLY look at the event on the feed location and are showing the start/end times, it is correct on that feed part, but if you click on ‘More details…’ it is that view that gives the time 5 hours later than it should be. And you DO NOT see this behavior if you are logged into your google account, everything is fine. Just wanted to pass that on in case anyone else was having a similar problem… tricky one to figure out.

    Reply

Leave a Reply