Skip to:
Content
Pages
Categories
Search
Top
Bottom

Messaging Functionality Not Working.

  • Avatar of Dan Imbrogno
    dan.imbrogno
    Participant

    @danimbrogno

    1. Running WPMU: 2.7.1

    2. Installed as a directory

    3. In the root

    4. This is a fresh install from scratch

    5. WPMU was functioning properly before installing/upgrading BuddyPress?

    6. Running Buddypress: 1.0

    7. No plugins active

    8. Using custom buddypress theme

    9. not running bbpress

    10. na

    The messaging functionality on my install of buddypress is no longer working. I’ve been trying to track down the issue, and I think I’ve identified it, but I’m not sure how to go about fixing it, or why it is occurring in the first place.

    You can view the problem here: http://cftpa.brollyclient.ca

    If you friend someone, then try to send them a message, the message form simply resets. This seems to be because $_POST['send_to_usernames'] is always empty in the function messages_screen_compose() inside bp-messages.php.

    I’m not sure why this is coming up empty even when you select a member from the auto-complete list.

    If anyone can point me in the right direction that would be great. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try the default themes, report back if that works or not.

    Avatar of Dan Imbrogno
    dan.imbrogno
    Participant

    @danimbrogno

    Hi Andy, thanks for your quick response. I’ve identified the issue, it was really quite simple.

    I built my theme of of the bpskeletonmember theme that was included with my download.

    In the file messages/compose.php , the compose message form is:

    <form action="<?php bp_messages_form_action('compose') ?>" method="post" id="send-message-form" class="standard-form">

    When it should be

    <form action="<?php bp_messages_form_action('compose') ?>" method="post" id="send_message_form" class="standard-form">

    The subtle difference being, the form id having underscores instead of hyphens.

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    dan.imbrogno-

    Thanks for detailing the solution. Please set the light to green on top, and we’re good to go!

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

You must be logged in to reply to this topic.