Import and export events feature in Modern Events Calendar enables you to integrate your event website with previously recorded data on various calendars like iCal and Google.
How to Import/Export Events in Modern Events Calendar?
There are 8 tabs in the Import/Export menu, which are explained in details below:
Google Cal. Import
In order to be able to import from Google Calendar, you must have a calendar which is public.
Therefore, you need to set the Google API Key (you should enable the Google Calendar API for your Google API) and Calendar ID.
If you need a specific time, then you need to set it as well.
Also, note that for importing from Google Calendar to MEC, the timezone of your WordPress needs to be as same as your Google Calendar timezone.
Click here for more information about Import/Export events to/from Google Cal.
Google Cal. Export
It has the same circumstances as importing, however, you should set the required information.
Facebook Cal. Import
Set your Facebook Page Access Token and Facebook Page Link, and click on the Import button. Click here for more information about Import/Export events to/from Facebook Cal.
Get and set the Group Slug and API Keys for Meetup. Click here for more information about Meetup API Keys.
This tab is for syncing MEC with other platforms. For auto-sync of CronJobs, you need to contact your host provider.
Auto set cronjobs (Once Daily):
If you want to set automatically syncing MEC with your desired synchronizations, you need to enable the desired platform that you need to get automatically synced.
There are 4 different options in this section:
Export all events to file
You can export in all iCal/CSV/MS-Excel/XML/JSON file formats. You only need to click on the format you need.
Export certain events
For exporting filtered events, you can use bulk actions in Events page.
Export all bookings to file
Using this option you can export all of your website bookings’ data into your desired format.
Export certain bookings
For exporting bookings, you can use bulk actions in Bookings page.
Export all RSVPs to file
Using this option you can export all of your website’s RSVP data into your desired format.
The exported XML, CSV, or ICS file only works in this importer.
Third Party Plugins
Transferring your events from other famous plugins is possible using this section.
Click here for more information about import events from third party plugins in Modern Events Calendar.
This tab provides you with all the necessary tools to migrate from the following calendars to MEC.
- The Events Calendar
- Events Schedule WP Plugin
- Calendarize It
- Event Espresso
- Events Manager (Recurring)
- Events Manager (Single)
- WP Event Manager
Select the corresponding plugin which is activated on your WordPress along with MEC, and click the Start button.
This way, all the events will be transferred to MEC with a single strike of a button.
The time it takes to import depends on the number of your events and also your WordPress configurations on the server.
Important Tips to Set up CronJobs
- The Google Calendar should be public to import
- The timezone on WordPress and Google Calendar needs to match
- API Key should be enabled for Google, check the client ID too. It has been explained how to do it in the video above.
- For CronJobs, check these items:
- Import manually for the first time so the API would be set in MEC.
- Go to MEC Settings > Import/Export > Synchronization Tab, and copy the URL it provides.
- Go to your site cPanel and use this URL in Cron Jobs
Note: Cron job is a feature of hosting control panel and you need to contact your host provider to set it.
Click here if you are experiencing troubles getting your Cron Jobs to work.