Private Messages For WordPress
how to send PM from front-end by clicking on username ? (8 posts)

  1. ahikmahin
    Posted 3 years ago #

    Hi mate,

    this plugin is working for us as great champ. Thank you for such a nice plugin.

    We are building a front -end user plugin. where in one page it shows all the registered usernames.

    Now my question is - from that page if i want to send PM to a particular user by clicking on their username, then how can i do it ?

    any help much appreciate :)

    Thank you


  2. sushidread
    Posted 3 years ago #

    Also I'm interested in that. I use it from backend, but I have users profile pages and I'd like to add a "send a message" button, so when user is brought to backend the name is already in the input field.

  3. nothingless
    Posted 3 years ago #

    Me too. Digging through the code, it does look like the Send form accepts both $_POST and $_GET for the Recipient, but haven't gotten it to work via URL yet, like:


    Edit! Actually, this does work!! But only if you choose the dropdown listing method, and not the auto suggest one. Link to it like this:


    Obviously replace your-page with the Page you made with the Private Messages template. :-)

  4. gplana
    Posted 3 years ago #

    I'm sorry but, does this work for you ? It doesn't work on my side: It goes to send form but username is not filled.

  5. nothingless
    Posted 3 years ago #

    Yes, it worked for me after I changed the setting to display the recipients as Dropdown, not auto suggest.

  6. skadnol
    Posted 3 years ago #


    And how exactly do you pass a variable?

    I cannot get it working.

    recipient=Username- what do you pass here instead of username? Thanks

  7. nothingless
    Posted 3 years ago #

    The username of the person you're trying to send a PM to! I have it linked from author profile pages, I just pass their login name in the URL, ie,




    Just whatever their login name is. :-)

  8. ferreira2u
    Posted 3 years ago #

    I'm sorry but, does this work for you ?

    I download the plugin, and have 2 erros:

    1) When select more than one user to send messages, on the outbox only show message sended to one user.

    2) The plugin doesn't send emails on new message.

    I use this fix http://wordpress.org/support/topic/plugin-private-messages-for-wordpress-doesnt-send-emails-on-new-message-fixed?replies=1 but don't work.

    Anyone have idea to correct this ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Private Messages For WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic