Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • rahul.dev
    Member

    @rahuldev-1

    Yes there is a better solution to this problem i am code savvy and i have myself invented this solution
    Step:1:
    The solution is copy the content all content of file wp-load.php which you will find in the root of wordpress installation directory root directory. Then create a new file rahuldev.php paste all the code in wp-load.php to rahuldev.php file plus at the end of that rahuldev.php file add this small code as below
    ?php
    $resultrah = mysql_query(“select user_login, user_nicename from wb_users where user_login like ‘%”.$_POST.”%’ or user_nicename like ‘%”.$_POST.”%'”);
    while($row = mysql_fetch_array($resultrah))
    {
    ?>
    ?php echo $row;?>

    ?php
    }
    ?>
    replace ?php with <? php
    make sure the name of the table if it is not default set during installation then that should be the name of the table as the name is in your installation
    once the above code is added to the bottom of the new file then save the new file to the root of your wordpress application ie where there is wp-load.php there along with it should be our new file rahuldev.php

    Step:2:
    Open wp-content/plugins/buddypress/bp-messages/bp-messages-cssjs.php file

    replace
    var acfb =
    jQuery(“ul.first”).autoCompletefb({urlLookup:’root_domain . str_replace( ‘index.php’, ‘/wp-load.php’, $_SERVER ) ?>’});
    with
    var acfb =
    jQuery(“ul.first”).autoCompletefb({urlLookup:’root_domain . ‘/rahuldev.php’ ?>’});

    And now enjoy my magic

    Thanks
    Take care


    rahul.dev
    Member

    @rahuldev-1

    Yes there is a better solution to this problem i am code savvy and i have myself invented this solution
    Step:1:
    The solution is copy the content all content of file wp-load.php which you will find in the root of wordpress installation directory root directory. Then create a new file rahuldev.php paste all the code in wp-load.php to rahuldev.php file plus at the end of that rahuldev.php file add this small code as below
    <?php
    $resultrah = mysql_query(“select user_login, user_nicename from wb_users where user_login like ‘%”.$_POST.”%’ or user_nicename like ‘%”.$_POST.”%'”);
    while($row = mysql_fetch_array($resultrah))
    {
    ?>

    <?php
    }
    ?>

    make sure the name of the table if it is not default set during installation then that should be the name of the table as the name is in your installation
    once the above code is added to the bottom of the new file then save the new file to the root of your wordpress application ie where there is wp-load.php there along with it should be our new file rahuldev.php

    Step:2:
    Open wp-content/plugins/buddypress/bp-messages/bp-messages-cssjs.php file

    replace
    var acfb =
    jQuery(“ul.first”).autoCompletefb({urlLookup:’root_domain . str_replace( ‘index.php’, ‘/wp-load.php’, $_SERVER ) ?>’});
    with
    var acfb =
    jQuery(“ul.first”).autoCompletefb({urlLookup:’root_domain . ‘/rahuldev.php’ ?>’});

    And now enjoy my magic

    Take care

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