Home › Forums › Calendar Products › Event Aggregator › ICAL Plugin was working until I installed Tribe Pro
- This topic has 9 replies, 3 voices, and was last updated 7 years, 11 months ago by Support Droid.
-
AuthorPosts
-
April 6, 2016 at 2:13 pm #1099171Brandon StinerParticipant
I purchased and installed ICAL plugin worked until I noticed it would not bring over reoccurring events. I deleted all 25 events.
Then I purchased PRO (which includes reoccurring function), I went back and re-run ICAL importer… here’s the error message: Your search returned no results. Please adjust your search.April 7, 2016 at 12:03 am #1099399BrookParticipantHowdy Brandon,
Good question. We are thinking of adding a manager for delete iCal events. Technically when you delete them it does not remove all trace of them. Many people who delete the event on their calendar do not wish for it to reappear next time the import runs. But some folks, like you, want exactly that to happen…
If you inset this script into your functions.php file it will permanently delete any iCal event you trashed. Visit any admin page, wait for it to load, then you can delete this script from your functions file.
/* * Deletes the saved copy of "deleted" events generated by iCal Importer * This allows you to re-import events. The script deletes 50 instances per page load */ $posts = get_posts( array( 'numberposts' => 50, 'post_type' =>'deleted_event') ); if (!empty($posts)) { foreach ($posts as $post) { wp_delete_post( $post->ID, true); } } else { echo 'Done deleting!'; }
With that done you should now be seeing all of the events available when you try to reimport.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
April 13, 2016 at 1:04 pm #1102112Brandon StinerParticipantThis reply is private.
April 13, 2016 at 3:18 pm #1102185BrookParticipantHowdy Brandon,
I must apologize, I had not given that snippet I shared a whirl before sharing it. I just tried it myself and it was not working amazing for me. I am wondering if that is the problem here.
I have a different snippet that does the same thing, and I wrote this one myself! Just tested it again, on your iCal feed, and it seems to be working great. Do you feel comfortable running SQL queries, perhaps from PHPMyAdmin? If so:
https://gist.github.com/elimn/2375dcd3e5ee4bcbf1ed86f5cbdb4620
If that doesn’t work for you let me know and we’ll find an alternative. I just got some great news about this, likely in v4.1.2 of our iCal importer we will release a fancy button you can click to do all this for you. Until then, what do you think of trying the above?
Cheers!
– Brook
April 17, 2016 at 9:27 am #1103592Brandon StinerParticipantHi Brook,
Good morning!
I asked our IT guy to run the SQL code.
A, B, C, D doesn’t work. The IT guy thinks line 14 is missing something.
It will not run, because abcd is not right.April 17, 2016 at 11:03 pm #1103646BrookParticipantHowdy Brandon,
Sorry this has been such a pain! I don’t think that’s it, line 14 is pretty straightforward. It’s just deleting ABCD, which the rest of the script defines. It is also running greatin our tests. I could see it being something else though, like perhaps a nonstandard table prefix (something other than wp_ ) or similar.
Regardless I think we can make this simpler for you and cutout the SQL guy. If you install this plugin and use it to delete the ‘deleted_event’ Custom Post Type then it will do the same as the above, all without needing to run a SQL query. I don’t like having folks install extra plugins if you don’t usually need them, but in this case you can delete it as soon as you’re done with it. Does that sound like a good option?
- Brook
April 17, 2016 at 11:03 pm #1103647BrookParticipantHowdy Brandon,
Sorry this has been such a pain! I don’t think that’s it, line 14 is pretty straightforward. It’s just deleting ABCD, which the rest of the script defines. It is also running greatin our tests. I could see it being something else though, like perhaps a nonstandard table prefix (something other than wp_ ) or similar.
Regardless I think we can make this simpler for you and cutout the SQL guy. If you install this plugin and use it to delete the ‘deleted_event’ Custom Post Type then it will do the same as the above, all without needing to run a SQL query. I don’t like having folks install extra plugins if you don’t usually need them, but in this case you can delete it as soon as you’re done with it. Does that sound like a good option?
- Brook
April 19, 2016 at 3:28 pm #1104563Brandon StinerParticipantThis reply is private.
April 20, 2016 at 1:36 pm #1105057BrookParticipantI am sorry that was such a pain, but glad it was few enough events you could manually reimport them. I just issues a refund for the iCal importer, you should see the funds back in your account as soon as your financial institution processes them, which usually takes a few days.
Please let me know if you need anything else. Cheers!
– Brook
May 5, 2016 at 9:35 am #1111075Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘ICAL Plugin was working until I installed Tribe Pro’ is closed to new replies.