Forum Replies Created
-
AuthorPosts
-
November 6, 2015 at 12:03 pm in reply to: Altering Event Tooltip display / displaying Additional Fields in tooltips #1022647
Nico
MemberThis reply is private.
Nico
MemberCarl,
Thanks for following up on this, and for your feedback on this. I guess it’s kind of a known issue, the geo-loc search is a bit limited and we are aware of that, it’s just that there’s not an easy solution for us to pull in. Hopefully it does help most of our customers, but I totally feel you when you say it doesn’t work at all for your case!
From your comment I guess you are fine at this point, sorry not to have a better answer this time and I’m mostly sure this will be revisited at some point in the future for sure.
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.
Have a great weekend,
NicoNovember 6, 2015 at 11:45 am in reply to: Events Turned to 404 Errors After Update & Customize Size of Calendar #1022640Nico
MemberThis reply is private.
Nico
MemberHey Douglas,
what interval are you testing the auto importing? I believe most of us are using the hourly.
Hourly as well !
Regarding your note, I really feel you there and completely understand the frustration when things doesn’t work as expected. On my side I’m truly doing all I can to find a solution for this issue (I’ll be setting a new test site on a different environment to continue to try and reproduce this). I’ve also reached out to our product manager on this and a developer will be assigned to set up new tests to catch this issue as well, the thing is that until we can reproduce and define a scenario where this fails consistently it’s hard to craft a fix 🙁
@Douglas if you are up to creating a test site in a staging server with default conditions (Default WordPress theme, The Event Calendar + Facebook Importer + PRO -or not-) that colud be a great source of information. If you do so and find a way to reproduce this (maybe setting imported events as ‘pending’ as you stated above) then I will ask you for instructions + db export so one of our devs can take a deeper close into that evidence.
Thanks again every for your patience with this issue, and I truly hope we can solve this soon,
Best,
NicoNico
MemberHey Jacob,
Here’s the code to delete the ‘deleted events notes’. Add this to your functions.php file and it will delete 50 ‘notes’ per page load, once it finishes deleting (shows the message) comment the snippet out!
/* Deletes 50 posts 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!';
}
This will allow the deleted instances to be re-imported. If you want to disable this behavior then add this other snippet:
/*
* Prevents iCal importer from saving a copy of "deleted" events
* This means when you rerun an import, it will reimport any events you previously deleted
*/
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 give that code a try and let me know about it,
Have a great weekend,
NicoNico
MemberThis reply is private.
Nico
MemberStocked to hear Anthony 🙂
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.
Have a great weekend,
NicoNico
MemberHowdy Casey,
Welcome to our support forums and thanks for reaching out to us. I’ll try to help you here!
Unfortunately there’s no ‘clean’ way to hook and prevent the check for existing posts. But there’s one ‘not so clean’ solution you might want to try before considering this as not possible. The function that looks for an existing event makes use of get_posts/kbd> which we can 'hijack' to make it always return no matches with the following code:
/* Only activate this snippet before importing, and make sure to deactivate it after the import is done */
add_filter( 'posts_search', 'hijack_filter_query_for_title_search', 15 );
function hijack_filter_query_for_title_search( $search ) {
global $wpdb;
$search .= $wpdb->prepare( " AND {$wpdb->posts}.post_title=%s", 'xxxx' );
return $search;
}
Do you understand what the code will be doing ? I'm sorry there's no 'correct' way of doing this, but I guess this workaround might help you out. Please let me know if it does indeed,
Best,
NicoNico
MemberHi Anthony,
Thanks for reaching out to us! I’ll try to help you here 🙂
A. When I add the code from that topic to my functions.php nothing happens. I can not find a way to reach the product page of a ticket. What am I missing?
This code disables the hook hijack_ticket_link which replaces the link to the WooCommerce product with a link to the Event in the order confirmation page. So you won’t notice anything upfront.
B. On the single events page I need a link to the products page of a ticket. The code snippet needs to be added in wootickets/tickets.php but I can’t get that to work. I there a complete sample on how to accomplish this?
Please start by checking out our themer’s guide which gives you an overview of how to create template overrides. I’ll describe the process below:
- Create the following folder structure ‘tribe-events/wootickets/’ inside your theme folder (‘wp-content/themes/your_theme/’).
- Inside the newly created folder, create a new file called ‘tickets.php’, the complete path should be ‘wp-content/themes/your_theme/tribe-events/wootickets/tickets.php’.
- Paste the code below in the file you just created:
https://gist.github.com/theeventscalendar/eedc81ba148e0346dfee
Now you should see a list of links to the different product pages instead of the tickets form.
Please let me know if this works for you,
Best,
NicoNico
MemberHowdy @designoneweb,
Welcome to our support forums and thanks for reaching out to us. I’ll try to help you here!
Can you share with me the calendar you are importing? I would like to run some test with it in my local install. You can mark the reply as private so this doesn’t get publicly visible!
It is strange that the importer isn’t working properly now because it was when we first installed it.
Really curious about this, was it installed in the same site/server? Do you have a staging site where you could reproduce this?
Please let me know about this,
Best,
NicoNovember 5, 2015 at 10:20 am in reply to: Programmatically tell if an event is part of a series of recurring events #1022262Nico
MemberHey Substance,
Stocked to hear! Glad to be of service 🙂
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
MemberHey Jan,
Thanks for confirming this is solved 🙂
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
MemberYou are welcome Twin! Glad to be of service 🙂
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
MemberThis reply is private.
November 5, 2015 at 5:46 am in reply to: Events Turned to 404 Errors After Update & Customize Size of Calendar #1022104Nico
MemberThis reply is private.
-
AuthorPosts
