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

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Feb 8 17:09:13 UTC 2010


#1721: Filter Hooks needed for plugins to custom filter activity streams [Has
patch]
-----------------------+----------------------------------------------------
  Reporter:  rvenable  |       Owner:           
      Type:  defect    |      Status:  reopened 
  Priority:  major     |   Milestone:  1.2      
Resolution:            |    Keywords:  has-patch
-----------------------+----------------------------------------------------
Changes (by rvenable):

  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 Good point, Andy, but the meta table doesn't work for the kind of data I
 have. Please take a look at the new patch I made - it is as trivial a
 change as possible. It just applies filters to the final sql, so there
 should be no complications.

 The reason the meta table doesn't work for my situation is because my meta
 data is more complicated. I'm tagging activities with sets of integer
 ranges, so I need meta data with two integer columns (start of range, end
 of range). Each activity can have multiple ranges. The query I use can
 search for a range of integers and see if it intersects the range of
 integers in the meta table.

 I know, the BP meta table works for most cases, and mine is an edge case,
 but this new patch I've attached is a very very trivial change, and it
 makes my life a ton easier, and maybe other plugin devs will need it too
 some day?

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


More information about the buddypress-trac mailing list