BuddyBoss Home – Web Support Forums Plugins BuddyBoss Media Buddyboss Media and Event Manager [events_calendar]

Viewing 8 posts - 1 through 8 (of 8 total)
  • Question

    #34190
    @adminzenoed

    Hi,
    The latest BB Media .js is returning the error: TypeError: e is undefined in [events_calendar] page and rendering the page to be loading endlessly (calendar is not loaded). When disabling BB Media plugin, the page loads okay. Pls help look at the js conflict with Event Manager plugin. Thanks

    Answers

    #34202

    Alyssa
    Participant
    @alyssa-buddyboss

    @kjowers are you having similar issues with the Events Manager plugin?

    #34203

    Alyssa
    Participant
    @alyssa-buddyboss

    @adminzenoed I can’t seem to replicate your issue. Can you please post the plugin link as well as detailed directions how to reproduce your error…what page you are on etc?

    #34204
    @adminzenoed

    Hi,
    Plugins used is: https://wordpress.org/plugins/events-manager/

    I created a page with shortcode [events_fullcalendar]
    Plugins active: Event Manager + BB Wall + BB Media1.1.1 + BP2.1 + WP4.1 + BB4.0.9 of course.

    When viewing the page, I keep getting the attached screen (endless at loading screen).

    Simple tests done
    a) If I disabled BB Media plugin, the calendar page is displaying okay.
    b) Re-enabling BB Media plugin, then the same problem re-appears.

    JS Error seems to point to: function bbmedia_getQueryVariable(e,t) in buddyboss-media.min.js

    What do you think?

    #34206
    @adminzenoed

    TJ, I missed one point — actually I have this plugin for that full page calendar stuff instead of the standard Event Manager: https://wordpress.org/plugins/wp-fullcalendar/ that integrates with Event Manager. The shortcode used is [events_fullcalendar] — I guess the conflict is with this plugin instead of Event Manager.

    Also, in the BB Media Setting, if i untick “Enabled Media Component”, the calendar page appears okay.

    How can I disable Media Component when I am viewing a Page (or a specific page) i.e. do not load buddyboss-media.min.js ?

    #34212

    Alyssa
    Participant
    @alyssa-buddyboss

    @adminzenoed here is some code to help disable the media script:

    if( is_page( '' ) ) add_action('wp_enqueue_scripts', 'dequeue_function');
    function dequeue_function() {
    	wp_dequeue_script( 'buddyboss-media-main' );
    }

    NOTE: you need to insert the page id of the page you use the shortcode for the calendar. I believe the issues stems from the plugin not using noconflict mode and since the plugin is no longer updated not sure that will ever happen.

    #34213
    @adminzenoed

    Thanks @tjchester This is solved.
    I added this to child header.php after do_action( ‘buddyboss_after_header’ );
    <?php if( is_page('events-calendar') ) wp_dequeue_script( 'buddyboss-media-main' ); ?>

    #34214

    Alyssa
    Participant
    @alyssa-buddyboss

    Great!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The question ‘Buddyboss Media and Event Manager [events_calendar]’ is closed to new replies.