I’m sorry – I went to the link to read about this and posted my own question, without realizing it was a Resolved thread. Forgive me for not paying attention.
Here is my question, copied from that thread:
I was trying the above code out on my site. I use Ultimate Member plugin, and it has custom profile display pages. I added the code to the bottom of the user profile page, (from above)
<a href='<?php echo fep_action_url("newmessage&to=USERLOGIN&message_title= TITLE") ?>'>Send Message</a>
but rather than seeing “Send Message” it shows this instead:
0 new message and 0 new announcement
with the 0 new messages being a link which goes to an error page, and the 0 new announcement is also a link which will go to the PM area to send a message – but I still have to open a new message and type the user’s name.
I need the ability to send a message to the member right from their profile page. Since it looks like I’ll use this Front End PM plugin, it makes sense to invest in it to make it work. ??
Can you help?