Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

#5410 closed defect (bug) (fixed)

Members Widget does not show max defined users online

Reported by: carlosrovira's profile CarlosRovira Owned by: boonebgorges's profile boonebgorges
Milestone: 2.0 Priority: normal
Severity: normal Version: 1.9.2
Component: Members Keywords: needs-patch
Cc:

Description

To reproduce see comment here:

https://buddypress.trac.wordpress.org/ticket/4937#comment:16

The exact info shared was:

"Thanks Boone for your quickly response:

The site where you can see the problem is: http://www.madeinflex.com

In the home near the final you can see "USUARIOS EN LA COMUNIDAD DE MADE
IN FLEX"

This is the Member User BuddyPress Widget.

I have 36 people configured. I expect to see 32 people (people already in
the community). And get up to 36 when have enough people to show.

But right now only shows 20. If I click "Activo" label it shows 32 people
(is what is expected). And if I come back to "Nuevos", it show 32.

So the problem seems to be on the load of the plugin.

I don't use any custom code, just plugins, and this widget seems to be BP
core widget, isn't it?

I'll try the links you comment to see If I can fix it"

As Boone stated:

"Thanks for the additional details, CarlosRovira. This appears to be a

separate problem, related to the 'max' or 'per_page' parameter. Could you
please open a separate ticket, describing what you describe above? And be
sure to share the exact settings you set up when you created the widget at
Dashboard > Appearance > Widgets. Thanks!"

The settings are shown in the attached image

Attachments (1)

Captura de pantalla 2014-02-17 a la(s) 22.48.10.png (66.6 KB) - added by CarlosRovira 11 years ago.

Download all attachments as: .zip

Change History (3)

#1 @boonebgorges
11 years ago

  • Milestone changed from Awaiting Review to 2.0

Thanks for the details. I've confirmed that there's a bug in the way this widget is built.

#2 @boonebgorges
11 years ago

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

In 7928:

Pass 'per_page' argument to bp_has_members() in BP_Core_Members_Widget

This argument is needed for cases where 'max' is less than the 'per_page'
default value of 20.

Fixes #5410

Note: See TracTickets for help on using tickets.