Group Mods

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

Is there a way to keep a Notifications stream or history? (3 posts)

Started 8 months, 3 weeks ago by: Nahum

  • Profile picture of Nahum Nahum said 8 months, 3 weeks ago:

    Do notifications stay recorded anywhere to be able to create a notifications page with a history of all previous notifications read and unread.

  • Profile picture of Boone Gorges Boone Gorges said 8 months, 3 weeks ago:

    The notifications component is not really set up to do this. Notifications get deleted after they are seen, instead of just being marked as read. There is a column called ‘is_new’, which you could probably manipulate to do what you’re trying to do, though it’d take a fair amount of fishing through the codebase to make sure that you caught every attempted deletion and replaced it with a mark-as-read. Then you’d need to create the markup for the notification history page (which would be straightforward).

    This is a pretty good suggestion for a future enhancement. I encourage you to open a ticket on trac.buddypress.org, ideally with a patch :)

  • Profile picture of Nahum Nahum said 8 months, 3 weeks ago:

    Done.

    I got to writing up the ticket and it made sense to try and include other WP notifications like
    1. comments approvals [your comment was approved on X blog,
    2. drafts being published [ your posts was published ],
    3. if admin plugin/theme update alerts [3 plugin updates available]
    4. integration of Form submissions…I guess anything WP sends out emails for…

    Would also be a good place to record all previous BP Public Notices…and Forum notifications.

    basically a user private/personal activity stream for admin/dashboard type stuff.