Home › Forums › Calendar Products › Event Aggregator › Sync Event Calendar Pro in Multisite
- This topic has 17 replies, 4 voices, and was last updated 9 years, 8 months ago by
desical.
-
AuthorPosts
-
July 26, 2016 at 8:28 am #1144223
desical
ParticipantHey,
I am working on a multisite where we have child sites for Event Organizers with Event calendar pro installed, and the main site.
I am looking for a solution to sync the Event Calendar from the organizers calendar to the main site.
For instance, we have a site at domain.com and a child site at organizer.domain.com both with event calendar pro installed. Both on the same server. Though with different databases[like a standard sub-domain multisite install]. I am looking forward to syncing the events from organizer.domain.com to domain.com.
Further, I would like to do the booking, ticketing, etc from the main domain and once and event tickets are sold out that should also show on the child site.
How can this be done? I am fine if I have to custom code it. Or even better if there is some plugin which can help us do this?
Are there any plans to have this in core multisite package? This would be very beneficial to have in the core events calendar pro plugin.
Curiously waiting for a reply,
July 26, 2016 at 9:25 am #1144261Cliff
MemberHi desical. Thanks for your business and for your question.
All our licenses (including the Multisite license) apply to the same code, so there’s no extra multisite-specific code available to customers with a Multisite license vs a Personal or Business or other license level.
However, you might be able to accomplish some of what you’re wanting via our iCal Importer add-on to, for example, obtain the URL to Site B’s iCal feed and import its events into Site A’s calendar. This would work the same whether or not the two sites were on the same network or were completely different single installation WordPress sites on different servers.
For your situation, though, iCal Importer would not import a series of recurring events (it would import each occurrence in the series as a single, standalone event), and it wouldn’t transfer over anything to do with tickets.
If you do go this route, this code snippet may be useful for you to export more events than just the current month’s:
https://gist.github.com/cliffordp/ab1f7c4d95723ee6f892
===
Another idea is to use our CSV importer (not a separate product) because it can handle tickets (but it will still import recurring events like iCal Importer does).
===
If you do need assistance with coding something more custom, you may want to ask your developer or reference our list of known customizers.
I hope this helps you better understand your options. Let me know if you need anything else on this topic.
July 26, 2016 at 10:29 am #1144297Cliff
MemberAn addition to my mentioning CSV Importer: our products do not have any CSV Export functionality… so importing ticket, events, etc. via CSV is usually only used when manually inputting items, not transferring from one site with The Events Calendar to another.
July 29, 2016 at 7:16 am #1145519desical
ParticipantI tried the iCal importer as suggested in your previous reply. I also added the code to functions.php in the child theme as you have asked. Now when I go to the import iCal options page I get and error saying “Your Start Date returned no results. Please adjust your Start Date.”
I am trying to sync a site on network ie: http://swaradhana.demodesicalendar.org/events/ with the iCal URL http://swaradhana.demodesicalendar.org/events/?ical=1&year-feed got this URL format from the GitHub Gist you have shared above.
I am importing it to the master site on demodesicalendar.org. Why isn’t it working? Is the iCal URL wrong? I have a test event scheduled for 15 Aug 2016, and tried todays date, then 14 Aug 2016 and then 15 Aug 2016 as the start date in the Options.
Please suggest,
July 29, 2016 at 1:03 pm #1145671desical
ParticipantHi Cliff,
Is it possible for you to provide a quick resolution today for the issue we reported. We are already 2 weeks behind on this project.This is a critical functionality that must work before we can go live on August 15, 2016. We had planned testing over this weekend, but the script you provided is not working as expected.
I will appreciate if you can escalate this provide solution today.
Thanks
AvinashJuly 29, 2016 at 5:17 pm #1145737Cliff
MemberHi. Sorry that happened for you.
I’ve seen that the “Your Start Date returned no results. Please adjust your Start Date.” message can appear even when the issue is actually something else entirely — just something to be aware of.
I tried your iCal URL in an iCal Validator and the issue is that it’s returning zero events.
I verified the result by downloading the .ics file from your iCal URL and opened with a text editor, and the Validator is correct that there are zero events.
I tried the code snippet on my local testing site again and it worked as expected. Maybe following our Testing for Conflicts Guide would help.
Please let me know how things go for you.
July 31, 2016 at 4:47 pm #1145957desical
ParticipantHi Cliff
We tried the steps you have described, the issue still exists. Can you please provide steps to debug the issue and write to a log so that we can figure out exact issue. We are getting close to our launch date and need to resolve this issue asap. We are new to The Event calendar and do not know the exact nature of how support works with clients other than updating the support ticket and wait for the response. Is there way we can setup time to work one on one and debug the issue while our developer and you or your developer works together to resolve this issue.
As always we appreciate your quick response.
Thank youJuly 31, 2016 at 8:08 pm #1145976desical
ParticipantHi Cliff
After few attempts we were able import few sites but it seems inconsistently importing the event information from site. Events from 3 other sites were imported successfully (see the screenshot). Schedule is set to 5 minutes in test environment.
Here are 2 sites created,created brand new events. Events are visible on the subsite but not at main site
demodesicalendar.org (to import using ical url i get: I run search I get: Your search returned no results. Please adjust your search.)
You can see the events by going to following urls. It would be great if you can assist us to debug the issue to resolve this issue quickly.
mmfrdemo.demodesicalendar.org
ical url: http://mmfrdemo.demodesicalendar.org/events/?ical=1&year-feedmarathisydneydemo.demodesicalendar.org
iCal url: http://marathisydneydemo.demodesicalendar.org/events/?ical=1&year-feedThanks once again.
July 31, 2016 at 10:02 pm #1145993desical
ParticipantHi Cliff,
I also noticed that it is not pulling newly added events.(recurrence is set for every 5 minutes and even when I ran import manually) If you can check the new event i added in Time square New York on Swaradhana.demodesicalendar.org
It now has 4 events, but shows up only 3 events on the main site.
It is critical for us to get this resolved, quick assistance to resolve this issue is appreciated.
ThanksAugust 1, 2016 at 10:45 am #1146170Cliff
MemberHi. Thanks for all the information.
We reply according to our Scope of Support / Terms. There is no one-on-one support. We only provide support via the forum, where you can expect at least 1 staff reply within 24-48 hours (internally, our aim is 24 hours) during the workweek.
1) Could you please explain how you implemented the “export 1 year of events” snippet? For example, did you put it in an MU plugin or add it to your theme’s functions.php and then all the sites run that same theme, or another method? If not running the same theme on each of your sites, please explain if this could be reason for the difference between sites.
2) Are you saying the exact same iCal URL (say from sub-site #3) put into the iCal Importer on multiple other sub-sites (say into sub-sites #2 and #4) are importing inconsistently?
3) In your latest reply, you mentioned 3 of 4 events imported. Was the 4th event possibly in the past (based on the date you used in the iCal Importer date search (that gets automatically populated with today’s date)?
August 1, 2016 at 7:21 pm #1146362desical
ParticipantHi Cliff,
I think I figured out the issue with import, it is importing events which are scheduled within month only, even though url says for 1 year
http://marathisydneydemo.demodesicalendar.org/events/?ical=1&year-feedJust as test I updated the date to a date in August which were not imported yesterday and all events were imported.
Can you please provide to resolve this issue, we would like to all scheduled events within one year.
We have added the code snippet to funcitons.php
As always I appreciate your quick response.
ThanksAugust 2, 2016 at 11:28 am #1146725Cliff
MemberHere’s an installable .zip file (install it at your Plugins screen) that adds two URLs:
- example.com/events/?ical=1&tribe_display=recently-published
- example.com/events/?ical=1&tribe_display=year
The first is useful when folks are trying to use the iCal importer to pull events from one website to another. It will contain any recently published or modified events. Note: It is subject to the postsperpage setting in WP-Admin > Events > Settings.
The second is much like the code snippet I shared with you before, but it only exports this year’s events (from January through December). The one I shared with you exports a year from today.
Maybe this plugin version is better suited for your needs (if using it, do remove the code from your theme’s functions.php)?
August 2, 2016 at 3:34 pm #1146824desical
ParticipantHi Cliff,
Thanks for the information. we will test and let you know.
I appreciate your quick response and support.August 2, 2016 at 3:45 pm #1146828Cliff
MemberYou bet. Please let me know what you find out.
Please note that threads get Closed automatically after a couple weeks of inactivity. If it does get Closed, please open a new thread, adding your current problem description and also linking back to this thread.
Thank you!
August 3, 2016 at 8:04 pm #1147429desical
ParticipantHi Cliff,
First of all once again thank you for your quick reply and for providing the fix for the issue.
It looks like it is working in our preliminary test. We are getting ready to finalizing the application and will be going though full test cycle. I would like to keep the ticket open just in case for few more days if possible.
I also would like to know what would be the best way to import/sync event pictures/photos from subdomain/child to parent domain? Is there a similar automation or process.I am hoping you all working on adding picture import functionality in your plugin. In the meanwhile any guidance or code to accomplish event photo import is greatly appreciated.
I am very thankful to you and event calendar for your excellent customer support and developing good products.
It has been crazy busy day today, sorry for the delayed response.
I am very excited to complete this application and looking forward to making it live on August 15.
I would like invite you to visit the site once we are live and look forward to your feedback.
Thank you once again -
AuthorPosts
- The topic ‘Sync Event Calendar Pro in Multisite’ is closed to new replies.
