Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter tsoto111

    (@tsoto111)

    Hi Darian,

    Sorry for the long wait. The site is scheduled to be released early April. I am dealing with small client requested theme tweaks at the moment. I can circle back to this tread once the requests have been satisfied. This is still on my radar!

    Cheers,
    – Tavo

    Thread Starter tsoto111

    (@tsoto111)

    I’m going to need a little bit of time, I am in the process of finishing the last feature for this site. It is currently in development. I will get back to you soon.

    Thread Starter tsoto111

    (@tsoto111)

    Okidokie, I submitted my request but it disappeared after submitting the form. I guess there is some kind of approval process. That being said, I did extract the functions I needed from the Calendar classes into my archive views and got everything working utilizing the event_id. But, it is not ideal to have that sitting in the view… not to mention how brittle it is if calendar code is changed in future plugin releases. Thanks for responding though! Great to see that this plugin is being actively maintained.

    Thread Starter tsoto111

    (@tsoto111)

    Ok, so I spent another day on this and got in a little deeper. I was able to resolve the error I was getting above. The issue was, I was attempting to render the “Add to Calendar” dropdown nav via the block template instead of using the component. Code via [theme]/tribe/events/v2/list/event.php

    <?php
    # I put this where I want it in my event post card...
    $subscribe_links = empty($this->get(['subscribe_links'])) 
        ? false 
        : $this->get( ['subscribe_links'] );
    
    if (!empty( $subscribe_links ) ) {
        $subscribe_links = array_filter(
            $subscribe_links,
            function( $item ) {
                return $item instanceof Link_Abstract
                       && isset( $item->block_slug );
            }
        );
    ? ?
        $this->template('components/subscribe-links/list',
            [
                'items' => $subscribe_links,
                'event' => $event
            ]
        );
    }
    ?>


    When switching to the component, I was able to render the “Add to Calendar” subscription links BUT they were not building their associated calendar url redirects properly. I realized that this is because the code for this plugin always assumes that these links will ONLY be used in the event’s single page template.

    As a result, I dove deeper into the Calendar based class objects in the Tribe/Views/V2/iCalendar/Links directory. The Google_Calendar class object contained a beautiful function generate_single_url($post = null) That allowed me to pass the WP_Post $event object to the param and it just did its thing! Although, iCal, Outlook_655, and Outlook_live didn’t have a similar logic. Instead, I see you guys pulling the event data from the global query… for example:

    /**
     * Generate the parameters for the Outlook export buttons.
     *
     * @since 5.16.0
     *
     * @param string $calendar Whether it's Outlook live or Outlook 365.
     *
     * @return string Part of the URL containing the event information.
     */
    protected function generate_outlook_add_url_parameters( $calendar = 'live' ) {
        // Getting the event details
        $event = tribe_get_event(); # <--- THIS IS MY PROBLEM RIGHT HERE...
        ...
        return $params;
    }

    In short, it would be EXTREMELY useful if all the 3rd party logic supported the generation of event export to calendar urls by $event post object. Event something like, get_cal_subscription_links($event) that would spit out the dropdown element!

    I honestly think this plugin is dead. I didn’t get any responses for 3 weeks and this plugin just didn’t work with the latest WordPress site I am currently building. I posted an alternative solution in my post here:

    https://www.ads-software.com/support/topic/terms-are-not-being-found/

    God speed.

    Thread Starter tsoto111

    (@tsoto111)

    So, it has been 3 weeks with no response. I ended up trying different plugins to see if I could get the outcome I required for my site. I found that “YIKES Simple Taxonomy Ordering” was the plugin that achieved taxonomy ordering very easily with no complicated configuration. So if anyone else is having the same problem as me, you might try out a different plugin.

    Thread Starter tsoto111

    (@tsoto111)

    Hi Farroyob,

    Sorry for the late reply. We actually reviewed the beta logic with the client and this wasn’t the user experience he was looking for. During my POC, I noticed that the “Restaurant Locations” are still tied to the “Google Map”. As a result, when I enabled the new setting it did render the “load map” button instead of the full map. But, it also hid the “Restaurant Locations”.

    My client actually wants a view where the map is replaced by the “load map” button while the restaurant locations are still listed in the view. Once a user clicks the “Load Map” button… then the google map would load with all of the markers. In short, the filter and restaurant posts would always be present and functional. The google map logic would be optional.

    All that being said, this is just a suggestion to improve the UX/UI of this plugin. What you guys have is AWESOME, but this addition would make it even better. They are still using the plugin, but in the future I can still see them having me re-build the site’s restaurant logic directly into the theme just to get the optimization of google map API requests.

    Cheers,
    – Tavo

    Thread Starter tsoto111

    (@tsoto111)

    @farroyob, THIS IS GREAT NEWS! I have posted in your contact form for the beta version of this functionality. That being said, do you guys possibly have an estimate of when version 3.0 is released?

    This will help me advise my client on whether or not it is worth it to wait. Otherwise, I will be forced to implement an “external” custom solution.

    Thread Starter tsoto111

    (@tsoto111)

    Just as an update to everyone, I didn’t implement the fix and Chrome has fixed the issue. I came into the office today and no wonky hovers.

    Cheers,
    – Tavo

    Thread Starter tsoto111

    (@tsoto111)

    Yup, mhmmm God Bless… I knew the internet gods were up to something. Appreciate the help brotha!

Viewing 10 replies - 1 through 10 (of 10 total)