Hi there!
I was trying out the code on this forum blog with regards to adding a send private button on the member’s directory on BuddyPress site.
https://gist.github.com/acousins/5939925
After adding the code, the send private button successfully appears on the member’s directory page!
But since I am integrating BP Messages plugin on my buddypress site, it doesn’t get the required link to specific user’s BP messages.
Whenever I click the send private message on the member’s directory, it only directs me to my generic messages page (https://prnt.sc/sxmrsc) and NOT the specific user’s direct message page(https://prnt.sc/sxmraq).
In this case, what is the modification needed to the code? Can you help?
Regards,
Daniel