Related Events bug showing all events as either recurring or not

Home Forums Calendar Products Events Calendar PRO Related Events bug showing all events as either recurring or not

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #717310
    George Pytlik
    Participant

    There appears to be a bug in the Related Events functionality on The Event Calendar Pro. It was showing some one-off events as recurring events. I did some exploring and it seems that what the plugin is doing is treating ALL related events as being either recurring or not. Unfortunately the site is not yet live so you can’t view it, but here are two screen shots to illustrate the problem:

    http://www.delta.dance/pix/misc/tribe-related01.png
    http://www.delta.dance/pix/misc/tribe-related02.png

    When recurring events are shown, it shows all three as being recurring if there are at least two recurring events, or all three as being not, if only one of the three is a recurring event.

    #719302
    Barry
    Member

    Hi adwiz,

    Thanks for reporting this – there does indeed seem to be a bug here.

    Best I can tell the recurrence information being appended is incorrect even if the related event is recurring (it’s simply the recurrence information that applies to the single event being viewed rather than the related event itself).

    With that in mind, until we can get a fix in place in an upcoming release, it may be best to simply disable this in respect of related events.

    To do that, can you try adding the following piece of code to your theme’s functions.php file?

    add_filter( 'tribe_get_related_posts', 'hide_recurrence_info_from_related_posts' );
    
    function hide_recurrence_info_from_related_posts( $html ) {
    	if ( tribe_is_event() && is_singular() ) {
    		TribeEventsPro::instance()->disable_recurring_info_tooltip();
    	}
    	
    	return $html;
    }

    Does that work for you/at least give you some temporary relief?

    #719939
    George Pytlik
    Participant

    This fix works perfectly and will do great until you can get the issue fixed. Thanks so much!

    #719961
    Barry
    Member

    Pleasure 🙂

    I’ll close this thread, but I have linked it to the corresponding bug report on our internal issue tracker and as soon as we’ve got some progress to report (realistically, this might be one or more releases away) we’ll certainly do our best to re-open the thread and post an update.

    Thanks once again!

    #769051
    Leah
    Member

    Hi there,

    Thanks for bringing this issue to our attention. We weren’t able to get to it for our upcoming 3.8 release, but it is still very much on the radar. We hope to have it fixed in an upcoming release, and we will do our best to keep you posted on our progress. Thanks for your patience and support!

    Best,
    Leah
    and the team at Modern Tribe

    #966728
    Leah
    Member

    Hi there,

    Thank you for your support and patience while we worked on this issue. We are happy announce that we have incorporated a fix into our upcoming 3.10 release. Keep an eye out for a release announcement on our site and for updates available on your WordPress dashboard.

    While we have thoroughly tested this release and are confident of its quality, it is impossible to account for every edge case in the wide world of WordPress. If you run into trouble with the new version or you don’t see your reported issue corrected, please start a new thread and we will be happy to work with you.

    Thanks again for your patience here. We’re excited to get this version out the door and into your hands!

    Best,
    The Events Calendar Team

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Related Events bug showing all events as either recurring or not’ is closed to new replies.