Home › Forums › Calendar Products › Event Aggregator › Reset iCal Importer
- This topic has 5 replies, 4 voices, and was last updated 7 years, 7 months ago by Mitchell.
-
AuthorPosts
-
August 25, 2016 at 10:51 pm #1156208MitchellParticipant
Just purchased the iCal plugin to test it out. I imported all the events from an ICS calendar and then deleted them to re-import them… but that didn\’t work. I read through your documentation that deleted events would not be imported afterwards… so now my question is, how I can I reset the ICS Import completely so that I can re-import these events.
August 25, 2016 at 11:39 pm #1156215Geoff B.MemberGood evening Mitchell and welcome to the Events Calendar forums,
There are a couple of ways to reset things. But before you do anything, I highly recommend making a complete database backup and having the ability to revert to that backup if necessary.
- As my colleague Josh explains it, once deleted, the imported events are stored as “deleted_event” post types. Read his solution here: https://theeventscalendar.com/support/forums/topic/not-all-events-importing-importing-historical-events-only/#post-1133381
- If you prefer, and you are comfortable with editing your theme’s functions.php file, I could share a more specific snippet that does exactly the same thing.
Let me know how that goes,
Best regards,
Geoff B.August 27, 2016 at 12:27 pm #1156727MitchellParticipantThanks for getting back to me Geoff.
I read through the post you sent me and I have 2 questions:
– I installed the Bulk Delete plugin but could not find the “deleted_event” post type. Only types I could find were Post, Page, Project, tribe_venue, tribe_organizer, tribe_events. What am I missing here?
– If an event is updated or deleted from the iCal calendar, will that event be updated or deleted in the Events Calendar?Thanks.
Mitchell.August 29, 2016 at 7:59 pm #1157378Geoff B.MemberGood evening Mitchell,
Thank you for writing back.
I would love to answer your questions.
– I installed the Bulk Delete plugin but could not find the “deleted_event” post type. Only types I could find were Post, Page, Project, tribe_venue, tribe_organizer, tribe_events. What am I missing here?
I am not sure exactly why you can’t find deleted events on your install.
In any case, I believe you are a prime candidate for the second solution: the snippet.Would you mind temporarily adding the following piece of code to your theme’s functions.php (without the opening <?php statement): https://gist.github.com/GeoffEW/5ca8736e9969dba7908622f31b932321
– If an event is updated or deleted from the iCal calendar, will that event be updated or deleted in the Events Calendar?
This will depend on a few things, but the when an event is deleted or updated from the master iCal calendar, your Events Calendar should reflect that.
Of course, there are instances where that does not work for a variety of reasons, but most of the time it should follow the calendar properly.
And if not, we are definitely interested in finding out why.Let me know how that goes.
Best regards,
Geoff B.September 20, 2016 at 9:35 am #1166488Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Reset iCal Importer’ is closed to new replies.