George

Forum Replies Created

Viewing 15 posts - 2,896 through 2,910 (of 10,499 total)
  • Author
    Posts
  • in reply to: Event Tickets Plus event date #1141621
    George
    Participant

    Hey @Jens,

    Thanks for reaching out!

    The “Product” object itself unfortunately does not include the start or end dates of the corresponding event. To see all of the properties on a WooCommerce “product” object, I have copied and pasted an example object into a Gist here ? https://git.io/vKoqj

    In any context where you have the product ID, though, you should be able to get the event ID (and thus basically any event information you need!) by using code like the following:


    // Let's assume you have a $product_id variable somewhere here.

    $Event_Tickets_Plus = Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance();
    $event_id = $Event_Tickets_Plus->get_event_for_ticket( $product_id );

    That $event_id variable is now an actual event ID. You can then use this with any of The Events Calendar’s template tags and helper functions to extract specific bits of information about the information.

    To find all of these functions, head to either of the following sets of files within your copy of The Events Calendar:

    the-events-calendar/src/functions/template-tags

    and/or:

    the-events-calendar/common/src/functions/template-tags/

    ☝️ In these folders, you will find all sorts of files with straightforward names that contain easy-to-use helper functions. For example, the “date.php” files contain functions related to event dates.

    So you might explore those files and find the function tribe_get_start_date().

    With the bit of code I shared above, then, you could write something like this to get the event start from a ticket/product ID:


    // Let's assume you have a $product_id variable somewhere here.

    $Event_Tickets_Plus = Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance();
    $event_id = $Event_Tickets_Plus->get_event_for_ticket( $product_id );

    $start_date = tribe_get_start_date( $event_id );

    I hope that helps!
    George

    in reply to: Can't see events as post URGENT!! #1141581
    George
    Participant

    Sorry to hear this!

    1. Can you please try to deactivate The Events Calendar, Events Calendar Pro, and Filter Bar? Do nothing else but deactivate all three of these plugins. Once deactivated, do the slideshows suddenly show up?

    2. Next, in your second screenshot you highlight the “Show events in blog loop” option and say that it “worked” before the update. Can you clarify what this means? Do you mean that, before the update, events would show up in the slider on the home page?

    3. What version of The Events Calendar were you running before you updated to 4.2.2?

    4. Please open a support ticket with the theme authors as well. I am of course going to keep working with you here, too! 😀 But this may be a theme-related problem and so it is worth opening a support thread with both us and them at the same time in case a theme code change is required to fix this.


    ⚠️ Please Note: I know you describe this issue as urgent, so we will try to prioritize it. However, please note our support response time of one reply every 24 hours. This is the average pace of replies; as noted, I will try to reply more quickly, but I just wanted to mention this so that you could set your expectations early.


    Thank you!
    George

    in reply to: display attendee name on the ticket send #1141580
    George
    Participant

    Hey Alexander,

    Thanks for reaching out!

    What you are asking here might be possible.

    To help me provide you an answer, can you clarify what you mean by “on the ticket send”?

    I am sorry for my misunderstanding, but just don’t understand what means.

    Can you share a screenshot of where you want the attendee name to show up?

    You can do this by uploading the screenshots to this thread. If you have issues with that, you can upload to Imgur.com, Flickr.com, CloudUp.com, or any similar image-hosting site; then just share the links to those images here and I’ll take a look.

    Thank you! 😀
    George

    George
    Participant

    Ah! My bad, Frank. To prevent duplicates, I think you can get away by just changing this line of code:


    <?php foreach ( $event_objects as $event_object ) : ?>

    To this:


    <?php

    $event_objects = array_unique( $event_objects );

    foreach ( $event_objects as $event_object ) : ?>

    George
    Participant

    Excellent! 😀 Thanks for letting us know.

    in reply to: Email RSVP help #1141502
    George
    Participant

    Thanks for sharing the source of that function! I’m glad to see it was created by a support team member; it’s still not an “official” function that is from within the plugin code itself, so that’s worth keeping in mind, but I am glad it’s useful.

    When it comes to making the organizer email recipient dynamic, this is unfortunately a bit outside the scope of support, but here some closing thoughts on it from me that might be helpful/revealing.

    One of the tricky things about it is that, to get the Organizer’s email address, you need to get the Organizer ID of the event. To do that, you need the Event ID of the event.

    In many cases, this is as easy as using the WordPress function get_the_ID(), but this will not really work here. To see why, head into this file to see where the ‘tribe_rsvp_email_recipient’ action is fired:

    event-tickets/src/Tribe/RSVP.php

    The best hope I can think of is that the variable $order_id may be available, which can be tinkered with and you may be able to extract the event IDs from this reliably, but is tricky. 🙁

    I personally think this should be much easier, and your request here has prompted me to make a proposal for modifying the filters in our plugin to include the Event ID as an argument right from the start; this would make it basically trivial to achieve the sort of dynamic organizer-based thing you are trying to do, for example.

    I am sorry for the trouble here, Dave! Hopefully in the coming weeks and months we make these filters easier to work with in terms of the event ID and such…for now, a great deal of tinkering is unfortunately required here.

    Please let me know what further thoughts you might have on this, and if there are any other issues I can try to help with.

    Sincerely,
    George

    in reply to: Can I add a "edit this event" link to the front end? #1141283
    George
    Participant

    Hey Kadi,

    Thanks for reaching out.

    Doing this is indeed technically possible, but I should note that the “Edit event” links will ONLY be visible if the current user on the site is a logged-in user of the administrator or editor level. If they are not logged in, or ARE logged in but are of the “subscriber”, “author”, or “contributor” user level, the edit link will not show.

    Is this still something you’d be interested in? We cannot help with writing custom code as per our support policy, but I can definitely point you in the right direction. You’ll want to use the WordPress function get_edit_post_link() which you can read about here → https://codex.wordpress.org/Template_Tags/get_edit_post_link

    Let me know if what I described above is not sufficient; if you need that edit link visible to ALL site visitors, then unfortunately a much, much more complex customization would be required. 🙁

    — George

    in reply to: Urgent help needed – ticket stock not functioning #1141280
    George
    Participant

    Hey Timothy,

    I’m sorry to hear about these issues. We’re happy to take a closer look to figure out what’s going on.

    Before moving forward though, can you please post your site’s complete, un-edited System Information to this thread? Here’s how to do that: https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    If you want to keep that information private, please check the “Set as private reply” option on the reply submission form before submitting the reply. This way, that information will only be visible to you and to us on the support team.

    We’ll take a look at that and proceed from there.

    Thank you!
    George

    in reply to: Search bar not working properly #1141279
    George
    Participant

    Sorry to hear about this, Enrique!

    I took a look at your site, and there were indeed some JavaScript errors, though I could not identify the source of all of them.

    To help with these issues, I would recommend the following steps:

    1. Update your site’s version of The Events Calendar so that instead of version 4.2.1 it is running version 4.2.2

    2. Update your site’s version of Events Calendar Pro so that instead of version 4.2.1 it is running version 4.2.2.1

    3. If issues persist, deactivate ALL plugins on your site except for ONLY The Events Calendar and Events Calendar Pro. Then have a look at the search bar again—does anything improve?

    4. If things do not improve in step #3, then leave all plugins deactivated except for ONLY The Events Calendar and Events Calendar Pro. Then, activate a default theme like Twenty Sixteen or Twenty Twelve, then have a look at the search bar again—does anything improve?

    Let us know what you find by doing all of these steps!

    Thank you,
    George

    in reply to: Recurring Event Indefinitely #1141274
    George
    Participant

    Hey Brian,

    Thanks for reaching out. You mention using a recurring event, but your System Information only shows that The Events Calendar is installed on your site—not Events Calendar Pro, which is required for the recurring events feature.

    Can you elaborate on that detail? Did you remove Events Calendar Pro from your site temporarily? If it was installed prior to posting this thread, can you remember what version of Events Calendar Pro it was?

    Thank you!
    George

    in reply to: Missing Dashboard Menu Items #1141273
    George
    Participant

    Hey @Olivia,

    Thanks for reaching out. I find the same thing when Event Tickets and Event Tickets Plus are activated.

    This is partially by design, and partially a bug/design improvement we need to make.

    I have reached out to our developers about this; perhaps we should change it from “Events” to “Tickets”, and change the sub-menu “Events” to “Settings”.

    However, if you are looking for other menu items like Venues, Organizers, and so on, these are only available if you also install The Events Calendar.

    I will post updates regarding changes to the menu structure as soon as I learn more about our plans to improve this.

    Thank you!
    George

    in reply to: Make Events Calendar Site Home Page #1141268
    George
    Participant

    Hey Leah,

    Thanks for reaching out!

    It is unfortunately not really possible to make the home page of your site the Events Calendar’s calendar, but there are some workarounds described in this knowledgebase article → https://theeventscalendar.com/knowledgebase/how-to-make-your-calendar-your-sites-home-page/

    Check out that page for some insight on the process; I hope it helps!

    Cheers,
    George

    in reply to: Double venue when previewing post #1141140
    George
    Participant

    Hey William,

    Thank you for reaching out!

    This is odd behavior, but I just tried to reproduce the bug and was indeed able to recreate it. So this is a bug that we will have to patch in an upcoming maintenance release.

    I am sorry that I don’t have any immediate steps to recommend—but since I can confirm the bug, I can make a bug report for our developers and hopefully a fix will be published in an upcoming update in no more than a few weeks from now.

    Thank you for reporting this. Please let me know if there is anything else I can try to help with in the meantime while I we work on a fix!

    Sincerely,
    George

    George
    Participant

    Hey Jeff,

    Thanks for reaching out.

    I’m sorry to hear about all of the issues here! It is likely, indeed, that the recent 4.2.2.1 update of Events Calendar Pro fixed the issues with “runaway” event recurrence—it has fixed those issues for a number of other users.

    As for the cleanup process for all of the erroneously-generated events from earlier, one of our developers amde a handy little cleanup plugin that you can find in our 4.2.2.1 blog post here → https://theeventscalendar.com/release-events-calendar-pro-4-2-2-1/

    That blog post includes instructions on how to use the plugin, so check out the post, try out the plugin, and let me know if that seems to help with things.

    Thank you!
    George

    in reply to: Putting event countdown within the Layer Slider Module #1141121
    George
    Participant

    Hey Ryan,

    Thanks for reaching out.

    There is unfortunately nothing from within our own plugins that would make the Layer Slider plugin handle our own shortcodes any differently, but you may find some success by reaching out to the Layer Slider plugin support folks and asking about how to ensure that shortcodes are enabled in the Layer Slider plugin.

    Depending on how the Layer Slider plugin is made, it may only take a bit of custom coding to make sure that it parses shortcodes via WordPress’ do_shortcode() filter.

    Feel free to share this forum post with them, for reference.

    I’m sorry that I wasn’t able to provide much insight here myself, but I hope you have success with the Layer Slider team!

    Cheers,
    George

Viewing 15 posts - 2,896 through 2,910 (of 10,499 total)