[buddypress-trac] [BuddyPress] #1721: Filter Hooks needed for plugins to custom filter activity streams

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Jan 28 17:01:07 UTC 2010


#1721: Filter Hooks needed for plugins to custom filter activity streams
------------------------+---------------------------------------------------
Reporter:  rvenable     |       Owner:     
    Type:  enhancement  |      Status:  new
Priority:  major        |   Milestone:  1.2
Keywords:               |  
------------------------+---------------------------------------------------
 I'm writing a plugin that creates some special meta data for activity
 items. I created my own custom table for storing that meta data and want
 to  add a join and where clause, but there are no filters to hook onto in
 the BP_Activity_Activity::get() function.

 I attached a diff that includes some filters you might consider adding, so
 that plugin developers can easily create their own filters on activity
 content. This diff enables plugins to support custom arguments sent to
 bp_has_activities(), using them to create custom filters on the activity
 streams.

 You might also consider adding similar hooks to other DB get functions
 (for filtering groups, forums, etc.).

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1721>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list