Forum Replies Created
-
AuthorPosts
-
January 16, 2017 at 5:18 pm in reply to: Looking at ElasticSearch / ElasticPress to fix slow queries/timeouts/502s #1219347
George
ParticipantHey @Mauitime,
Thanks for reaching out! This is an interesting set of questions. We unfortunately cannot help with custom coding or with questions related to extending the functionality of our plugins; read more about these policies here ? https://theeventscalendar.com/knowledgebase/what-support-is-provided-for-license-holders/
With that being said, I think I can at least help point you in the right direction by recommending the use of two things within The Events Calendar:
1. tribe_get_events()
2. tribe_events_pre_get_posts()
1. tribe_get_events()
For individual and specified queries of events, the tribe_get_events() function may be useful to you—it’s a wrapper for get_posts() which is itself a wrapper for WP_Query, and so you may be able to pass that ep_integrate parameter as an argument through this function; this may work well because it’ll pass that ep_integrate parameter to WP_Query like you’re intending, but will also take care of some of the other event-related details for you. So something like this, for example:
$events = tribe_get_events( array(
'posts_per_page' => 20,
's' => 'search phrase',
'ep_integrate' => true
) );
2. tribe_events_pre_get_posts()
This may be more specifically helpful for your needs—instead of using WordPress’ own built-in pre_get_posts() filter, you might find more success by using The Events Calendar’s own version of pre_get_posts(), called tribe_events_pre_get_posts(). This may be more helpful because, much like how tribe_get_events() takes care of some event-related things that make it easier to work with in regards to events than the WordPress-default get_posts(), the tribe_events_pre_get_posts() filter takes care some of event-related configuration that may be relevant to your needs.
Something like this, for example:
function mt_elasticsearch_tribe_events_query( $query ) {
// No need to check for tribe_events in query because this will only run on events queries.
$query->set('ep_integrate', true);
}
add_action( 'tribe_events_pre_get_posts', 'mt_elasticsearch_tribe_events_query' );
As noted, we cannot help with this sort of thing and you’ll mostly have to take the reins here. I hope this information helps you get started, though! 😀
Cheers,
GeorgeJanuary 16, 2017 at 5:12 pm in reply to: Fatal Errors on Windows Servers with the 4.4.0.1 Release #1219346George
ParticipantHey there, @harrogatenews—do “Fatal Error” messages anywhere along the way for you in regards to these issues?
Thanks!
GeorgeJanuary 16, 2017 at 9:10 am in reply to: asking for a license key when I didnt install Event Aggregator #1219064George
ParticipantHey David,
This should only arise if you’ve entered a license key into the Event Aggregator license key field — have you done so? If you have any content in the Event Aggregator license key field, remove it and save the settings again, and this message should go away.
If this does not help, let me know!
— George
George
ParticipantHey Cindy,
Thanks for reaching out and for sharing this feedback honestly and critically. I do genuinely appreciate it and have been looking into some of the claims you’ve been making to see where we can improve.
A big thing to point out is in response to what you write on your first post in this thread. You say, “and then Avada and TEC got together so that TEC was a base component of Avada”.
↑ To be absolutely clear, the inclusion of The Events Calendar inside the Avada team is something the Avada team has taken entirely upon themselves to do. We love the Avada theme, and try to support it as best as we can because many folks use it, but it’s actually bad practice within WordPress development to include plugins inside themes and we do not generally encourage any theme to do this.
The thing is, our plugins—like all WordPress plugins—are GPL-licensed, so any theme developer can use our plugins how they see fit, including putting plugins in their themes by default. I just want to make it absolutely clear, though, that this is not something we were involved with or that we even specifically endorse.
Next, it sounds like things like line-height and letter-spacing were big problems here. To be clear, these sorts of rules are dictated by theme stylesheets, not plugin stylesheets. I understand you’ve been hearing from both TEC and Avada that it’s the other person’s fault, and I totally understand how frustrating this is: still, it is just simply the case that font styles and text styles are dictated by themes, not plugins.
One thing that is tricky regardless of whether it’s the theme’s or the plugin’s responsibility is, unquestionably, excerpts—it sounds like excerpts have been especially troublesome here. Excerpts are tricky, and are a bit of an unsolvable problem in a way. If this sounds weird or like a cop-out, I hear you—but please check out this long blog post I wrote about the problems with excerpts, which I think will help explain some of the truly hard problems we face with them: https://theeventscalendar.com/the-trouble-with-excerpts/
I hope that article about excerpts helps a bit, and I hope that some of the information I’ve provided here helps to fill in some of the details about these issues.
In closing, you say, “please fix what you broke.” I’m sure you have explained this a number of times, but can you please specify the exact thing that is broken, and share a link to a page on your site that demonstrates it being broken? If you have a temporary fix in place so that it doesn’t look broken, can you please temporarily disable this fix so that I can see the broken text or content in person? I will try to identify the exact problem and recommend a path forward.
Thanks!
GeorgeGeorge
ParticipantHey Rob,
Thanks for reaching out. I took a look at the link you provided and wasn’t able to identify a specific cause of this issue yet. You mention having tested with all other plugins disabled—any chance you could try testing your theme, as well?
Activate a default theme like Twenty Twelve or Twenty Seventeen—then check out that event and see if the same issues persist with the quantity picker.
Let us know what you find!
— George
George
ParticipantHey Erica!
Thanks for reaching out.
Site responsiveness is not actually dictated by our plugins at all—the degree to which a given page on your site is responsive is almost entirely dictated by the theme of the site, not the plugins.
To see an example of a responsive theme, and how our plugins play along with it, we indeed do have a demo site here which should be helpful → wpshindig.com/events
Check out that demo site in different browser sizes and on different devices, and you should be able to get a pretty good sense of how our plugin’s calendar views adapt responsively.
If you have any more specific questions or things I can try to help with here, let me know! 😀
— George
George
ParticipantHey Peter,
Thanks for reaching out!
We do not make the Avada theme, and so when it comes to modifying the appearance of the Avada theme’s column widths and such, your best bet is to contact the Avada theme folks directly.
We also generally cannot help with custom coding or design modifications, which you can read more about here: https://theeventscalendar.com/knowledgebase/what-support-is-provided-for-license-holders/
With all of this being said, I took a quick look at your page just to see if I could help you get the ball rolling here before seeking further assistance from the Avada team. I wrote some custom code for you here which you can add to the bottom of your theme’s style.css file to modify the layout of the page:
body.single-tribe_events #content {
width: 60%;
}body.single-tribe_events #main #sidebar {
width: 40%;
}☝️ You can tinker around with these percentage values, of course, to get whatever size layout you prefer.
When it comes to moving the Eventbrite ticket form, this is unfortunately much trickier to pull off and would require some extensive modifications of your theme’s PHP templates. Our Themer’s Guide may be helpful here → https://theeventscalendar.com/knowledgebase/themers-guide/
I hope this information is helpful—please let me know if there are any other issues or questions I can try to help with.
Sincerely,
GeorgeGeorge
ParticipantThanks for reaching out, Jeff. We’re unfortunately not able to help with custom coding questions, per the details elaborated upon on this page: https://theeventscalendar.com/knowledgebase/what-support-is-provided-for-license-holders/
Please check out that page before replying!
Now, while we cannot help with this sort of question, I’m happy to at least help you get started here. Check out this Gist for an example of code that pulls in ticket date ? https://git.io/vMooe
☝️ In that Gist, check out line 22. It’ll look like this:
foreach ( $tickets_class->get_tickets( $event_id ) as $ticket ) {Simply var_dump() that $ticket variable, and you’ll see all of the various pieces of ticket data y
While, again, we cannot help with custom coding or provide insight into coding questions, the code I shared above should help you move forward. Best of luck with your tinkering and coding! 😀
Please let me know if there are any other issues or questions I can try to help with.
Sincerely,
GeorgeGeorge
ParticipantThanks for reaching out, Edon!
1. Venue pages and organiser pages are supported in Community plugin or not, or do I need to buy also the Events Calendar PRO for these pages ?
Having single-venue pages and single-organizer pages would indeed require Events Calendar Pro in addition to Community Events.
2. I want to use “The Events Calendar: WooCommerce Tickets” to add event tickets as products in WooCommerce. But also I want to use WC Vendors plugins for WooCommerce and users will be registered as Vendors. I want to get a commision from each vendor and that is why I want to use WC Vendors plugin for WooCommerce. Can I show the tickets in front end with Community plugin or not ? Can user manage tickets and events with Community plugin ?
There are a few parts to this question worth addressing. First, “The Events Calendar: WooCommerce Tickets” no longer exists as a plugin, and has been replaced with Event Tickets Plus which you can learn more about here. 🙂
Next, in general our plugins do not have any specific integrations with any WooCommerce Extension. So I don’t know to what degree our plugins will work with that WC Vendors extension specifically — however, as long that extension works with all WooCommerce “Products” and the “Simple Product” post type, especially, then it should work fine with our plugins.
In regards to letting users manage their own tickets and such, the only way this would be possible would be with our Community Tickets add-on, which you can learn more about here ? https://theeventscalendar.com/product/community-tickets/
I hope all this information helps! Please let me know if it does and if there are any other issues or questions I can try to help with.
Thanks,
GeorgeGeorge
ParticipantHi there,
Thank you for reaching out. These forums here are our “Pre-sales Questions” forums, so we unfortunately cannot field technical support questions here.
But in regards to exporting from one site to another, you may find this article helpful:
• https://theeventscalendar.com/knowledgebase/using-wordpress-export-tools-to-migrate-events-content/
Cheers!
GeorgeGeorge
ParticipantHey Johan,
Thanks for reaching out!
This should happen with the first event in a recurring-event series—do you mean to say, though, that this happens with other events in the series that are not the first event?
If so, can you share a screenshot of the “Time and Date” section of the edit screen for an event on which these problems occur? To clarify, this “Time and Date” section is where the recurrence rules are configured. So if you can find a recurring event that has these issues, share a screenshot of the complete “Time and Date” section to show its complete configuration. Here is an example of what a “Time and Date” screenshot might look like → https://cldup.com/JLJmZjrBFx-3000×3000.png
Thanks!
GeorgeGeorge
ParticipantHey there,
Our ticketing plugins themselves don’t provide “discount” functionality—this comes from the eCommerce platform you’re using with our plugins.
So if you’re using WooCommerce, for example, then you would use WooCommerce’s own coupon code/discount features, which you can read more about here ? https://docs.woocommerce.com/document/coupon-management/
There is no way to make a “buy x tickets, get y discount” coupon code with our plugins out-of-the-box — you would need to tinker with WooCommerce or even possibly use a WooCommerce Extension that would allow for more advanced coupons. But with WooCommerce out-of-the-box, for example, you can set a “Minimum spend” value for a given coupon code to work; so if tickets are $20 apiece, and you only want a discount code to work for folks buying four or more tickets, you can set the minimum spend value for that discount code to $80 and thus basically pull off the sort of discount you describe.
I hope this information helps!
Cheers,
GeorgeGeorge
ParticipantHey @Iain—yes, this is possible! Use the “Users cannot create new Venues” option in your Community Events settings. You can read a bit more about this here → https://theeventscalendar.com/knowledgebase/community-events-settings/
Cheers,
GeorgeGeorge
ParticipantThanks for sharing that information, @Math. I’m investigating this closely and it may be related to a bug we originally found a couple of weeks ago, but have a pretty hard time reproducing and confirming.
1. Can you confirm what the payment processor is for the orders that have these issues? Are these orders that are paid via PayPal, for example? Or paid via Stripe/credit-card?
2. Do you have any ticket sales on your site that do NOT have these specific issues? If so, are these ticket orders made with the same exact payment processor as in #1?
So in other words, I’m basically asking if all the problems you face are with orders made via PayPal…but then if you have orders made with some processor other than PayPal, do these non-PayPal orders have the same exact issues?
Thanks!
GeorgeGeorge
ParticipantThanks a ton for this information, Jennifer, and for your patience and persistence with this issue. I’d also like to thank the user of yours who tested this and shared these images! 😀
Their images are helpful, because they reveal the specific type of error folks are encountering. The “Are you sure you want to do this?” error message seen in the photos is something WordPress usually displays when a nonce fails to verify—in a nutshell, nonces are a security feature of WordPress that help prevent the abuse of things like URLs and forms. (Read more here). The community events submission form implements a number of nonces to help ensure that it’s secure.
Just to be clear, while nonces are related to security, I don’t want to give you the impression that there’s a security risk on your site, or that it’s being hacked or something—totally not the case! Nonces can fail to verify for a number of reasons. The key to this issue now is figuring out why they’re failing to verify—it could be because of caching, for example.
Sorry to go on about nonces—I just wanted to give some backstory about what these error messages mean, because it’s relevant and should help dictate how we move forward in investigating and fixing these issues.
Three Questions
Based on what you’ve shared thus far, I have three main questions about your site. The answers to these questions may be very helpful. Those questions are as follows—please answer each one in your response to the best of your abilities:
1. In your site’s “System Information”, there’s a MU plugin listed whose name is “System Plugin”. Do you know anything about this plugin? Where is it from? Did you install it yourself? Who made it? Any info you can provide along these lines will be very helpful.
2. How, specifically, are you hosting your website? Are you self-hosting it on a server you personally maintain? Or are you hosting with a web host like GoDaddy, BlueHost, HostGator, etc.? Let us know what specific web host you’re using, and share a link to their site directly. This may be very relevant to the issue you’re experiencing.
3. Do you have any custom theme templates related to Community Events or The Events Calendar at all? Have you modified any code related to The Events Calendar, Community Events, your child theme, or hired anyone else to modify the code of any of these things?
Thanks Jennifer! 😀
George
-
AuthorPosts
