Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#827 closed defect (bug) (fixed)

Editing group members echos "0" for each member

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: plrk's profile plrk
Milestone: 1.1 Priority: minor
Severity: Version:
Component: 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 15 years ago.

Download all attachments as: .zip

Change History (5)

#1 @plrk
15 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
15 years ago

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

#3 @plrk
15 years ago

  • Keywords has-patch added
  • Milestone changed from 1.1 to 1.0.4
  • Owner set to plrk
  • Status changed from new to assigned

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

#4 @DJPaul
15 years ago

  • Milestone changed from 1.0.4 to 1.1
  • Resolution set to fixed
  • Status changed from assigned to closed

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

Note: See TracTickets for help on using tickets.