Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

BuddyPress Notifications (4 posts)

Started 1 year, 3 months ago by: driz

  • Is it possible to show notifications on a BuddyPress site when something new happens like a comment on a users post or new private message?

    So for example something like this:

    <h2>Notifications ( 2 )</h2>
    <ul>
    <li><a href="/2010/01/01/my-post/#comment-2">Cameron posted a comment on your post</a></li>
    <li><a href="...">Dave sent you a new private message</a></li>
    </ul>

    EDIT: Just to confirm, I don’t use the BuddyPress Admin Bar, not sure if had something like this already, but basically I want to show a box with a number of notifications ie 2 and then when the user clicks the box it shows the new ones and resets the number to 0.

  • Any updates? Thanks :)

  • Profile picture of aces aces said 1 year, 3 months ago:

    Something like that is done by the admin bar:

    /buddypress/bp-core/bp-core-adminbar.php
    around line 171

    Is that what you mean?

  • Thanks :) Works fine!