Support forumCategory: Questions2-Way Sync of Shared Google Calendar
cole_enabnit asked 2 years ago

Hello Nikola,
I share my google calendar with my assistants, who can make changes to events, create events, and cancel events. When I create an event on the calendar, it syncs EA and blocks out the time on our online calendar here: pdximmigration.com/consultation.
The problem is, when my assistants create events using the shared calendar, EA does not block that time slot off in the online calendar. In short, events created by my google user on my shared calendar sync. Events created by other users on my shared calendar do not sync.

6 Answers
Nikola Loncar Staff answered 2 years ago

Hi Cole,

can you please tell me have you mapped that new calendar in Advance sync option section inside Extension settings page? Also are there any warnings when you open Extension settings page (at top of the page)?

Best regards,
Nikola

cole_enabnit replied 2 years ago

Hi Nikola,

Thank you for the quick response!

By “mapped the new calendar” are you asking whether I have entered the shared calendar in the Advanced sync section? If so, yes, I have entered the shared calendar in the advanced sync section. I have entered several calendars and shared all those calendars with my assistants to make sure it wasn’t an issue with the individual calendar. For every shared calendar, EA syncs events that I create but does not sync events my assistants create on the same, shared calendar.

I was getting a cron job warning before but have since configured the cron job in cPanel and the warning is gone.

cole_enabnit replied 2 years ago

After reviewing more of the prior questions asked on the forum, I wanted to add the following:
– I have read/write privileges on all the calendars;
– All the calendars are added under the Advanced Calendars sync and Location, Service, and Worker are set to Any;
– My cron job seems to be working correctly–I am receiving confirmation emails from cPanel and the events I add to my Google calendar sync to the EA calendar every 5 minutes;
– The Sync Interval in EA is set to 5 minutes;
– The default location and service are set;
– Sync data for next is set to 0 days;

The problem remains: events set by those with whom I have shared my calendar (I have given them read/write–“Make changes to events” in GCal) do not sync with the EA calendar.

cole_enabnit answered 2 years ago

Hi Nikola,
Any update on this issue?

cole_enabnit answered 2 years ago

Hey Nikola, I realize you\’ve probably got a lot to do but I would really appreciate some help with this issue. It\’s having a pretty serious impact on our ability to use your plugin effectively.

Nikola Loncar Staff answered 2 years ago

Hi Cole,

can you please create a temp account for me to access WP Admin part? Create it for email: nikolanbg[et]gmail[dot]com . I will have to check it on site.

Best regards,
Nikola

cole_enabnit replied 2 years ago

Hi Nikola,

I apologize for the slow response. It has been a busy day at work and I had to figure out how to create a temp account on WP. By figure out, I mean download a plugin. Anyways, I just sent you the link, hopefully it works.

Side note, I saw my cronjob stopped running every 5 minutes and switched to every 15 minutes. I called hostgator to find out why. Apparently, on a regular hosting plan, they only allow the cronjob to run every 15 minutes. However, with the exception of this sync issue, things seem to be working correctly.

cole_enabnit answered 2 weeks ago

Hi Nikola, I asked this question a long time ago. I mapped out the calendars as you suggested and things were working. I recently had to change the name of this calendar and now I am having the same issue. I think I have everything mapped out as you suggested (each worker set up with the calendar separately in the advanced settings). However, events employees create in the calendar I have shared with them do not block off the time in the EA calendar despite syncing.
 
In case I didn’t explain this well in my previous posting my goal is to have my assistants block off time using the shared calendar. Once they block off an hour in google calendar, I do not want clients to be able to book appointments in EA for that hour. Example: I tell my assistant I will be gone from 12PM to 3PM on 10/30. Assistant blocks that time out in the shared calendar. Currently, that appointment is not syncing to EA. Ideally, a client would not be able to book an appointment during that time period once the assistant has blocked it out in google calendar. This working until recently.

cole_enabnit answered 2 weeks ago

Okay, I resolved the issue. I think. It was pretty simple. I just needed to make my calendar was the last row in the Advanced Calendars Sync box. I also needed to re-authorize as I recently changed the site to https.
 
I see it says this below the Advanced box:
* For syncing the new Events created in Google calendar, last row for particular calendar will be used. Any field will be translated to Default Location and Service during sync back.
I just didn’t understand what that meant. My bad.