Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • yairnazz
    Participant

    @yairnazz

    :( someone help please


    yairnazz
    Participant

    @yairnazz

    Well if you need the code…. does this help

    function bp_search_form_type_select() {
    // Eventually this won't be needed and a page will be built to integrate all search results.
    $selection_box = '<select name="search-which" id="search-which" >';

    if ( function_exists( 'bp_blogs_install' ) ) {
    $selection_box .= '<option value="">' . __( 'Games', 'buddypress' ) . '</option>';
    }

    if ( function_exists( 'groups_install' ) ) {
    $selection_box .= '<option value="groups">' . __( 'Groups', 'buddypress' ) . '</option>';
    }

    if ( function_exists( 'xprofile_install' ) ) {
    $selection_box .= '<option value="members">' . __( 'Members', 'buddypress' ) . '</option>';
    }

    $selection_box .= '</select>';

    return apply_filters( 'bp_search_form_type_select', $selection_box );
    }

    function bp_search_form() {
    $form = '
    <form action="' . bp_search_form_action() . '" method="post" id="search-form">
    <input type="text" id="search-terms" name="search-terms" value="" />
    ' . bp_search_form_type_select() . '

    <input type="submit" name="search-submit" id="search-submit" value="' . __( 'Search', 'buddypress' ) . '" />
    ' . wp_nonce_field( 'bp_search_form' ) . '
    </form>
    ';

    echo apply_filters( 'bp_search_form', $form );
    }


    yairnazz
    Participant

    @yairnazz

    Well i actually want it to be in the menu like when you click on the box a scroll box comes down saying search members, groups, posts i dont want 2 separate searches.


    yairnazz
    Participant

    @yairnazz

    but there are a million files, i dont know which ones


    yairnazz
    Participant

    @yairnazz

    I dont mean the buddypress members theme in general i mean specifically the page where the profile is held for the user (not profile/index.php)

    ex. http://cravedgames.com/wordpressmu/wordpress-mu/members/admin/activity


    yairnazz
    Participant

    @yairnazz

    Thanks for replying but that is not what i mean as i said in my original post “im not talking about that gray bar that originally says buddypress in the left corner and is gray”. im talking about the orange bar right under it in the original buddypress theme. Some more advice would be helpful, thank you!

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