Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Memcached is breaking private messaging


gregfielding
Participant

@gregfielding

Just to update, I applied the code from the patch with no luck. Here’s what my messages-templatetags.php code now says:

function bp_send_private_message_link() {
echo bp_get_send_private_message_link();
}
function bp_get_send_private_message_link() {
global $bp;

if ( bp_is_my_profile() || !is_user_logged_in() )
return false;

return apply_filters( ‘bp_get_send_private_message_link’, $bp->loggedin_user->domain . $bp->messages->slug . ‘/compose/?r=’ . bp_core_get_username( $bp->displayed_user->user_id, $bp->displayed_user->userdata->user_nicename, $bp->displayed_user->userdata->user_login ) );
}

It looks like I now need to “apply a filter to “bp_get_send_private_message_link” and override it so it doesn’t use bp_core_get_username().” Anyone know how to do this?

Thanks guys.

Skip to toolbar