Buddypress notifications not working (3.0.5)
So basically Buddypress integration is only partial working. Anspress properly sends info about activities and BP shows them, but BP doesn’t show any notifications for AP actions. In that case integration with BP is somewhat problematic.
If BP is active, then automatically AP notifications (drop down menu etc.) are switched off. So now there are no notifications at all if you want to integrate AP with BP.
I fixed notification for BP and it is working well, but I still have issue with deleting comments notifications if I delete whole question or answer. I will need to make a deleting loop for comments.
So notifications are now working, but they are not dismissed after clicking them. So how can I trigger a “read notification” after click and redirect to where that notifications leads?
Comments notifications are stored in AnsPress tables or BP?
Please feel free to send a pull request and I will check.
Yes, I know how to trigger a notify read after, for example, clicking on a dedicated button. I need to dismiss notification when user loads a question page which these notifications relate to. I will write a function, that checks if user has notifications related to that question page, and dismiss them, when he do. What I need, is a add_action, that will execute my function after question page load. Any ideas?
Yes, comments notifications are stored in BP tables. For adding bp notifications I’m using bp_notifications_add_notification();
Hello,
For your second question, please check this link: https://github.com/anspress/anspress/blob/master/includes/process-form.php#L54