WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ahikmahin
    Member
    Posted 2 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

    http://wordpress.org/extend/plugins/private-messages-for-wordpress/

  2. sushidread
    Member
    Posted 2 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
    Member
    Posted 2 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:

    /private-messages/?recipient=Username

    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:

    /your-page/?page=rwpm_send&recipient=Username

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

  4. gplana
    Member
    Posted 2 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
    Member
    Posted 2 years ago #

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

  6. skadnol
    Member
    Posted 1 year ago #

    /your-page/?page=rwpm_send&recipient=Username

    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
    Member
    Posted 1 year 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,

    /contact/?page=rwpm_send&recipient=admin

    or

    /contact/?page=rwpm_send&recipient=erica635

    Just whatever their login name is. :-)

  8. ferreira2u
    Member
    Posted 1 year 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

About this Topic