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

  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!

    1. This, right here, is 1/3 of what is needed to make badges perfect! Some way to let users see when they earned something (not so interested in the points because that gets spammy but badges… so much yes!)

    2. Yes and yes!!! Showing when users earn badges/ranks in the Activity Feed would be epic!

  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

Spin to win points 💰
Kindly get back to your previous orientation view... your wheel is rolling there...

Do you really like this awesome addon and wanna use on your site? click here to get it now 👍
myCRED Fortune Wheel special offer unlocked!
You have a chance to win free tokens. Are you feeling lucky? Give it a spin.
* You can spin the wheel only once in a month.
* You can spin again any time by paying 500 points
* Once you pay for spin you are not able to refund it.
You must login to play mycred fortune wheel
11
Happy HolidaysGET DISCOUNT