Skip to:
Content
Pages
Categories
Search
Top
Bottom

Integrating buddpress compose message form on another page


  • cyprien.clerc
    Member

    @cyprienclerc

    Greetings,
    I am using marketpress and buddypress to sell online products, and for some products instead of the “buy now” button, i want a “contact the vendor” button. I want this button to open a div bloc containing the “compose form” from buddypress and i want the recipient field to be pre-filled.
    At present, i’ve been able to do this by using the following hack (everything displays well) but for some reason, it does not succeed in sending the messages :
    echo ‘


    ob_start();
    include($path.’/members/single/messages/compose.php’);
    $compose_page = ob_get_clean();
    echo $compose_page;
    echo ‘


    Do you have any idea how i could achieve that ?
    Thanks !
    Cyprien

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Integrating buddpress compose message form on another page’ is closed to new replies.
Skip to toolbar