Forum Replies Created
-
AuthorPosts
-
Nico
MemberHey Keith,
Thanks for following up on this!
iCal importer stores a “note” on imported events so that deleted events are not re-imported (as this would be the desired behavior for most cases and for automatic imports as well).
Add this snippet to your theme functions.php file. It will remove those saved noted. Re-load the Import page (it will run once per page-load) until the message “Done Deleting” is shown, and then remove the snippet:
/* Deletes 50 'deleted events' 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!';
}
To prevent “deleted events notes” from being created in the future, add this other snippet to your functions.php file:
/*
* Prevents iCal importer from saving a copy of "deleted" events
*/
function tribe_ical_dont_save_deleted () {
$ical_importer = Tribe__Events__Ical_Importer__Main::instance();
remove_action( 'before_delete_post', array( $ical_importer, 'deletedEventSave' ) );
}
add_action( 'wp_loaded', 'tribe_ical_dont_save_deleted' );
Please let me know if you get the events to show again after using the snippets.
Best,
NicoNico
MemberHi @accesswinnipeg,
Thanks for following up on this!
This is happening before i do the upload. I’ve attached a screenshot. Start Date/Time, End Date/Time, and venue are not coming over.
Indeed there’s an issue with star date and end dates. The venue is not shown in this table, so there’s no error on that.
Also, I am not using and filters when searching so I’m not sure why only 13 results are coming in (now its only 12 coming in)
By default the filters set the date ‘from’ to the actual day, so you are only seeing upcoming events in there. Try to change this date to see past events available as well.
Regarding the sample event you sent, you mean those fields are not getting imported or they are not showing up in the pre-import page. If the later is the case then it’s ok, because those fields are not intended to show up there. On the fields ‘mapping’, the summary field is used as the title while the description field is used for the event content.
So, for now the only error I’m seeing is the dates appear as ‘jan 1970’ for you. I found a logged bug about this issue, in the issue description it seems this is happening only with version 4.1.1 of the plugin. Is this the version you are using? It would be great if you could share your system information with me so I can check if everything looks right on that end.
Best,
NicoNico
MemberHey Margaret,
Developers are still looking into the issue, it seems to be affecting just some installs not all of them. So we are in the process of identifying the conditions in which this issue happens, not to give a partial solution, I mean a fix that only works under certain conditions but not for all folks. This is a bit more complicated than we anticipated, and we are sorry about it. This is totally under our radar and we are trying our best to have a fix soon.
Thanks for the patience,
Best,
NicoApril 19, 2016 at 5:02 pm in reply to: Importing events and missing data in Venue location? #1104629Nico
MemberHi Michael,
Thanks for following up and sorry to hear this is still an issue 🙁
Did you follow the field mapping I sent? I guess the error might be there, because clearly what you are getting is not right. Maybe the encoding is an issue? I see that less likely to be the cause, you mention UTF-8 converter and us-ascii format, Can you elaborate the encoding done if any?
Stepping back a bit… Are you using latest versions of the plugins? WordPress version?
Please let me know about it,
Best,
NicoNico
MemberHi @ckas,
Thanks for following up with the details on this!
I guess the issue comes up because of the event settings. Try changing the event end date to 09/04/2016, and then save please save the event.
The star and end dates of the ‘original event’ should be set as if wasn’t recurrent. Then the recurrence settings will take care of the rest.
Please let me know about it,
Best,
NicoNico
MemberHey Nathan,
Thanks for following up and for the testing, really appreciate it!
I’m still struggling to reproduce the issue in my local install,
I’ve tried with named timezone Auckland and with UTC+12, both in WordPress and also on the event, but the event always shows up. I’m not sure what might be the configuration difference between my site and yours. Can you please send over a screenshot of the general settings (like this https://cloudup.com/c37U_f9mfci)?
If you could test this in a fresh install that would very helpful! If it can be an online install even better.
Thanks,
NicoNico
MemberHey Mike,
Sorry for the delay in my reply, as you posted several times the thread kept going to the bottom of my queue so I’m noticing it now.
I’ll share this with a dev and let you know about it later.
Best,
NicoNico
MemberThanks for clarifying HRR! Now it makes more sense…
My guess is you had a snippet for this in your functions.php file and a theme update might cleared. Do you think that might be the case? Maybe the code is still in place but needs an update?
Barry from the support team wrote a snippet a while back to change this for venues. Just replace the word venue for organizer and it should work:
https://gist.github.com/barryhughes/f470694fc3b0f2d2026f
Paste into your functions.php file and then go to WP-Admin > Settings > Permalinks > Save Changes.
Please let me know if this works for you,
Best,
NicoNico
MemberHey Ben,
Thanks for the note!
I haven’t tested the code out, but you might want to wrap the code in a view conditional:
if ( tribe_is_list_view() ) { ... }
Hope that helps,
Best,
NicoNico
MemberThanks for the understanding Roger, hope to have some news to share really soon!
Nico
MemberThis reply is private.
April 19, 2016 at 8:05 am in reply to: Admin can't see event created by contributor in the website front end Event list #1104234Nico
MemberHey Tom,
Thanks for the heads up! Indeed this is not a known issue, at least it isn’t logged as a bug in our backlog. I know testing for conflicts is not the best for live sites, we usually recommend to do this tests in a staging, dev or local server. There are various plugins that let you duplicate/migrate an entire site from one environment to the other, you might find this useful if you plan to set a test site.
Hope you have better luck on the S2member forum! Do you want me to keep the thread active in case there’s a reply from the S2member team?
Best,
NicoApril 19, 2016 at 7:56 am in reply to: Change Woocommerce Label in Community Event Submission Form #1104226Nico
MemberGlad to hear Zeina 🙂
I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.
Best,
NicoNico
MemberThat’s great Hanneke! Glad to be of service 🙂
I’m leaving this thread open in case Thomas needs something else.
Best,
NicoNico
MemberHola Antonio, como estas?
Gracias por ponerte en contacto con nosotros.
La cuestión de fondo del problema que comentas tiene que ver con que todavía no esta desarrollado el soporte de tickets para eventos recurrentes por lo cual si bien pueden funcionar provisoriamente todavía hay errores o comportamientos inesperados en su implementación. En este caso al parecer tenia que ver con la opción de esconder el evento de los listados.
Avisame si puedo ayudarte en algo más o estamos bien para cerrar el ticket,
Saludos cordiales,
Nico -
AuthorPosts
