[buddypress-trac] [BuddyPress Trac] #6020: bbpress and buddypress groups - cancel forum and topic subscriptions when group is left by user

buddypress-trac noreply at wordpress.org
Mon Nov 17 20:02:00 UTC 2014


#6020: bbpress and buddypress groups - cancel forum and topic subscriptions when
group is left by user
--------------------------+----------------------
 Reporter:  tharsheblows  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Forums        |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------
Changes (by r-a-y):

 * keywords:  has-patch =>
 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the patch, tharsheblows.

 However, this should be handled in the bbPress plugin and not BuddyPress
 since you are specifically using bbPress functions inside the core
 BuddyPress plugin.

 You should probably patch `/extend/buddypress/groups.php` in bbPress.  To
 hook onto the group leave action, use the `'groups_leave_group'` action:
 https://buddypress.trac.wordpress.org/browser/tags/2.1.1/src/bp-groups/bp-
 groups-functions.php#L372

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6020#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list