Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

  • akosichen
    Participant

    @akosichen

    Here the codes I’ve used. And it works! Thanks!
    For future reference.
    Put these codes in bp-custom.php.

    function modify_members_loop( $qs=false, $object=false ) {
    
        if ( $object != 'members' )
            return $qs;
    
        $subscribers =  get_users( 'fields=ID&role=subscriber' );
        
        $args['include'] =  $subscribers;
    	
        $qs = build_query($args);
    
        return $qs;
    }
    add_action( 'bp_ajax_querystring' , 'modify_members_loop', 25, 2 );

    akosichen
    Participant

    @akosichen

    Hello @Henry Wright
    Yes Im redirected to compose message, but I want is the recipient will automatically added to send to fields like when you go to someone’s page then clicked the Private Message.

    Anyway, thankyou so much!


    akosichen
    Participant

    @akosichen

    I’m sorry for being noob.
    Why do I have to place it on Profile Template?
    Where can i find that?
    thankyou!


    akosichen
    Participant

    @akosichen

    No, I’m not.
    I wanted to place it to the other page.
    How about that?
    and How can I get the info field fron the other page and display it to Subject field?
    thank you somuch!!!

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