Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: “Send To” Error in “Compose Message”


3237780
Inactive

I have the same thing :‘(

To hide the error message, you can comment, in “bp-messages-ajax.php”, the core of “messages_ajax_autocomplete_results” like this :

function messages_ajax_autocomplete_results() {

/*global $bp;

// Get the friend ids based on the search terms

$friends = apply_filters( ‘bp_friends_autocomplete_list’, friends_search_friends( $_GET[‘q’], $bp->loggedin_user->id, $_GET[‘limit’], 1 ), $_GET[‘q’], $_GET[‘limit’] );

if ( $friends[‘friends’] ) {

foreach ( $friends[‘friends’] as $user_id ) {

$ud = get_userdata($user_id);

$username = $ud->user_login;

echo bp_core_get_avatar( $user_id, 1, 15, 15 ) . ‘ ‘ . bp_core_get_user_displayname( $user_id ) . ‘ (‘ . $username . ‘)

‘;

}

}*/

}

If anyone know how show users list I am interested…

I tried with “friends_search_users” but I got the same error message “Call undefined function”.

Sorry for my poor english :p

Skip to toolbar