[buddypress-trac] [BuddyPress Trac] #7614: Group member count routine is bad

buddypress-trac noreply at wordpress.org
Wed Nov 2 20:57:41 UTC 2022


#7614: Group member count routine is bad
--------------------------+-----------------------
 Reporter:  boonebgorges  |       Owner:  imath
     Type:  enhancement   |      Status:  assigned
 Priority:  normal        |   Milestone:  11.0.0
Component:  Groups        |     Version:  1.2.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------

Comment (by dcavins):

 The "not active" user belonging to a group is an interesting problem. It
 seems the only way to add a not-yet-active user to a group is via the form
 at WP Admin > Groups > Edit Group. If you add a user like this, then you
 see odd behavior like
 [[Image(https://imgur.com/ZylbeDc)]]

 The fix we talked about in the dev chat was updating the group counts on
 the `bp_first_activity_for_member` action hook. Another possibility is
 limiting the "add user" interface to only use "active" site members. That
 would avoid problems in the groups UI, but  would be a change.
 [[Image(https://imgur.com/XWTo2XN)]]

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


More information about the buddypress-trac mailing list