Hi Lee,
thank you for the tests. I had not tested it on 1.8, so It is quiet possible that the hooks I am using is not even available. Will do testing and fork out a branch for 1.8.Hi Arvind,
Please put this in your bp-custom.phpfunction buddydev_add_more_notifiable_user_ids( $user_ids ) { if ( function_exists( 'bp_follow_get_following' ) ) { $user_ids = array_merge( $user_ids, bp_follow_get_following( array( 'user_id' => bp_loggedin_user_id() ) ) ); } return array_unique( $user_ids ); } add_filter( 'buddydev_user_notifier_notifibale_user_ids','buddydev_add_more_notifiable_user_ids' );
That will notify users on any new activity of the people they are following.
@ljmac,
No problem. I am on it.Hi Lee,
Can you please download this(It is specifically for 1.8)
https://github.com/buddydev/bp-user-activity-notifier/archive/bp1.8.zipOthers looking at this thread, Please use
https://github.com/buddydev/bp-user-activity-notifier/ instead.Since WordPress 3.7 will not work on my system(I am using php 7+), I had to make some guess work for the back compatibility and was not able to test. Please give it a try and let me know.
Thank you
Wow, PHP7 – I’m still on 5.3 (once again, for compatibility with older stuff).
Unfortunately this version doesn’t seem to work either, and frustratingly, there aren’t any PHP errors to give me a clue as to what is going wrong. I guess it’s too difficult for you to do at this time. 🙁
Hi Lee,
The code should work fine on php 5.3Have you tried posting an activity after activating the plugin and then logging in as the friend of the user?
Hi Brajesh,
Yes, that’s exactly how I did test it.
I’ve long since removed the BuddyPress notification bar to depend on your notification widget for this purpose. Is it possible it doesn’t work with your widget? I’m running version 1.0.7 for compatibility with BP 1.8.
Were you able to test it on 1.8 yourself? If you got it working that gives me hope. 🙂
You must be logged in to reply to this topic.