Forum Replies Created
-
AuthorPosts
-
George
ParticipantThis reply is private.
George
ParticipantThis reply is private.
George
ParticipantThanks for this information, Christoph.
I am not able to spot any obvious issues by looking through your site’s “System Information”. You then also say that if you just deactivate that Views plugin, the problem is resolved—so with these two things mind, it sounds like there is code within the Views plugin specifically that is causing the breakage here.
I would recommend contacting the support team of the Views plugin and reporting this issue to them. I am not sure what is happening inside their plugin causing the router page to fail. 🙁
Please let us know if they provide any insight on this matter!
— George
George
ParticipantSounds good, Matthew. Open a new thread here in the forums any time if other issues or questions arise! 😀
— George
George
ParticipantHey Christoph,
Sorry to hear about these issues! Just to be clear, when you mention the “Views” plugin from Toolset, do you mean this one?
If so, I’m curious:
1. Have you had this plugin activated on your site alongside our plugins for a long time? Or have you only recently installed that plugin?
2. If you’ve had it installed for a long time, did these issues only arise after a recent update to that plugin? Or a recent update to Community Events?
☝️ Let me know about these details above. In the meantime, can you also elaborate on what you’re trying to use the Views plugin for in relation to the Community Events submission page?
Thanks!
GeorgeOctober 5, 2016 at 8:56 pm in reply to: Can I have a header image on the photo view, but not on the individual listings? #1173061George
ParticipantGlad to hear it, Sarah. When it comes to limiting aspects of the template changes to only List View or other specific views, you should be able to do this with conditional statements like the ones listed here.
I’d recommend tinkering with those conditionals.
So, something like this:
if ( tribe_is_past() || tribe_is_upcoming() && !is_tax() ) {
// put the featured image code here between the { } brackets. this stuff between
// those brackets will only run on list view pages
}
I hope it helps!
GeorgeGeorge
ParticipantThis reply is private.
George
ParticipantThis reply is private.
George
ParticipantHey Matthew,
Thanks for elaborating here.
You write:
By default WordPress has jQuery registered as a script called ‘jquery’, and in this specific custom theme we have jquery registered as ‘prelude_jquery’.
☝️ What’s worth noting here is that your code also removes the existing ‘jquery’ handle.
It is very bad practice to register any version of jQuery in WordPress other than its default included version. The handle for this included version is indeed ‘jquery’.
Part of the reason this is such bad practice is that, yes, many plugins and themes—including The Events Calendar and its add-ons—require jQuery. And to specifically address your question, yes, this means that they look for the core script whose handle is ‘jquery’ specifically.
I hope this more accurately addresses your questions! Let me know, and let me know as well if there is anything else I can try to help with. 😀
Cheers,
GeorgeGeorge
ParticipantGlad to help, Murray! I appreciate the kind words. 😀
When it comes to using remove_action, yes you could use this to remove the QR Codes from emails. A snippet like this should do the job:
if ( class_exists( 'Tribe__Tickets_Plus__QR' ) ) {add_action( 'init', 'tribe_remove_qr_codes_from_ticket_emails' );
function tribe_tickets_ticket_email_ticket_bottom() {
remove_action( 'tribe_tickets_ticket_email_ticket_bottom', array( 'Tribe__Tickets_Plus__QR', 'inject_qr' ) );
}
}
Cheers,
GeorgeOctober 5, 2016 at 5:44 pm in reply to: Changing the words 'events' and links based on category #1173000George
ParticipantExcellent—I’m sorry I didn’t think of mentioning the tribe_event_in_category function!
Best of luck with your custom coding. Be sure to make backups of all your code 😀
— George
George
ParticipantHey Drew,
I’m sorry to hear this code snippet didn’t help.
This is a tricky thing to pull off, unfortunately. We cannot help with writing custom code like this, but I will give this another shot.
To clarify, you ask: “It is possible instead to only show events that begin and start on the same day?” Does recurrence matter here? What I mean is: if there is a recurring event whose instances start and end in the same day, should they be omitted from week views and week widgets because they’re recurring? Or does it not matter, and as long as the event starts and ends in same day, it should show up…?
Thanks!
GeorgeGeorge
ParticipantHey Murray,
Thanks for your follow-up. To address things in reverse order, yes you can just uncomment the do_action( ‘tribe_tickets_ticket_email_bottom’ ); line of code in that email.php template. There are numerous methods for hiding the QR code, and yes removing that line is one of them! 😀
As for the orders not being “completed”, the nature of being in Sandbox Mode may indeed be affecting things. Please hold off on buying that $29 add-on! Before considering tat, can you clarify:
1. What payment gateways have you activated for your WooCommerce site?
2. If you do test purchases with one gateway, e.g. PayPal, and then do test purchases with another and different gateway, e.g. “Pay by check”, does anything change with regards to orders being marked as “complete”?
3. Make a WooCommerce coupon code that applies a 100% discount. So that if used, the cart costs $0.00 and is free. If you use this coupon code at checkout, and make an order that is $0.00, does anything change with regards to this order being marked as “complete”? Does it still not seem to get set to “Complete” as expected?
Thanks!
GeorgeGeorge
ParticipantThis reply is private.
October 4, 2016 at 10:18 pm in reply to: Changing the words 'events' and links based on category #1172560George
ParticipantHey Jeff,
Thanks for reaching out.
We unfortunately cannot assist with coding.
Regardless of that policy, it’s also unfortunately true that pulling off the customizations you want here is a bit complex.
The best thing I can recommend—for both customizations you mentioned—is to get familiar with the function tribe_get_event_categories().
You can find this function here:
/the-events-calendar/src/functions/template-tags/general.phpAnywhere you want to add category links, or get category titles, you can use this function to get a list of the categories for the currently-viewed event. From there, you can tinker with code and explore material on the official WordPress Codex about custom taxonomies to learn about getting URLs, names, IDs, and other attributes of custom taxonomies (like Event Categories).
This function, for example, would let you get the URL for an Event Category: https://developer.wordpress.org/reference/functions/get_term_link/
When it comes to using this code in custom events templates, check out our official Themer’s Guide here → https://theeventscalendar.com/knowledgebase/themers-guide/
I hope this information helps you get started with your customizing!
Sincerely,
George -
AuthorPosts
