Skip to:

Private messages outside /member/messages

  • martinbeaulne


    Hi !

    I would like to know if there is an easy way to output the whole private message thing ( inbox and outox ) in the member’s profile without having to go to /member/messages ?

    Is there a function I can call, directly in member-header, to show that, or do members absolutely need to click on the message tab, load member/messages page and scroll down to see it ?
    I tried to put

    <?php bp_get_template_part( 'members/single/messages' ); ?>

    somewhere in my member-header.php file, but it only appears when I click on the Messages tab and load the member/messages page ( it duplicated the messaging part ).

    I looked at bp-messages-template.php and saq lots of code about the “slug”. I think it has something to do with the fact that I can’t display inbox/outbox without being at the member/messages page…

    Can someone tell me at least if I’m looking in the right direction ?


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Private messages outside /member/messages’ is closed to new replies.
Skip to toolbar