Skip to:
Content

BuddyPress.org

#8768 closed task (fixed)

Improve BP Messages/BP Nouveau Messages UI extensibility

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 11.0.0 Priority: normal
Severity: normal Version: 3.0.0
Component: Messages Keywords: has-patch
Cc:

Description

Working on BP Attachments, the BP Messages component and Nouveau's Messages UI needs to be improved in order to be able:

  • to run custom code once the message is sent if some specific arguments are available -> Include the $r parameter to the 'messages_message_sent' hook.
  • to remove attached media to a message if the user reset the message form.

Attachments (1)

8768.patch (1.2 KB) - added by imath 22 months ago.

Download all attachments as: .zip

Change History (2)

@imath
22 months ago

#1 @imath
22 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 13369:

Improve BP Messages & BP Nouveau Messages UI extensibility

  • Include a new parameter to the messages_message_sent hook to pass the messages_new_message() function parsed arguments.
  • Fire a JavaScript event once the form to post a new message has been reset by the user.

Fixes #8768

Note: See TracTickets for help on using tickets.