Skip to:
Content
Pages
Categories
Search
Top
Bottom

Alphabetize Groups and Members?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    The default sort order for directories is ‘active’. It dispays the most recently active first in the directory. You can change that by using a different sort order in your theme. See the docs for the loops here:

    http://codex.buddypress.org/developer-docs/custom-buddypress-loops/

    In the default theme, the loop for members is controlled by /bpmember/directories/members/members-loop.php in the function:

    bp_has_site_members( ‘type=active&per_page=10′ )

    Changing type=active to type=alphabetical should get you there.

    Avatar of KitWit
    KitWit
    Participant

    @kitwit

    Thanks so much, Burt! It worked like a charm!

    Avatar of KitWit
    KitWit
    Participant

    @kitwit

    Hmmm … now I’ve managed to get my members to alphabetize, but my groups won’t … I’ve modified the groups-loop.php to show the type=alphabetical but so far, it’s not working … I know something is working, though, because I changed my &per_page to 20 instead of the default 10 … that part’s working. What am I doing wrong?

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    You are not doing anything wrong. Stop trying to do it right. :)

    Groups only comes in these flavors: active, newest, popular, random

    http://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-site-groups-loop/

    Avatar of KitWit
    KitWit
    Participant

    @kitwit

    Oh, that’s no good. Can’t we make a change to that? I know I’m trying to use Buddypress for a purpose it wasn’t necessarily designed to fulfill (a directory) … if random is a flavor, then can’t we have “non-random” (i.e., alphabetical?) as a flavor, too?

    Avatar of abcde666
    abcde666
    Participant

    @erich73

    hmm… having groups sorted alphabetically, would definitely be a great thing.

    I would need this as well.

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Erich73-

    Place an enhancement ticket in trac.

    Avatar of Creative Vibrations
    Digital Soup
    Participant

    @peterjeshua

    Any updates on this?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Alphabetize Groups and Members?’ is closed to new replies.