Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Solved] What are the correct action and filter hooks for comment notifications?


  • mcpeanut
    Participant

    @mcpeanut

    I have been customizing the way my notifications are shown and have split them out from the main notifications bubble, so far i have managed to do this via these hooks/filters

    bp_friend_get_total_requests_count
    bp_notifications_get_unread_notification_count
    messages_get_unread_count

    Now i don’t know the ones that relate specifically to the comment notifications a user receives when someone replies or comments on their status update etc, any ideas?

Viewing 26 replies (of 26 total)

  • Henry Wright
    Moderator

    @henrywright

    @mcpeanut

    glad you got it working! 🙂

    Oh one last thing henry it turns out i didnt need to use the echo $count; at the end because it was causing it to echo 4 times on the page

    That’s strange. I’m not sure why that would be happening because the echo statement should execute once only. Perhaps you’re running the code inside a loop which causes the count to display multiple times?

Viewing 26 replies (of 26 total)
  • You must be logged in to reply to this topic.
Skip to toolbar