Skip to:
Content
Pages
Categories
Search
Top
Bottom

Initial member order


  • Stefano Picco
    Participant

    @spicone

    Hi,

    I try to create a memberlist with alphabetical order, but all my tries failed :/

    Afaik I have to set a parameter in “members-loop.php” in “/buddypress/bp-templates/bp-legacy/buddypress/members”, looks like:

    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&type=alphabetical&exclude=3') ) : ?>

    But still nothing happend, any time it starts with “Last activity” view an still the id 3 is not excluded.

    Could you please give me a hint?

    bye
    Stefano

Viewing 1 replies (of 1 total)

  • Venutius
    Moderator

    @venutius

    I’ve been playing with this and I too am struggling. What I have discovered is as follows:

    Remove the & from the beginning of the string and alphabetical will work.
    Start the string with another option beginning with an & and alphabetical will work.

    Exclude does not seem to work in any variation.

    I’ve raised this in a track ticket:

    https://buddypress.trac.wordpress.org/ticket/7742

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar