@teun_rb
8 years, 4 months ago
Anyone with an idea?
Bump 😉
The following code, posted by Brooker in the topic I linked above works almost the way it should:
function bbg_my_groups_activity_default( $qs ) { if ( empty( $qs ) && empty( $_POST ) ) { $qs = ‘action=activity_update’; } return $qs; } add_filter( ‘bp_ajax_querystring’, ‘bbg_my_groups_activity_default’, 999 );
The only problem is, it only works on the first page. As soon as you click “read more”, all posts are loaded, and not just status updates. Brooker noted the same issue almost 5 years ago.
I could’ve sworn I already responded to this, haha. Oh well, some of the code I tried includes:
https://buddypress.org/support/topic/show-updates-as-default-in-activity/ https://buddypress.org/support/topic/filter-the-activity-stream-to-status-updates-only-not-working/
bp_ajax_querystring()
8 years, 5 months ago
Bump
Anyone?