[Resolved] Send Private Message Button on Member's directory using Community Builder

  • Participant
    Level: Initiated
    Posts: 8
    Jhonathan on #33328

    Hello I am using your theme and I would like to add the button to send message in the directory, it would help me I have tried to add what it indicates here https://buddydev.com/add-send-private-message-button-in-members-directory -on-a-buddypress-network / but it doesn’t show anything.

    Also I am using the plugin https://es.wordpress.org/plugins/bp-user-profile-reviews/ it could show the reviews stars in the directory.

    I really appreciate any help you can give me

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2986
    Ravi on #33333

    Hello Jhonathan,

    Thank you for using the theme. Please let me know where are using the code. If using in “bp-custom.php”. Please try the following way.

    add_action( 'bp_loaded', function () {
    	add_action( 'bp_directory_members_actions', 'hibuddy_send_private_message_button', 30 );
    } );


  • Participant
    Level: Initiated
    Posts: 8
    Jhonathan on #33426

    Hi Ravi thank you very much, it worked.

    I am using the plugin https://wordpress.org/plugins/code-snippets/

  • Participant
    Level: Initiated
    Posts: 8
    Jhonathan on #33441

    Another query I have an error when I want to send a private message to a user, I enter the form I write, but when I press the send button, nothing happens. I have tried disabling plugins, and it only started working when I disable the theme.

    Any idea what might be happening?

You must be logged in to reply to this topic.

This topic is: resolved