Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 17 years ago

#827 closed defect (bug) (fixed)

Editing group members echos "0" for each member

Reported by: johnjamesjacoby Owned by: plrk
Priority: minor Milestone: 1.1
Component: Version:
Severity: Keywords: has-patch
Cc: jobjorn@…

Description

Assuming this might be from checking if the member has been banned or not...

Couldn't find an obvious fix for it, so I'm noting it here for now.

This can be reproduced on testbp.org.

Attachments (1)

wrong_function_in_manage_members.diff (407 bytes ) - added by plrk 17 years ago.

Download all attachments as: .zip

Change History (5)

#1 @plrk
17 years ago

  • Cc jobjorn@… added

Ban check suspicions confirmed. If you remove

if ( bp_group_member_is_banned() ) :

and replace it with

if ( false ) :

the zero disappears. I'll be back...

#2 @plrk
17 years ago

(that was in groups/admin/manage-members.php in the member theme)

#3 @plrk
17 years ago

  • Keywords has-patch added
  • Milestone 1.11.0.4
  • Owner set to plrk
  • Status newassigned

Oh I see now. It calls "bp_group_member_is_banned()" rather than "bp_get_group_member_is_banned()". Patch attached.

#4 @DJPaul
17 years ago

  • Milestone 1.0.41.1
  • Resolutionfixed
  • Status assignedclosed

This has been fixed in BP 1.1/trunk (in the now-deprecated member theme).

Note: See TracTickets for help on using tickets.