Log Entries to BuddyPress Notifications

Home / Code Snippets / Log Entries to BuddyPress Notifications

This is an example how you can add BuddyPress notifications for users when they gain / lose myCRED points.

Add to your child theme's functions.php file

Last edited October 22, 2016

  1. Hi,

    I’ve added the snippet into my functions file, when its triggered, it shows a new notification, but no text is being displayed.
    Is there any additional action I need to take in order to display the text in the notification?

    Much appreciated!

  2. @Gabriel Merovingi

    Superb! When adding the snippet it now displays the text that tokens are earned!
    Would it be possible to have it include the amount of tokens that are earned aswell – and maybe link the actual notification to the history of a user, so they may check in full the entries?

    Thank you very much in advance!

Leave a Reply