Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • @chefouvi

    Participant

    @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.

    @chefouvi

    Participant

    +1 much needed

    @chefouvi

    Participant

    @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.

    @chefouvi

    Participant

    Sure have you considered the group document plugin? Each Shop Profile could be a group. Install the plugin and see if that can help.

    @chefouvi

    Participant

    Hi all,
    Hi has anyone found a viable solution for this? It would just be great. If you have a solution, please share it.

    Thanks,

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar