Forum Replies Created
-
@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.In reply to: Split members into admin defined caregories+1 much needed
@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.Sure have you considered the group document plugin? Each Shop Profile could be a group. Install the plugin and see if that can help.
In reply to: Add admin as friend to new usersHi all,
Hi has anyone found a viable solution for this? It would just be great. If you have a solution, please share it.Thanks,