Community

Connecting WordPress People

Automatily add user name in the "Send To" field?

PPetersen 3 replies 0 views 3 readers

  1. New
    #1

    Hi,

    Im trying to use the plugin with the MyListing Wordpress theme.
    And there for i will ask if its possible to add the username in the "Send To" field with use of a parameter in the URL ?

    More reactions: press the Down arrow
    views
  2. New
    Admin
    #2

    Hi there!

    I think this is something that you are looking for:

    $link = BP_Better_Messages()->functions->get_link() . '?new-message&to=' . bp_core_get_username( $user_id ).

    Thanks!

    More reactions: press the Down arrow
  3. New
    #3

    ! Nice that was perfect!.

    And what is the parameter to automaticly add text to the "subject" ?

    More reactions: press the Down arrow
  4. New
    #4

    hi i reopen this subject, hoz to include the subjetc into the link

    i try to put &suject= in post data but it doesnt work

    so do you know a solution

    thanks

    More reactions: press the Down arrow
0