Support » Plugin: Events Manager » [Plugin: Events Manager] Buddypress – Prevent new bookings from being shown in activity stream

  • Resolved Mat

    (@mat2010)


    Thanks for this great plugin.

    I’m using it with the last version of Buddypress. I have activated the “booking without user” mode (my Buddypress users can create events but attendees does not become new users after booking).

    I don’t want the bookings to show in the activity stream.

    Is it possible ?

    Thanks a lot, and sorry for my bad english. 🙂
    Mat

    http://wordpress.org/extend/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    with a little code, yes!

    try adding this to e.g. your functions.php file:

    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);

    otherwise, wrap it in

    function my_special_function(){
    //here
    }
    add_action('init','my_special_function');

    Brilliant ! It works perfectly 😉
    Thank you for your solution and your quick answer. I will definitely recommend your plugin around me.

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    thanks, appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Events Manager] Buddypress – Prevent new bookings from being shown in activity stream’ is closed to new replies.