It’s been a long time since I’ve updated Google Calendar Events. I’ve had very little time to work on the plugin lately, due to other projects that have had to take precedence.
A couple of months back, I did begin a major rewrite of the plugin, with all sorts of snazzy improvements, but it’s a long way off release worthy, or even beta worthy, at present. I’ll continue to work on it when I can, but I thought I’d better fix a couple of minor (yet annoying) bugs in the current version for the time being.
The fixes in 0.7.2 are as follows:
- There was an issue with the “More details” Google Calendar page link. The URL wasn’t constructed correctly, which resulted in the event details defaulting to the UTC timezone. This only affected the simple display options (not the event display builder), but is fixed now.
- Previously, setting the cache duration to 0 would be ignored, causing caching to still occur. Setting this to 0 should now work correctly.
- With
FORCE_SSL_ADMINenabled, the plugin’s Ajax requests would fail in most cases, preventing month navigation. This shouldn’t be the case any longer.
Also, an issue brought up in the WordPress core Trac recently made me realise I’d been using the wrong method (an incorrect hook) for enqueuing the plugin CSS and JavaScript, which could potentially cause an issue with the newly released 3.3 version of WordPress. I don’t think the issue would have affected Google Calendar Events, as I had is_admin() checks in place, but better to be safe (and correct) than sorry!
Before updating, remember that if you’ve made any changes to the main plugin stylesheet (google-calendar-events/css/gce-style.css), you should take a backup first, as changes will be overwritten during the update. If you’ve used the “Custom stylsheet URL” method instead, you shouldn’t need to worry about this!
You can download the update from the plugin directory, or simply update from your WordPress admin.
Feedback, bug reports and feature requests are always welcome. You can add a comment below (or on the plugin homepage), or send me an email.
Thanks!
Hi Ross,
Great plugin! Wonderful addition to the WP community. I was wondering if you had in mind upgrading to qTip2 as the version of qTip that you have in the plugin has been tested up to jQuery 1.3.2 and simply fails on my setup where I run zurb’s Foundation css framework. I tried it with your “Add js to footer” trick but it just changes the error from
“TypeError: jQuery(…).qtip is not a function”
to…
“TypeError: f.browser is undefined”
I tested it even without zurb’s Foundation and a different plugin that was loading jquery UI 1.8 broke the qTip js as well.
Here is the public URL if you would like to take a look:
http://dev.literacypowerline.com/events/
Thanks!
Hi Dmitriy,
The problem is that you include two versions of jQuery on your page. One is loaded via the WordPress enqueing system (version 1.8.3), and another is loaded in your theme’s
foundation.min.jsfile (version 1.9.0). It’d be best to just load one of these, and I’d recommend that you lose the one included with your theme and instead rely on the WordPress version, as this will ensure only one version is loaded, regardless of how many plugins / themes enqueue it.qTip works fine with jQuery 1.8.3 (and with 1.9.0, if you also use jQuery migrate).
There is an issue with certain versions (some of the 1.8.x releases) of jQuery UI and qTip, but any release newer than 1.8.21 (including the latest, 1.10.0) work fine in my testing.
That said, replacing / updating qTip is certainly on my to-do list!
Ross, thanks so much for taking a look. I updated the foundation.js and took out extra version of jQuery from it. That took care of the errors and now seems qTip seems to be loading but exhibiting some erratic behavior and not positioning the tooltips in the right place.
The only way to make it work is too update another plugin that loads jquery-ui 1.8.12 and make it load ver 1.10 of the library.
You mentioned that 1.8.12 has some expected bugs with qTip, so I’ll talk to the plugin author to see if he can update his library for the next release.
Again, thanks for your help!
Hi Ross!
First off, I love your branding. Second, thanks for taking the time to help so many people.
Ross, I’m having a hard time getting my Google Calendar to work. Can you tell me what I’m doing wrong and what I need to do right?
http://friducation.com/calendar-test/
Thanks!
Khalid,
It seems to be working ok for me. Did you figure out the problem? If you still need help, let me know.
Hi Ross,
I am just trying to implement your plugin to a website. All works fine. The only thing I am trying to do is to translate the content. Right now I am receiving results like this:
Events on (date)
Starts:
Ends:
Location:
Description:
More details:
I already had a look at the .mo/.po files with the plugin “CodeStyling Localization” but I do not find these terms in your plugin. Could you give me a hint how to localize it?
Cheers
Holger
Hi Holger,
Those sections of text can be adjusted in the plugin feed settings, under “Display Options”. The “Events on” text can be changed in the widget settings, or if you’re using the shortcode, via the
titleparameter.Thanks a lot, Ross!
Has there been a fix yet for the [event-id] tag? This is working perfectly for me except the link to add the event to calendar wants to add the whole calendar rather than just one event.
Thanks!
Hi Kevin,
There isn’t anything to fix, as far as I’m aware. Google just appear to have dropped support for links to
.icsversions of single events. Please correct me if I’m wrong, but I don’t think there’s any way around this, I’m afraid.No problem, thanks for the update and quick reply!
Hi… i still have the “More Detail” issue… is there something i am supposed to do to fix it…?
TY for your time…
Nicholas
I forgot to say… wordpress have been installed by altervista… the version seems to be WordPress 3.5.1… somewhere i also saw “SEO” written… ad i am using Arras theme… if there is anything else i can tell you to get helped just say what ^_^
Sorry for my little english but i am from Italy and i hadn’t speak english for so long that i forgot most of the things i knew…
^_^
Hi Nicholas,
I’m not sure what issue you’re referring to, I’m afraid. Could you perhaps elaborate a little on the problem you’re having?
Sure… and sorry for i haven’t been clear enough…
I setted up the widget on my webpage and it correctly display events. I have an issue with the “More detail” link… if you go to my page you will se that the link to the event on google+ in the widget, is:
https://plus.google.com/events/c14qg2r5cjp2dqo8crsqoi1f0vo&ctz=
but if you click on it you will get an error message from google plus…
The problem is that the link generated by the plugin si “too long”… if you try to delete the ending part (&ctz=) you will get to the correct page on google+ and you will be able to see the event…
I hope i have been clear now… if I don’t i will try to explain better…
TY,
Nicholas
Nicholas,
In the event display builder (under “Display Options” in the plugin feed settings), could you try replacing the
[link]…[/link]section with the following?Does that work ok?
It still doesn’t work… this is the url of the event:
https://plus.google.com/u/0/events/c14qg2r5cjp2dqo8crsqoi1f0vo
this is the url generated by the plugin:
https://plus.google.com/events/14qg2r5cjp2dqo8crsqoi1f0vo
it’s strange… now it don’t add the final part but still don’t work
It miss a “c” after the ..event/
Ah, ok. Perhaps try this then:
Great… it works now… i will try add other events and see if it’s everything ok… TY very much for your time… you rock!!!
xD
Added a new event and it work perfectly… you made me happy xD
Hi Ross,
suddenly an error occurs without changing setting or something else. I use version 0.7.2. I use the plugin here: http://jimmy-schulz.netactive.de/termine
From one day to another the events aren’t shown anymore, but when I open the feed URL directly in my browser(http://www.google.com/calendar/feeds/schulz@jimmy-schulz.de/public/full), the events are displayed.
I have absolutely no idea what’s wrong…do you? I already cleard cache and refreshed the feed, but nothing helps…
Please help!
Hi Christian,
When logged in to the site as an admin, you should see a more descriptive error message. Could you let me know what the error message says?
Hi Ross,
thanks for your fast reply.
The message which is shown in the frontend when I’m logged in is:
1 or more of your feeds could not be displayed. The following errors occurred:
- Feed 1: Failed initialization Please ensure your feed URL is correct.
Does it help?
That’s odd. I haven’t seen that error before.
Do other things that make remote requests work? E.g. can you search for themes or plugins from within WordPress?
Yes, I searched for a plugin “calendar” and got a list of those plugins… Very strange!
So I suppose this error message is from WordPress and not from your plugin?
Some brief Googling seems to suggest it ultimately comes from cURL, which is one of the HTTP transports that WordPress can make use of. My plugin utilises WordPress' HTTP API to make requests.
You could try the following:
Does that make any difference?
Yes, it does! Now it seems to work correct again!
Very, very strange, because it worked correctly with cURL in the past!
Before, we tried to execute curl_init() in php-shell and it just returned NULL. Out of curiosity we run the “Test Transport” diagnosis in “External HTTP Access” and it succeeded (“Successfully retrieved & verified document from http://tools.dd32.id.au/wordpress/core-control.php“). To my mind, it makes no sense…
Thank’s a lot for your support and suggestion!!
Very strange, indeed!
what is the shortcode to put it in a page? I can’t find it.
Hi Bryan,
The shortcode is
[google-calendar-events]. Details on its accepted parameters can be found here.Hi, the calendar and pop up event info work fine on the current month, but if you scroll to another month, the events dont pop-up and then you cant scroll back anywhere. Just started doing this.
Hi Don,
It seems to be working ok for me. Does this occur for you in a particular browser? Does it make difference if you’re logged in or out of WordPress?
Sorry to have bothered you. It was a browser problem.
I am having trouble with the timezones. No matter what timezone the client adds an event in, the event shows up in Pacific timezone. Can you help me figure this out? The timezone adjustment within the settings for the plugin is set to default. I would like the events to reflect their proper timezones.
Hi Ashleigh,
Unfortunately, the feed data that the plugin retrieves from Google’s servers contains event times / dates only in the calendar’s main timezone, regardless of the timezone for each individual event. I think the new version of the Google Calendar API does properly support per-event timezones, so when (if) I get around to updating the plugin to use the new API, this should work properly.
How to do it:
Reservation date, the square with the date in the table is red?
For example, I booked July 20, 2013, the entire field with this date in red!
Hi Denis,
I think the following CSS would do the trick:
Thank you so much! Everything!