Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2475 closed defect (bug) (fixed)

Remove the ability to subscribe to 'Forum Categories`

Reported by: netweb's profile netweb Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.5 Priority: normal
Severity: normal Version: trunk
Component: API - Subscriptions Keywords: has-patch
Cc:

Description

If you subscribe to a forum category you will not receive new topic notifications for any child forums of that category.

Eg. Subscribe to 'Forum Category' you will not recieve new topic notifications from the 'First Child Forum' or 'Second Child Forum' forums.

  • Forum Category
    • First Child Forum
    • Second Child Forum

Further down the track this could be implemented so that you could subscribe to categories/parent forums and receive new topic notifications for all child forums.

For now add a bbp_is_forum_category check to bbp_forum_subscription_link in content-single-forum.php template to hide the 'subscribe' link on forum categories.

Attachments (1)

2475.diff (585 bytes) - added by netweb 11 years ago.

Download all attachments as: .zip

Change History (3)

@netweb
11 years ago

#1 @johnjamesjacoby
11 years ago

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

In 5164:

In bbp_get_forum_subscription_link() do not return a link if viewing a forum category. This is a temporary stop-gap until forums can be subscribed to in a hierarchical manner. Fixes #2475, hat-tip netweb.

#2 @johnjamesjacoby
11 years ago

In 5165:

Revert part of r5164 that moved the $r array within a bbp_is_forum_category() check in bbp_get_forum_subscription_link(), as it caused debug notices from $r not being defined. See #2475.

Note: See TracTickets for help on using tickets.