Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

How to avoid the switch showing users on the members loop

  • Participant
    Level: Enlightened
    Posts: 65
    Alex on #55971

    Hi,
    I have an issue with the members loop. I set the loop to show the active members, not all members.

    But when loading the members loop page it shows the first second all members at the top and then later when the loading finished the active members.

    How can I avoid that switch? I don’t wanna display users how many members are in total on my site.

    Screenshots:
    On loading:
    https://ibb.co/MyyVr7b0

    When finished loading:
    https://ibb.co/KCvNbRW

  • Keymaster
    (BuddyDev Team)
    Posts: 25271
    Brajesh Singh on #55977

    Hi Alex,
    Thank you for the question.

    You are right, the bug is in the function bp_nouveau_get_members_directory_nav_items which uses bp_get_total_member_count.

    I will suggest reporting to the BuddyPress team as it is bug in the core.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved