Reply To: Activity issue with old blog posts
Oh i see. I focused on love the way the activity stream is working for new blog posts and comments …
If you comment today an old post, this comment i now (what you say you love…) attached to that post, wich is already in the feed.
To be clear, a Post published in january and commented today will appear together in the activity stream.
But if you want to see the today’s comment, you have to scroll to the january activities ! Depending your audience this can take a while.
If this is not what you want your SWA, you can revert back to the old schoolish chrnologic activity method for post and comment. Add this to bp-custom.php
function bpfr_stream( $qs, $object ) {
if ( 'activity' != $object ) {
return $qs;
}
$qs = wp_parse_args( $qs, array() );
$qs['display_comments'] = 'stream';
return $qs;
}
add_filter( 'bp_ajax_querystring', 'bpfr_stream', 20, 2 );
Give feedback! 😉