• Resolved 3T_MJ

    (@3t_mj)


    How do I disbale Buddypress integration completely?

    I already added
    remove_action( ‘bp_init’, ‘bp_em_init’ );
    remove_action( ‘bp_include’, ‘bp_em_init’ );

    to my functions.php

    Tabs disappeared successfully but Events and Bookings option still shows up in the Activity Dropdown select option.

    How do I remove it completely?

    https://www.ads-software.com/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter 3T_MJ

    (@3t_mj)

    New events are still getting displayed in the actvity loop. Weird.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    try under events-manager/buddypress/bp-em-activity.php

    Thread Starter 3T_MJ

    (@3t_mj)

    Thanks @angelo_nwl for trying to help.

    I now added the code

    remove_filter('em_event_save','bp_em_record_activity_event_save', 10, 2);
    remove_filter('em_booking_set_status','bp_em_record_activity_booking_save', 100, 2);
    remove_filter('em_booking_save','bp_em_record_activity_booking_save', 100, 2);
    remove_filter('em_booking_delete','bp_em_record_activity_booking_save', 100, 2);

    to my functions.php. Is this correct?

    Anyway, now events don’t get displayed in the activity loop (as desired).

    But the first issue still persists.

    Do you (or anyone else) know how to remove the select option ‘Bookings’ and ‘Events’ from the Activity dropdown box?

    It would be so much easier if Events manager would allow an option to enable or disable buddypress integraton by one click… Unfortunately I’m not a php expert.

    Those filters are listed in:
    /events-manager/buddypress/bp-em-activity.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Events/Bookings from Buddypress Activity dropdown’ is closed to new replies.