Victor

Forum Replies Created

Viewing 15 posts - 4,171 through 4,185 (of 5,398 total)
  • Author
    Posts
  • in reply to: Function does not update value #1322923
    Victor
    Member

    Hello Phillipa!

    Thanks for reaching out to us! 🙂 Let me try to help you with that.

    The arguments to be passed into $args can only be the ones stated here as a reference > https://developer.wordpress.org/reference/functions/wp_insert_post/#parameters

    I can see in your code that you might have mismatched the $args variable. Will something like this work for you?

    $args = array(
        'meta_input' => array(
        'PlacesLeft' => '46',
      ),
    );
    
    tribe_update_event (98, $args);
    

    I’m not sure where exactly you are using that code snippet but I suggest you test that out in a test/dev site before doing it so in a live site, because it may have unintended effects.

    We also encourage you make a full backup of your site just in case something goes wrong, and you can always revert changes back.

    I hope that helps. Let me know if you have other questions.

    Best,
    Victor

    in reply to: Exclude past events from WP search #1322901
    Victor
    Member

    Hello Sabina!

    Thanks for following up with this!

    I could make the following code snippet work for me:

    add_action( 'pre_get_posts', 'edcny_pre_get_posts' );
    function edcny_pre_get_posts($query) {
    if (!is_admin() && $query->is_main_query()) {
    if ($query->is_search) {
    
    $meta_query = array();
    $meta_query[] = array(
    'key' => '_EventStartDate',
    'value' => date('Y-m-d').' 00:00:00',
    'compare' => '>=',
    'type' => 'DATETIME'
    );
    $query->set('meta_query', $meta_query);
    }
    }
    return $query;
    }
    

    Will this work for you? Let me know about it.

    Best,
    Victor

    in reply to: Intermittent Database Connections #1322669
    Victor
    Member

    Hello Derek!

    Thanks for following up with this!

    It’s good to know the connection issue seems to be resolved. Let me know if any changes on this.

    Regarding the PHP Warning you are getting, we think this could be a bug from the Event Aggregator service, where it is failing to supply a value to show the correct error message. I will create a report for this and link it to this thread so we can let you know about the updates.

    Just to confirm, could you please check you are not reaching the daily limit for 100 imports a day by going to Events > Help under Event Aggregator System Status ?

    In regards to the Maximum execution time of 180 seconds exceeded, it seems it’s reaching the your server max execution time limit set. Where are you seeing this error? Could you please share with us in a private reply the debug.log file located at /wp-content folder?

    Thanks,
    Victor

    in reply to: Conflict with plugin Critic #1322473
    Victor
    Member

    This reply is private.

    in reply to: 500 Error after updating recurring events #1322463
    Victor
    Member

    This reply is private.

    in reply to: Order of additional fields in filter #1322407
    Victor
    Member

    Hello Lauren!

    Thanks for reaching out to us!

    Unfortunately, there is no direct way to adjust the order of custom fields in Filter Bar at the moment. It may very well be possible with some custom development, but I do not have a workaround that is supported by the plugin.

    There is an open ticket for this in our User Voice here: https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/13251324-control-the-order-of-items-inside-a-drop-dow-box-i

    I’d suggest you add your vote to it and if you’d like also leave a note about your use case. This way it can get into one of our future feature releases.

    I’m sorry for the news, but I hope this at least helps answer your question about the possibility of changing the order of filters.

    Let me know if you have any other questions and I’d be happy to help as much possible.

    Best,
    Victor

    Victor
    Member

    Hello Patricia!

    Thanks for getting in touch with us! 🙂 Let me try to help you with that.

    If you want to remove the previous/next navigation you can do so by doing a template customization. In our themer’s guide > https://theeventscalendar.com/knowledgebase/themers-guide/ you can learn how to customize our templates.

    For example, if you want to remove the previous/next navigation from the list view, you can do the following:

    • Make a copy of the content.php template file. It is located at wp-content/plugins/the-the-events-calendar/src/views/list/content.php
    • Make a new folder in your theme called tribe-events
    • Make a new folder in that one called list
    • Drop your copied content.php file in that last folder

    Now that the template is in your theme, you can modify it to suit your needs. In this case, comment out or completely eliminate line 42 and 63 where the navigation templates are called.

    Will this work for you? Please let me know.

    Best,
    Victor

    Victor
    Member

    Hello Jonathan!

    Thanks for reaching out to us!

    You can create a custom query for the home page by making use of the tribe_get_events() helper function. There’s a good article with a few examples on how to use it here > https://theeventscalendar.com/knowledgebase/using-tribe_get_events/

    I hope that helps! Let me know if you have other questions and I’d be happy to help. 🙂

    Best,
    Victor

    in reply to: Exclude past events from WP search #1322311
    Victor
    Member

    Hello Sabina!

    Thanks for reaching out to us!

    You can try the top snippet available here https://theeventscalendar.com/support/forums/topic/exclude-past-events-from-search-results-2/. This worked for the user after removing other search filtering plugins that were ignoring the parameter set there.

    Let me know if that helps.

    Best!
    Victor

    in reply to: Calendar Speed #1322290
    Victor
    Member

    Hello Elaine,

    Thanks for reaching out to us! I’d be happy to help you with this. 🙂

    2,892 events is a considerable amount of events, specially if they are recurring events. We have a great article that will get you started on Performance Considerations you should know about. After that, if you decide to implement a caching system then you can move to these articles: Caching: What, when and how and Caching month view HTML in transients

    Finally, there’s also a good article George put up here that groups a set of developer plugins. It’s a bit more technical than the others but will definitely be of help if you are into development.

    I hope that helps! Let me know if you have other questions.

    Best,
    Victor

    in reply to: Default Mobile View / Yoast Conflict #1322285
    Victor
    Member

    Hello Lauren!

    Thanks for taking your time and reporting this!

    I’ve been able to identify a small glitch that occurs when having set a different default mobile view under Events > Settings > Display tab -> Default Mobile View. Under these circumstances, it appends the undefined variable to the URL.

    I have logged a report about this so the dev team will include a fix for this in one of our future maintenance releases. I have also changed this thread’s status to “Pending fix” and linked it to the report. This way we can let you know when a fix is available.

    Regarding the PHP notices:

    Note that the “undefined” redirect does still occur with all plugins deactivated except The Events Calendar, Events Calendar Pro, and Filter Bar, as well as Twentyfourteen theme activated. The PHP notices do not.

    Under this scenario, could you please place the code snippet into the Twentyfourteen functions.php file and activate the Yoast SEO plugin? Do you get the PHP notices after that? Please let us know about it.

    Thanks,
    Victor

    in reply to: Database error message showing on main calendar page #1322118
    Victor
    Member

    This reply is private.

    in reply to: Not updating on Event Ticket Page #1322102
    Victor
    Member

    Hello Jo!

    Great! You let us know how the testing goes when you can.

    Regarding the exchange tickets issue, what do you mean exactly by saying “When you exchange the order to a new persons account, the ticket does not move with the order.” ? Do you mean that when you change the customer assigned to the order via the edit order page in WooCommerce? If so, that will only change the user assigned to the order.

    In the attendees list, the name assigned to the ticket will always be the billing information of that order. Do you experience something different? Let me know.

    Best,
    Victor

    in reply to: Duplicate Organisers #1321544
    Victor
    Member

    Thanks for clearing that out Neill!

    If it’s only happening with only a few isolated images, I totally understand you not wanting to disable the Imagify plugin to test that out. Do let us know if you experience any changes with this.

    Regarding the duplicate organizer issue, I will try to come back with a solid answer on Monday.

    Thanks for your patience with this.

    Best,
    Victor

    in reply to: Database error message showing on main calendar page #1321542
    Victor
    Member

    This reply is private.

Viewing 15 posts - 4,171 through 4,185 (of 5,398 total)