Forum Replies Created
-
AuthorPosts
-
Cliff
MemberHi, Mark. If I’m understanding your request completely, this is not a bug. All events need a date and time for both the start and end, unless the box is checked to set the event as an All Day event.
Although I don’t think it’s the same as what you’re wanting, you may be interested in adding your vote to this existing feature request: https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/4023764-no-end-time-option
Additionally, feel free to post your own new feature request in UserVoice.
Please let me know if you have any follow-up questions on this topic.
Cliff
MemberHi. That date format doesn’t look like our standard output to begin with.
You could follow our Themer’s Guide to customize the Single Event view template. I’m guessing you’d need to get the event date in “month day” format and then “time of day” format to get the format you’re wanting.
We don’t provide custom code modifications, per our Scope of Support / Terms, but you can let me know if you get stuck trying to accomplish what you want, and I’ll see if I can provide additional help.
Cliff
MemberHi, Martin. Your previous reply mentioned a screenshot, but it didn’t come through. Attachments do not come through via email replies; sorry if this is what happened. Please login and share the screenshot via our Help Desk directly.
I’m unsure exactly what styling you’re wanting, but Snazzy Maps do work with our plugin: https://snazzymaps.com/plugins/wordpress (third-party, not guaranteed or supported by us)
Please let me know if you have any follow-up questions on this topic.
Cliff
MemberHi. Very neat to hear of special use cases!
It sounds like you should either use Tribe Commerce tickets (no cost) or purchase Event Tickets Plus (ET+) to use alongside WooCommerce or Easy Digital Downloads (EDD).
1)
Tribe Commerce is PayPal-only, but it doesn’t have a shopping cart to collect things in before doing a singe checkout, like WooCommerce or EDD.
There are many payment gateways available for Woo/EDD. Please reference https://theeventscalendar.com/knowledgebase/choosing-ecommerce/ and https://theeventscalendar.com/knowledgebase/ecommerce-settings/
2)
No, all tickets get purchased from the Single Events view.
3)
If you’re asking for a place a customer can view all the tickets they’ve purchased, this is available via a shortcode available in ET+: https://theeventscalendar.com/knowledgebase/display-a-list-of-attendees-events/
===
Last but not least, we have Bundles and a pretty great Refund Policy so you can buy one or many of our add-ons and thoroughly test them.
I hope this info helps. Let me know if you have any follow-up questions.
June 3, 2018 at 5:07 am in reply to: Trouble understanding start_date in tribe_get_events() #1544899Cliff
MemberHi. Thanks for sharing your code; that really helps.
What may actually be happening is that the PHP date() function is based on UTC, while your site’s time zone appears to be Europe/Amsterdam. You might try WP’s current_time() instead, or you could change
date('Y-m-d H:i:s')to this:
$now_amsterdam = new DateTime( 'now', new DateTimeZone( 'Europe/Amsterdam' ) ); $events_not_yet_started = tribe_get_events( array( 'start_date' => $now_amsterdam->format( 'Y-m-d H:i:s' ), 'posts_per_page' => -1 ) );See http://php.net/manual/en/class.datetime.php and http://php.net/manual/en/class.datetimezone.php for reference.
And, of course, I recommend referring to our own https://theeventscalendar.com/knowledgebase/using-tribe_get_events/ if you haven’t already.
Finally, we always recommend restorable database and file backups as well as performing modifications first on a staging site before modifying anything on your live/production site.
Please let me know how this goes for you.
Cliff
Member@kaleido, thanks for sharing what worked for you. Filtering tribe_tickets_buy_button should work just fine as well–a good alternative, albeit with a bit less control if someone’s translation wanted to handle specific quantities (e.g. zero) distinctly.
@thereelscene, as this is your thread, please let me know if this topic is resolved or if you need more assistance.Cliff
MemberGlad to hear and thanks for letting us know.
June 2, 2018 at 4:37 pm in reply to: Output of do_action( 'tribe_events_single_event_meta_primary_section_end' ) #1544750Cliff
MemberI’d recommend not modifying the template to fully remove the action. Instead, here’s a snippet that makes it go away so anything else using the action hook still fires, including your own code you want to hook into there, and you might be able to fully avoid having to do a template override just for this purpose. Here’s a snippet that should work for you:
https://gist.github.com/cliffordp/ccd49235d1a8873cca53398fcb67a00c
Please reference https://theeventscalendar.com/knowledgebase/implementing-custom-code-snippets/ for how to implement custom code snippets.
Please let me know how this goes for you.
Cliff
MemberHi, I’m popping in here to try to help…
To get us started, please enable WP_DEBUG and WP_DEBUG_LOG (which will create a file on your server at /wp-content/debug.log if there are any WP_DEBUG messages) and share any debug messages you see while trying to replicate this issue and doing other things on your site relevant to this ticket (such as visiting your site’s home page, events page, single-event pages, and anything else you can think to do).
Thank you.
Cliff
MemberThanks for checking in. Feel free to reply whether or not you get it figured out on your own.
Please note that threads get Closed automatically after a couple weeks of inactivity. If it does get Closed, please open a new thread, adding your current problem description and also linking back to this thread.
Thank you!
Cliff
MemberHopefully this example snippet helps both of you:
https://gist.github.com/cliffordp/a35f07f81aa14fbf0bca373dd97d9ede
Please reference https://theeventscalendar.com/knowledgebase/implementing-custom-code-snippets/ for how to implement custom code snippets.
Please let me know how this goes for you.
May 31, 2018 at 2:59 pm in reply to: Output of do_action( 'tribe_events_single_event_meta_primary_section_end' ) #1543395Cliff
MemberHi, Ken.
tribe_events_single_event_meta_primary_section_end action fires from the /wp-content/plugins/the-events-calendar/src/views/modules/meta.php file and PRO uses it to output its Additional Fields (https://theeventscalendar.com/knowledgebase/pro-additional-fields/).
Did you customize this meta.php file and accidentally include this action twice in your template file?
Or do you have your own additional fields to output in addition?
Cliff
MemberHi, Claire/Jonah.
tribe_is_ajax_view_request( 'photo' )exists — from /wp-content/plugins/the-events-calendar/src/functions/template-tags/general.phpAlso, there is an internal feature ticket for us to update from Isotope JS to either its latest version (to get https://isotope.metafizzy.co/layout-modes/fitrows.html) or to scrap it and use Flexbox CSS instead.
Either way, that’s really what we want here, and I’ve added your two threads about it to the internal ticket.
Please let me know if you have any follow-up questions on this topic.
Cliff
MemberI know this issue has been mentioned before — but to be honest I think most customers purchase one ticket at a time and go directly from Event to Cart to Checkout, so there would be minimal confusion in that purchase flow.
Also, this specific code snippet would have been different a few months ago before the release of WooCommerce version 3.
We don’t provide custom coding changes for customers, per our Scope of Support / Terms, but repeated requests like this are good candidates for spending some extra time.
I shared this snippet internally (as we all usually do so everyone’s aware), and it caught management’s attention without me directly pinging them… so who knows, maybe something like this could eventually be part of how ET+ works by default. Until then, I’m glad this should overcome your purchasing hesitancy. Happy to help, and I’m sure we’ll see you in the Premium Help Desk after your purchase!
Cliff
MemberHi, Sofie. I’m chiming in here to help on this advanced topic.
Please note that providing code customizations isn’t part of our normal Scope of Support / Terms, but I’ll try to point you in the right direction.
Firstly, it sounds like you’ll need to reference https://docs.gravityforms.com/dynamically-populating-drop-down-fields/ for the dependent option (the list of Events based on the selected Event Category)
To get the list of events per Event Category, you’ll want to reference:
- https://theeventscalendar.com/knowledgebase/using-tribe_get_events/
- and https://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
This code sample might be just what you need to get started:
https://gist.github.com/cliffordp/62360de9f1cb2b7b55b9bed080c173a6
Please let me know if you have any follow-up questions on this topic.
-
AuthorPosts
