Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: have problem with SEND TO box


John James Jacoby
Keymaster

@johnjamesjacoby

Lets try this in the same area…

// Get the total number of friendships
$total_friends = $wpdb->get_var( $wpdb->prepare( "SELECT count(id) FROM {". $bp->friends->table_name ."} WHERE (friend_user_id IN (". $filtered_friends .") AND initiator_user_id = %d) OR (initiator_user_id IN (". $filtered_friends .") AND friend_user_id = %d)", $user_id, $user_id ) );

I should also ask if you’re using any custom or particular plugins or modifications to your website, even in your functions.php. Just trying to rule everything out if we can.

Skip to toolbar