Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • @perywinkle

    Participant

    @perywinkle

    Participant

    This seems to happen in the regular profile loop output too.
    I’m looking around for ways to have the profile fields
    ‘respect’ line breaks or carriage returns….

    @perywinkle

    Participant

    I think your looking for the /members/members-loop.php file.

    Here’s a ex. of the profile field “City”:
    `
    <a href="?s=” title=”Search Members in: “>
    `
    I don’t think this will work on the directory loops, but it works elsewhere…
    `
    <?php if ( $city = bp_get_profile_field_data( 'field=City ' ) ) {
    echo $city;
    } ?>
    `

    @perywinkle

    Participant

    Hey Thanks @shanebp
    I’ll give that a try…

    @perywinkle

    Participant

    The other option I’ve been toying with is creating the State values: as Idaho_state ( more specific search term )
    Then display state as “Idaho” ( in the profile ) with some php:
    if value “Idaho – ID”
    echo “Idaho”

    @perywinkle

    Participant

    I’d be interested in this too.
    I find that if I’d like to use term searchs in the directory url (ex. ?s=My Term ) that it messes with ajax.
    Also finding ajax pagination to not work when searching via term.

    Is there a ‘standard’ or non-ajax directory option?

    @perywinkle

    Participant

    This kinda worked, but then I lost the ability to filter by alphabetical, last active etc.
    But if your looking to NOT filter it might be a solution.
    `
    <?php /* My Custom Member Query */
    function my_query_filter_new ( $query_string ) {
    $query_string .= ‘&per_page=15&type=newest’;
    return $query_string;
    }
    add_filter( ‘bp_ajax_querystring’, ‘my_query_filter_new’ );
    ?>

    `

    @perywinkle

    Participant

    Sorry to bring up a old post here, but…
    I’m inside of the members-loop.php, I see there is a bp_ajax_querystring(‘members’).
    How would I pass bp_has_members() a few parameters in combination with the above?


    Something like this:
    ` ‘newest’, ‘per_page’=> 15 ) ?>`

    I’d like to make the default filter ‘newest’ and have 15 members on a page.

    Thanks!

    Mic

    @perywinkle

    Participant

    I’m looking for the same thing myself!

    @perywinkle

    Participant

    @perywinkle

    Participant

    @perywinkle

    Participant

    Well, here’s a solution that worked for me:

    // User Description
    $user_meta = get_userdata(bp_displayed_user_id());
    echo($user_meta->description);

    @perywinkle

    Participant

    @Andrea_r, Thanks for your wisdom!

    BTW. What’s the term to refer to WP ( single blog) ’round these parts?

    Looks like it’s time to investigate moving from WP to WPMU.

    We’ve been developing profiles with Cimy Extra Fields… and have put a fair amount of work into the Member Profile Fields…

    http://nbnetwork.org/directory

    Some of our users are not ‘active website users’ per say, so the Web Team updates the profiles for them. Seems like there’s no way for admin’s to do that in the Buddpress profile system.

    That said, BP is doing what we’ve been trying to do all along, and doing a much better job of it!

    @perywinkle

    Participant

    Hi Todd,

    I’m in the same boat as you.

    Wondering about the same sort of issues…

    Mic

Viewing 14 replies - 1 through 14 (of 14 total)
Skip to toolbar