Hello,
you offer the great live notifications plugin which updates the number at the WP toolbar in real time if any new message comes in.
I am not using the WP toolbar. Instead a bell which updates the number by “bp_notifications_get_unread_notification_count( $user_id );”.Is it possible to live update it the same like WP toolbar does with your plugin?
By the way, there is a problem/bug with the live notfication plugin.
1.Chose public message on someone’s profile.
2.Then select friendship from the dropdown on the right side
3.Write something in the text field and click update
4.On next page click “see acitiviy”
Then a button “undefined” occurs which counts up every 10 seconds or so. This happens only if your plugin is installed. Interesting, I tested this behaviour with another live bell plugin and it has the same bug.
If your or his plugin is deactivated everythings works and no “undefined” occurs.Tested with twenty twenty five theme, buddypress, buddypress classic and your plugin on a fresh wordpress installation.
Here a mp4 video about this (link is just viewable 24 hours)
https://jumpshare.com/s/7EDAITT7ST9YKQYh9bZSHi Alex,
Thank you for using the plugin.
I am unable to assist you with a custom theme but I will point you to the code updating admin bar.
https://github.com/sbrajesh/bp-live-notification/blob/master/assets/js/bpln.js#L68Please feel free to make that work with your theme.
About your second issue, I am sorry, I have no idea what might be causing it. I will test it and write back tomorrow.
Regards
Brajesh
You must be logged in to reply to this topic.