Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

  • acengiz
    Participant

    @acengiz

    Any solution for this issue?

    Regards,
    Anil


    acengiz
    Participant

    @acengiz

    By the way, i create subfolders as below in my child theme directory and put compose.php in it:
    /wp-content/themes/kleo-child/buddypress/members/single/messages

    i tried to change label name “friend” to “friiiiend” and result was no change :/
    i think i am missing something, what you think?

    <label for="send-to-input"><?php _e("Send To (Username or Friiiend's Name)", 'buddypress' ); ?></label>


    acengiz
    Participant

    @acengiz

    Hey shanebp, i got an output like you send, but still subject is empty.

    http://www.mydomain.com/members/admin/messages/compose/?r=acengiz&subject=Testing&_wpnonce=03298ddbab#sthash.9wLXZGyF.dpuf

    here is the image:
    Message subject field


    acengiz
    Participant

    @acengiz

    Hi again, do i need to change anything in below function?

    function bp_custom_get_send_private_message_link() {
    $author = get_the_author();
    $subject="Testing";
      
    $compose_url=bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?';
    if($author)
    $compose_url.=('r=' . get_the_author());
    if($subject)
    $compose_url.=('&subject='. $subject);
      
    return wp_nonce_url( $compose_url ) ;
    }
    

    acengiz
    Participant

    @acengiz

    Hi shanebp,

    Thanks for help. I adjusted like this, still not working and also i am not sure this is ok:

    <form name=”form” action=”” method=”get”>
    <input type=”text” name=”subject” id=”subject” value=”<?php bp_messages_subject_value(); ?>” />
    </form>

    What do you think?

    BR. Anil

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar