Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

#6611 closed enhancement (fixed)

Activity Administration: add some hooks to help plugins developers

Reported by: imath Owned by: imath
Milestone: 2.4 Priority: normal
Severity: normal Version:
Component: Activity Keywords: has-patch commit
Cc:

Description

Working on the BP Attachments plugin, i've found it was pretty hard to extend the Activity Administration so that you can easily :

And i think we should enable plugins to add custom columns, just like it's the case for the Groups component.

See attached patch

Attachments (1)

6611.patch (4.1 KB) - added by imath 5 years ago.

Download all attachments as: .zip

Change History (3)

@imath
5 years ago

#1 @boonebgorges
5 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 2.4

+1. Looks good to me.

#2 @imath
5 years ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 10093:

Activity Administration screens: Include new hooks to ease their customization

  • the action bp_activity_admin_meta_boxes can be used to add new metaboxes when editing an activity from the corresponding Administration screen.
  • the action bp_activity_admin_enqueue_scripts can be used to enqueue custom script in Activity Administration screens.
  • the filter bp_activity_admin_comment_content can be used to add custom content to the activity content when viewing activities from the corresponding Administration screen.
  • It is now possible to add custom columns and their corresponding rows in BP_Activity_List_Table

Fixes #6611

Note: See TracTickets for help on using tickets.