Forum Replies Created
-
AuthorPosts
-
Nico
MemberHi Lynne,
Thanks for following up on this! Unfortunately I cannot do this for you – it would be out the support scope we can provide here.
If there are not many events I would recommend to create them manually. But another possibility might be to restore the back-up db intro a local site and export events, venues and organizers using the WordPress Importer, and importing them into the ‘current site’, using the same tool. If you do note that you should import venues and organizers first, then Events.
Please let me know if you can manage to restore the events this way,
Best,
NicoNico
MemberHey Anthony,
The first function stops the importer from making a “note” that a particular event has been deleted, and will reimport the event regardless of whether or not it has been deleted. This would not work in my case because the “note” of the deleted events have already been made.
That’s correct, you can add it if you want to prevent future “notes”.
The second is an SQL command (not sure if thats the right word), that I would run on my database that actually removes those “notes” that are made by the iCal importer. I would need to do this in my circumstance because the “note” has already been made.
You are right again! Sorry for assuming that you might be familiarized with SQL. As an alternative you can add this code to the theme’s functions.php file:
/* 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 delete 50 ‘notes’ per page load. If you are not sure if it’s done you can uncomment the ‘echo’ line to check if the message comes up in the source code.
Please let me know if this solutions seems better for you,
Best,
NicoOctober 8, 2015 at 11:05 am in reply to: breaking event from series – getting error messages – permalink issue? #1012779Nico
MemberHi Peter,
Thanks for reaching out to us on this!
Looks like the first error is clearly related to The Events Calendar but I guess the other error is something I’ve not seen in the past. As you say it’s probably a hosting related thing, Can you ask them about it?
Can you confirm you are running the latest versions of our plugins? I’m aware a couple of fixes regarding custom recurrence were introduced in the maintenance releases of Events Calendar PRO.
Please let me know if updating fixes the error message, otherwise I’ll share this with the dev team for them to investigate further,
Best,
NicoNico
MemberHey Gary,
George is sick today, but thanks! We’re glad you’re sorted!
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,
NicoOctober 7, 2015 at 1:46 pm in reply to: Deleting Multiple Events & Category of Events: Issues with iCal Importer #1012477Nico
MemberThis reply is private.
Nico
MemberHey Florin,
Thanks for getting back to me on this once again!
To adjust week view I can suggest to things, that might work well together:
1- Cut down the hours shown in the view. Add this snippet to your theme’s functions.php file:
/* cur down hours from week view */
add_filter( 'tribe_events_week_get_hours', 'filter_week_hours' );
function filter_week_hours( $hours ) {
$hour = 0;
foreach ( $hours as $key => $formatted_hour ) {
if ( $hour < 9 || $hour > 22 ) {
unset( $hours[ $hour ] );
}
$hour ++;
}
return $hours;
}
2- Change the height of the week view grid, to avoid the scrollbar. Add this CSS to your theme’s stylesheet:
.tribe-events-grid .tribe-scroller {
// set value to desired week view height
height:1000px;
}
Regarding the button, you can add it as described in previous replies. The actual html of the link would be something like this:
#tickets" rel="bookmark">Warenkorb
Making the button to add the ticket and go directly to the chechkout is a customization that would be out of the forum support scope. We can make it go to the tickets form instead which is quite simpler. First add the ‘#tickets’ hash to the link you want to direct to the tickets form (as shown in the sample code above).
Now we need to add that ‘id’ to the tickets form, for that you’ll need to create a template override as described for the other templates. In this case the file to copy is ‘wp-content\plugins\wootickets\src\views\wootickets\tickets.php’ and drop the copied file to em>’wp-content\themes\your_theme\tribe-events\wootickets\tickets.php’. Once the copy is placed, edit the file and in line 9 add the ‘id’ property to the form:
<form id="tickets" action="<?php echo esc_url( $woocommerce->cart->get_cart_url() ) ?>" class="cart" method="post" enctype='multipart/form-data'>
On your question about booking, I’m not sure what you are asking… If the event has passed the user won’t be able to purchase the tickets, that’s the default behavior.
Please let me know if you can manage to adjust week view and create the ‘Warenkorb’ buttons,
Best,
NicoNico
MemberHi Adam,
Getting back to you on this:
#1 – With the exact same settings as you show I’m getting the events generated correctly but the recurrence is not saving the ‘On the last Friday’ part of the setting. I’ve already log this bug in our backlog.
#2 – I could reproduce as well, I’m seeing the same as #1, the ‘On the last Friday’ is not saved as well but events are generated properly. Note: to see the custom recurrence settings after saved/update you can toggle the rule visibility: https://cloudup.com/cLke8BQB5OK.
Can you try #1 again? Maybe we are facing the same Bug here and it was it causing the event to be incorrectly created.
Please let me know,
Best,
NicoNico
MemberHowdy Bernd,
Welcome to our support forums and thanks for reaching out to us. I’ll try to help you out on this!
First of all I’m glad to hear we are in a much better spot now than we where in 3.9 regarding our translation support 🙂
On the particular issue you reported, I could reproduce it locally, and manage to solve this by re-downloading the translation files for German: http://translations.theeventscalendar.com/projects/tribe-events-calendar-pro/de/default. Please re download .po and .mo exports and let me know if that fixes the issue for you. Also flush any cache storage before re-testing. I could also reproduce this with Spanish and also fixed by re-downloading the translation.
I’ll investigate if the latest version of the translation files where included in the latest zips of the plugins, thanks for reporting this!
Best,
NicoNico
MemberHi Alex,
Thanks for reaching out to us! I’ll try to help you out here…
I see that you license for EventBrite tickets is still active and won’t expire until next year. Anyway if the license expires the plugin should still be active. Not sure it’s related with the issue you are experiencing.
Regarding that event you show me, Do you see the corresponding tickets in the backend (when you edit the event)? Did this stopped working for all events or just in particular cases?
Please let me know about this follow-up questions,
Best,
NicoOctober 7, 2015 at 8:06 am in reply to: Last tickets info are wrong in confirmed tickets email #1012330Nico
MemberHowdy Suha,
Welcome to our support forums and thanks for reaching out to us. I’ll help you out on this one 🙂
THis sounds a bit strange, and cheking the product backlog I don’t see any known issues that might relate to this one. Screenshot would be appreciated and also steps to reproduce this, before we continue to troubleshoot this i would like to run a quick test to see if I can reproduce this on my end.
But sometimes last tickets info replaced by order info.
By last tickets, you mean the last ticket available before running our of stock?
Best,
NicoNico
MemberHi Jacob,
Thanks for reaching out to us! I’ll try to help you out on this…
Unfortunately there’s no configuration available to do this. Per default Venues are ordered by title in the filter, but you can add a filter to change the order of the filter values:
add_filter( 'tribe_events_filter_values', 'modify_filter_values', 20, 2);
function modify_filter_values ( $values, $slug ) {
if($slug == 'venues') {
// as an example revert the order
$values = array_reverse ( $values );
}
return $values;
}
Regarding the selection of the filter you can link users to the filtered URL. For example: http://site.com/events/?tribe_venues%5B%5D=28 (where 28 is desired venue ID). If you want to maintain the URL without changes then maybe a JS snippet to ‘check’ the filter after the page loads is the way to go.
Please let me know if I understood this correctly in first place,
Best,
NicoNico
MemberHola!
Gracias por ponerse en contacto con nosotros! Por el nombre de usuario y la URL del sitio supongo que puedo contestar en español, pero si preferís podemos seguir en ingles.
Por lo que veo en el sitio hay una cantidad “grande” de eventos, la cual va a generar sin dudas una carga en la base de datos. Generalmente los problemas de performance en sitios con gran volumen de eventos se resuelven escalando el servicio de hosting de una cuenta compartida a una dedicada con mas recursos. Por otro lado la correcta implementación de un sistema de cache suele ser otro de los caminos a seguir – si bien veo que en el sitio esta instalado el plugin ‘WP-Super Cache’ a veces la configuación del mismo puede influir dependiendo las caracteristicas del sitio.
Podrías confirmar la cantidad de eventos que hay alojados en el sitio como para poner el problema en contexto? Podrías describir también las características del servidor o plan de hosting contratado?
Espero su respuesta,
Saludos,
NicoNico
MemberHey Tom,
Thanks for following up on this! I’ve tested this locally and it’s working as expected on my end. So let’s try to trouble shoot this a bit further:
1 – Make sure you are using the latest versions of both The Events Calendar and Events Calendar PRO. I would appreciate if you shared your system information with me as well.
2 – Can you please follow the steps described in our Testing for conflicts guide? This way we can see if this is a problem in our plugin or a conflict with the theme or other installed plugins.
3 – After this steps #1 and #2, please try re-saving the event.If you still see that the instances created out of the 6 months limit, please send me a screenshot of the recurrence settings of the event.
Thanks,
NicoNico
MemberHey @laughmasters,
NP about that!
As for products not showing up – the problem is that the ID number for the woo commerce product (ticket) is different than the ID number for the event.
In fact that’s how it works! Tickets and Events should not have the same ID. The code provided by George, grabs the ticket ID after it was created and sets the visibility property to ‘visible’. This should be working in your site, if you confirm it’s in place but not working we can trouble shoot that in depth.
add_action( ‘wootickets_after_save_ticket’, ‘tribe_set_wootickets_to_public_visibility’ );function tribe_set_wootickets_to_public_visibility( $ticket_id ) {
update_post_meta( $ticket_id, ‘_visibility’, ‘visible’ );
}
Right now its a LOT of steps.
What do you mean? Event + tickets creation takes a lot of steps? Or you where just referring to this visibility change?
Please let me know, we are always interested in hearing your feedback,
Best,
NicoNico
MemberYou are welcome David 🙂
I’m leaving this thread open until I have feedback from @communityanswers as well.
Best,
Nico -
AuthorPosts
