Persistent Caching and Private Messaging
-
I’ve been wresting with an issue where memcached causes problems with buddypress private messaging and @mentions. Rather than try and bring back a old, confusing thread, I want to start fresh and clearly explain the issue.
I’m using memcached. When I click to send a private message or @mentions, the wrong recipient shows up. This is a known issue that, supposedly, many of us who using persistent caching have. My confusion is in the fix.
Trac ticket #2583 (http://trac.buddypress.org/ticket/2583) offers a patch, where you change a line in bp-messages-templatetags.php. This is easy to do, but it doesn’t fix the issue by itself. Further down the ticket, @r-a-y says:
“With the patch, you’d still need to apply a filter to “bp_get_send_private_message_link” and override it so it doesn’t use bp_core_get_username().
The same problem occurs with the bp_get_send_public_message_link() function – aka the “Mention this user” link.”
I know just enough php to get myself into trouble and this is beyond me. Has anyone done this? Could anyone point me in the right direction for how to apply these filters?
Thank you!
- The topic ‘Persistent Caching and Private Messaging’ is closed to new replies.