Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • AllenPayne
    Participant

    @allenpayne

    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

    @allenpayne

    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

    @allenpayne

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


    AllenPayne
    Participant

    @allenpayne

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


    AllenPayne
    Participant

    @allenpayne

    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

    @allenpayne

    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

    @allenpayne

    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

    @allenpayne

    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

    @allenpayne

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


    AllenPayne
    Participant

    @allenpayne

    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

    @allenpayne

    @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