Forum Replies Created
-
AuthorPosts
-
January 18, 2018 at 2:17 am in reply to: Event Tickets Plus β Tickets Not Showing on Creating Event #1429233
Andras
KeymasterThis reply is private.
Andras
KeymasterWhoa, stoked to hear that actually worked. π Awesome to hear.
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
Cheers dude,
AndrasPS: If you like our plugins, and you didn’t yet do so π we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
https://wordpress.org/support/view/plugin-reviews/event-tickets/PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. π If you can spare a few words, that’s even better. Doublethanks!
Andras
KeymasterHello Jack,
Thanks for using our plugins and welcome to the forums!
Great questions! I can help you with these.
A good starting point is our Themer’s Guide, which will explain in detail how you can create a template override, even for the email file. (You might have done this already.)
Image: You can assign an image to the tickets and that will be included in the email as the header.
You can set it up when you click on “Settings” in the Tickets box when editing and event / tickets. (Screenshot)
If you want to use the featured image of the event, then you can use the get_the_post_thumbnail() function of WordPress (link). You will need to provide the event id, which you should be able to get with ‘$event->ID’ in the email.php file.
For showing the ticket description you should be able to use get_the_excerpt from WP (link), just need to feed it the id of the ticket.
Hope this helps you get started. Let me know.
Cheers,
AndrasJanuary 17, 2018 at 1:03 pm in reply to: CPU load issues sometimes bringing down the server. #1428883Andras
KeymasterHello Christian,
Thanks for using our plugins and welcome to the forums!
I’m sorry to hear about the CPU load issues you are having. Let me try to help you with that.
When are you experiencing the heavy CPU loads, at what action? Is it when visitors browse events or when you are doing something on the admin side?
Maybe some of these you are familiar with, nonetheless I’d recommend the following readings that are performance related:
- Caching Basics – https://theeventscalendar.com/knowledgebase/caching-basics/
- Caching Month View Transients – https://theeventscalendar.com/knowledgebase/caching-month-view-transients/
- The Events Calendar Performance Considerations – https://theeventscalendar.com/the-events-calendar-performance-considerations/
Could you also share 1-2 full queries that seem to be causing the slowness? That will give us something to start with.
Thanks and cheers,
AndrasJanuary 17, 2018 at 12:30 pm in reply to: changing recurent event dates gets 404 and broken links #1428848Andras
KeymasterHello again Luis,
Sorry for the somewhat longer waiting time. I had some discussions with the team to get this fully sorted.
It is as I said before. When an event date or recurrence rule is changed and the event is updated, then all the previous recurrences are deleted and then re-created. If the dates have changed, then they will get a new url / slug.
There is a minor failsafe in place. In case a date, and so a url has changed and a user visits the old url, then the first upcoming event (or the first event) in the series will be loaded.
when you share from calendar to a post on a social network (Facebook), then you need to change calendar date and you will get a broken link
Yes, that is so, in case the failsafe doesn’t kick in for some reason.
The way around this can be:
- using URL redirection
- using single events instead of recurring ones, because the slug of single events do not contain the date, thus the slug doesn’t change if the date changes
I hope this give further clarity on the case. If you have any further question, let me know.
Cheers,
AndrasAndras
KeymasterHi Marco,
I adjusted the above snippet so that the times are not changed for all-day events, but it still gets the new timezone.
Try it with that one. Don’t forget to change the feed to null again after pasting it.
I tested it with your feed and seemed to work. Let me know if it works for you as well.
Cheers,
AndrasAndras
KeymasterHi again,
I got some good news.
If you put this snippet into your theme’s (child theme’s) functions.php file, then it will show the true publication date for the events as “<pubDate>” in the RSS feed.
remove_filter('get_post_time', array( 'Tribe__Events__Templates', 'event_date_to_pubDate', 10) );Give it a go and let me know if this does the trick for you.
Cheers,
AndrasAndras
KeymasterHello,
Is there an easy to way for me to change that w/out editing the plugin files?
I will need a bit of time to check this for you.
As far as I know the feed is generated by WordPress so probably it can be customized like this.
I will still try to get back to you with a bit more info on this.
if the event is in the future, WordPress assumes itβs βScheduledβ instead of βPublished.β
I would like to give some clarification on this so we are on the same page.
If you look at the RSS feed, then a future event does seem to be “scheduled” because the publish date is the future start date of the event.
However, when you create an event on your site, then the publish date will be when you first created / saved that event. (screenshot)
Cheers,
AndrasAndras
KeymasterHallo Felix,
I was digging around a bit and there might be a way to make it “stable”.
In this article I found this snippet:
add_action( 'pre_get_posts', 'custom_teardown_tribe_order_filter', 60 );
function custom_teardown_tribe_order_filter() {
if ( is_feed() ) remove_filter( 'posts_orderby', array( 'Tribe__Events__Query', 'posts_orderby' ), 10, 2 );
}Obviously the above does something totally different, but based on that you can try this:
add_action( 'pre_get_posts', 'add_private_events_to_rss', 60 );
function add_private_events_to_rss() {
if ( is_feed() ) add_filter( 'post_status', array( 'publish', 'private' ), 10, 2 );
}I haven’t tested this but logically makes sense. π
Would this help?
Andras
January 17, 2018 at 12:59 am in reply to: Event Tickets Plus β Tickets Not Showing on Creating Event #1428286Andras
KeymasterThis reply is private.
Andras
KeymasterThis reply is private.
January 17, 2018 at 12:35 am in reply to: There may be an issue with the Event Aggregator server. #1428272Andras
KeymasterHi Adam,
Thanks for getting back to me and I’m happy to hear that importing works now.
A note on entering the license key: after you add the license key under Events > Settings > Licenses tab wait for the green success message and then hit the “Save changes” button so the key gets saved. Otherwise next time the key will not be there.
There needs to be more testing done to ensure that this process is seamless.
I can assure you that everything goes through a thorough testing process and quality assurance before being released. Even though we do our best it is impossible to account for all scenarios. That is when you can turn to our help desk and we’ll help you out the fastest way we can.
I’m sorry about one day falling out for you. We try to minimize that as much as we can. In case you will have more fallouts due to an issue on our side then I can check for you how we can compensate that.
I am going to close this ticket as it is marked resolved, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
Cheers,
AndrasPS: If you like our plugins, and you didn’t yet do so π we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
https://wordpress.org/support/view/plugin-reviews/event-tickets/PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. π If you can spare a few words, that’s even better. Doublethanks!
Andras
KeymasterStoked to hear it helped you so much! Awesome!
Since this is resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
Cheers,
AndrasPS: If you like our plugins, and you didn’t yet do so π we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
https://wordpress.org/support/view/plugin-reviews/event-tickets/PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. π If you can spare a few words, that’s even better. Doublethanks!
Andras
KeymasterYou’re very welcome! Stoked to hear all works fine.
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
Cheers,
AndrasPS: If you like our plugins, and you didn’t yet do so π we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
https://wordpress.org/support/view/plugin-reviews/event-tickets/PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. π If you can spare a few words, that’s even better. Doublethanks!
Andras
KeymasterHallo Felix,
There is a very hacky was of doing this. You will need to make a small change in one of the core files, which also means that the modification will be lost when you update the plugin.
Here is what you need to do:
Open this file for editing:
wp-content\plugins\the-events-calendar\src\Tribe\iCal.php
Line 255 looks like this:
$query = new WP_Query( array_merge( $wp_query->query, array( 'posts_per_page' => $count ) ) );Replace it with this:
$query = new WP_Query( array_merge( $wp_query->query, array( 'posts_per_page' => $count, 'post_status' => array( 'publish', 'private' ) ) ) );Check if that does the trick.
Cheers,
Andras -
AuthorPosts
