Buddypress custom notifications
i am working on custom notification for when user updates his profile a notices to all of his user broadcasts.
let say user 1 updated his profile at 9m and a notices goes to user2,user3 that user 1 updated his profile.
but at 10pm user1 again updated his profile. but user2,user3 did not get notice.
i used xprofile_updated_profile hook and bp_notifications_add_notification() settings AS
bp_notifications_add_notification( array( 'user_id' => $friends_id, 'item_id' => $user_id, 'component_name' => 'custom', 'component_action' => 'custom_action', 'date_notified' => bp_core_current_time(), 'is_new' => 1, ) );
Can some one please tell me, guide me how to do this.whenever profile is updated new notice should go to all friends thanks.
- The topic ‘Buddypress custom notifications’ is closed to new replies.