@revolutionfrance Just wondering if this won’t work! Why don’t you just add the filter function directly into your theme file exactly where u want the filter to apply right before you call the
`<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' )) ) >`
I mean something like this:
`
<?php
function my_query_filter_new ( $query_string ) {
$query_string .= ‘&per_page=10’;
return $query_string;
}
add_filter( ‘bp_ajax_querystring’, ‘my_query_filter_new’ );
if ( bp_has_activities( bp_ajax_querystring( ‘activity’ )) ) >
`
I haven’t tried this but I don’t see why it wouldn’t work.
I hope this helps.
@etiviti,
How does one use the BP_Groups_Member::get_is_admin_of( $user_id )? I mean where do do I put it in order to only list groups that user is admin or mod of.? This is a bit confusing.