Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 4 years ago

#8768 closed task (fixed)

Improve BP Messages/BP Nouveau Messages UI extensibility

Reported by: imath Owned by: imath
Priority: normal Milestone: 11.0.0
Component: Messages Version: 3.0.0
Severity: normal 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 4 years ago.

Download all attachments as: .zip

Change History (2)

@imath
4 years ago

#1 @imath
4 years ago

  • Resolutionfixed
  • Status assignedclosed

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.