Add notification when a relation or friends publish new content

by comcom   Last Updated November 25, 2017 12:07 PM

I want like facebook notification add icon when a user relationships or flag friends ( user relationships ou flag friends module ) publish a new content. I follow this good tutorial who is the closest to do that : How to allow users to manage their own Message Stack messages? and it's works perfectly but only for the current user and not relationships or friends. I find also How to implement Facebook style Notifications for Organic Group posts? on this web site.

I would use not only for the current user but for user relationships like a facebook notification. I try many ways for days: using rules, views or custom development (the most closest with hook_node_insert and user_relationships_load } but without success. The problem is you need to notify individually each friends like that they can manage there own notification, if not each time a friend remove a notification it's remove for ALL friends.

By advance thanks

Tags : views rules


Related Questions


Schedule unpublished nodes 3 times a day

Updated May 26, 2015 22:03 PM

Clone nodes and change fields with Rules and VBO

Updated May 20, 2015 20:03 PM


Menu badge not hiding after page is viewed

Updated March 20, 2017 19:07 PM