Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] How to remove Messages from showing in Notifications

  • @bluefley

    Participant

    We have a website where we are splitting the “messages” component from “notifications” in a similar way as facebook. We have the messages showing up properly on their own now but how do you go about ignoring them in the Notifications so that they are not added and counted there as well ?

    We get a notice when we get a new message but we also get a notification notice for this same message which is obviously silly.

    Any help would be greatly appreciated!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • @bphelp

    Participant

    @bluefley
    Can you provide the code you used via pastebin and I will see if I can help you.

    @shanebp

    Moderator

    Try this in bp-custom.php

    remove_action( 'messages_message_sent', 'bp_messages_message_sent_add_notification', 10 );

    add_action is ~L. 191 in buddypress\bp-messages\bp-messages-notifications.php

    @bluefley

    Participant

    @shanebp you’re the man, works great! Thanks!!

    thanks anyways @bphelp!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How to remove Messages from showing in Notifications’ is closed to new replies.
Skip to toolbar