WordPress.org

Ready to get started?Download WordPress

Forums

Achievements for WordPress
[Plugin: Achievements for BuddyPress] Paginating dpa_points_get_high_scorers to list all members? (5 posts)

  1. joshkadis
    Member
    Posted 3 years ago #

    Hi Paul,

    Thanks for the plugin; it's working great on my site. What I'd like to do is list all members on my site in order by the achievements_points meta key.

    Calling the dpa_points_get_high_scorers($limit) function with a really high $limit would work, but I would also want to paginate the results. Do you know of any way to do that?

    Thanks!

  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 3 years ago #

    Hi joshkadis
    You might be best off to duplicate that function and add pagination support yourself. Where are you hoping to display this ordered list of members? A new page?

  3. joshkadis
    Member
    Posted 3 years ago #

    Thanks for following up!

    Would be something like my-buddypress-site.com/members. In the bp-default theme, the Order By options on that page are Last Active, Newest Registered, Alphabetical. I'd love to have Points be one of those options.

  4. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 3 years ago #

    Sorry for the delay in reply -- cool idea, I'll add this very soon.

  5. pgibbs
    Member
    Posted 3 years ago #

    This idea was bumped until BuddyPress 1.3 comes out, for anyone interested.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic