Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • @allenpayne

    Participant

    I did that already. Still doesn’t work. I tried to place it in both the functions.php file and the bp-custom.php (located at wp-content/plugins) with no success.

    Any other ideas @mercime?

    @allenpayne

    Participant

    I’ve tried with this code but it doesn’t work either:

    remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 50 );

    @allenpayne

    Participant

    I’d like to know this as well. can anyone help?

    @allenpayne

    Participant

    It might be an issue with the theme. you should ask the developer, it might help you more.

    @allenpayne

    Participant

    I submitted a trac ticket for this issue. Until this is resolved, here’s a temporary solution for anyone else who is having this problem:

    add_filter( ‘bp_use_legacy_user_query’, ‘__return_true’ )

    Place this filter in your functions.php file.

    @allenpayne

    Participant

    well, i changed this:

    if ( apply_filters( ‘bp_use_legacy_user_query’, false, __FUNCTION__, $params ) ) {

    to this:

    if ( apply_filters( ‘bp_use_legacy_user_query’, true, __FUNCTION__, $params ) ) {

    and now it works.

    Is this a good solution?

    @allenpayne

    Participant

    After more testing, i found the part of the code that’s causing this. I placed it into a pastebin file. Please take a look:

    http://pastebin.com/1gWY3GNV

    Can you tell me what is the problem with the code from bp 1.7?

    @allenpayne

    Participant

    I found the file that’s causing this. It’s this one:

    /buddypress/bp-members/bp-members-functions.php

    If i replace it with the one from previous version the widget works fine. but instead of replacing it, does anyone have a fix for this?

    I’m afraid if i change it, BP won’t use the new query to return the users list anymore.

    Feel free to correct me if i’m wrong.

    thanks

    @allenpayne

    Participant

    @modemlooper, this is not a theme issue either. i tried changing themes but this problem still persists.

    @allenpayne

    Participant

    the members directory list shows all members (3k+). other than the bp-core-widgets.php file, what file should i replace with the one from the previous version?

    thanks

    @allenpayne

    Participant

    @modemlooper i dont think the widget is the issue here. for some reason buddypress 1.7 doesn’t see all my members. it worked fine with 1.6.

    the other functions of the Members widget (recently active, newest registered) work fine. only the Most Popular function doesn’t work as it should.

    also when i go to the profile of the top member, everything shows up fine (it says it has 406 friends).

    i have no idea what else to do.

    can anyone help?

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