Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#2081 closed enhancement (fixed)

BP activity should respect hide_sitewide rules

Reported by: boonebgorges's profile boonebgorges Owned by:
Milestone: 2.2.3 Priority: normal
Severity: normal Version: 2.2.2
Component: Extend - BuddyPress Keywords:
Cc:

Description

Currently, when posting a new topic or reply in a BP group, bbPress bails in the following situation:

if ( !bbp_is_forum_public( $forum_id, false ) )
    return false;

This is incongruent with BP's native behavior, which posts activity items for private/hidden group content, but marks it hide_sitewide = true when creating the activity item.

Change History (7)

#1 @johnjamesjacoby
11 years ago

  • Milestone changed from Awaiting Review to 2.3

This makes sense. Should really have an index on the status column. Should also have been an int for speedy IN queries.

#2 @johnjamesjacoby
11 years ago

  • Component changed from General to BuddyPress
  • Milestone changed from 2.3 to 2.2.3

Worth fixing for 2.2.3.

#3 @johnjamesjacoby
11 years ago

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

(In [4538]) BuddyPress Activity:

  • When creating activity stream items, utilize 'hide_sitewide' instead of not recording any activity at all.
  • Hat-tip boonebgorges.
  • Fixes #2081 (trunk)

#4 @johnjamesjacoby
11 years ago

(In [4539]) Invert the public forum check (see #2081)

#5 @johnjamesjacoby
11 years ago

(In [4540]) BuddyPress Activity:

  • When creating activity stream items, utilize 'hide_sitewide' instead of not recording any activity at all.
  • Hat-tip boonebgorges.
  • Fixes #2081 (2.2 branch)

#6 @netweb
9 years ago

In 5741:

Tests: Improved performance of user component count function tests, now 33⅓% faster
Props thebrandonallen. See #2081

#7 @netweb
9 years ago

In 5766:

Tests: Improved performance and use bbp_clean_post_cache() in topics template counts function tests

Props thebrandonallen. See #2081

Note: See TracTickets for help on using tickets.