Skip to:
Content
Pages
Categories
Search
Top
Bottom

Listing members of groups

  • Avatar of balbert
    balbert
    Participant

    @balbert

    Wondering about the suggested way to list out all the members of all the groups I belong to but also perform a de-dup?

    I have successfully added the The Site Members Loop to the Groups loop and thus I can list out all the members of the groups I belong to. But some of the groups have the same members and I really just want to list out a member once.

    Do I need to output the data from the loop into my own array and then de-dup the data and then output ? Or is there a way to tell buddypress return unique members from the groups?

    Also is there a way to pass The Site Members Loop multiple group ids at once and remove it from the groups loop, or can it only accept one group id at a time?

    Using WPMU 2.8.4, BuddyPress 1.1

    Thanks,

    Bob

You must be logged in to reply to this topic.