Home Forums BP Better Messages Automatily add user name in the "Send To" field?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6211
    Petersen
    Participant

    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 ?

    #6212
    Support
    Keymaster

    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!

    #6213
    Petersen
    Participant

    ! Nice that was perfect!.

    And what is the parameter to automaticly add text to the “subject” ?

    #6523
    caribouman
    Participant

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.