Events Manager
[resolved] Buddypress - Prevent new bookings from being shown in activity stream (4 posts)

  1. Mat
    Posted 3 years ago #

    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. :-)


  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    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(){
  3. Mat
    Posted 3 years ago #

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

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    thanks, appreciated!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic