Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 10 years ago

#4898 closed enhancement (wontfix)

Additional exclusion parameters in activity loop

Reported by: r-a-y Owned by:
Priority: normal Milestone:
Component: Activity Version:
Severity: normal Keywords: needs-patch dev-feedback
Cc:

Description

A lot of the really, cool GSOC ideas revolve around privacy and blocking.

For this to be effective with the activity component, we need to have better exclusion parameters to accomodate these potential features.

What we need are two additional parameters:

  • 'include_author' - uses an IN query against the user_id column
  • 'exclude_author' - uses a NOT IN query against the user_id column

Change History (2)

#1 @saurabhshukla
13 years ago

  • Keywords dev-feedback added
  • Type defect (bug)enhancement
  • Version 1.2

Since, privacy is one of the fundamental concerns in a social network, I feel it should have an additional column in the activity table.

#2 @r-a-y
10 years ago

  • Milestone Future Release
  • Resolutionwontfix
  • Status newclosed

The 'filter_query' parameter in BP_Activity_Activity::get() can be used in lieu of what is suggested above.

Note: See TracTickets for help on using tickets.