This topic has 6 replies, 2 voices, and was last updated 10 years by Laura.

  • Author
  • #76945
     vcruz
    Participant

    Hello

    My ajax search form is not working only when i try to search members.

    Kleo version: 3.0.4
    wordpress version: 4.2.4

    Thanks Carles.

    #76950
     Laura
    Moderator

    Hello, why do you mean is not working? What does it not search for?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #76970
     vcruz
    Participant

    hi Laura

    I ‘m trying to show users with ajax_searchform, like img5.png (original template).
    But my website does not show it correctly img4.png.

    Thanks, Carles.

    #76984
     Laura
    Moderator

    Hello, could you share admin credentials? 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #77040
     vcruz
    Participant

    ok

    user: demo1
    pass: demo1XCqrsiGHdwR

    http://smart-community.es/wavee/wp-admin

    #77056
     vcruz
    Participant

    the problem is in project/wp-content/plugins/buddypress/bp-core/classes/class-bp-user-query.php

    function: prepare_user_ids_query()

    code :

    // ‘per_page’, ‘page’ – handles LIMIT
    if ( !empty( $per_page ) && !empty( $page ) ) {
    //$sql[‘limit’] = $wpdb->prepare( “LIMIT %d, %d”, intval( ( $page – 1 ) * $per_page ), intval( $per_page ) );
    } else {
    $sql[‘limit’] = ”;
    }

    i comment $sql[‘limit’] because this line put a limit of query to ” LIMIT 0, -1 ” and return nothing…

    ¿ This a bug of KLEO ? ¿ Other users had the same problem ?

    #77214
     Laura
    Moderator

    Hello, if thats the issue, then is a bug of buddypress, as your path shows, maybe it could be a plugin creating a conflict with other plugins

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?