Skip to:
Content

BuddyPress.org

Ticket #6385: 6385.1.patch

File 6385.1.patch, 1.9 KB (added by dcavins, 4 years ago)

Adds a search form to the manage members screen. Works best with the changes suggested in #7105.

  • src/bp-templates/bp-legacy/buddypress/groups/single/admin.php

    diff --git src/bp-templates/bp-legacy/buddypress/groups/single/admin.php src/bp-templates/bp-legacy/buddypress/groups/single/admin.php
    index 6f436bf..32d890a 100644
    do_action( 'bp_before_group_admin_content' ); ?> 
    261261         */
    262262        do_action( 'bp_before_group_manage_members_admin' ); ?>
    263263
     264        <div id="members-dir-search" class="dir-search no-ajax" role="search">
     265                <?php bp_directory_members_search_form(); ?>
     266        </div>
     267
    264268        <div class="bp-widget">
    265269                <h4><?php _e( 'Administrators', 'buddypress' ); ?></h4>
    266270
  • src/bp-templates/bp-legacy/css/buddypress-rtl.css

    diff --git src/bp-templates/bp-legacy/css/buddypress-rtl.css src/bp-templates/bp-legacy/css/buddypress-rtl.css
    index 0348d47..41d9944 100644
    body.activity-permalink #buddypress div.activity-comments div.acomment-content { 
    506506#buddypress .dir-form {
    507507        clear: both;
    508508}
     509.group-admin.manage-members #buddypress .dir-search label,
     510.group-admin.manage-members #buddypress .dir-search input[type=submit] {
     511        width: auto;
     512        display: inline-block;
     513}
    509514
    510515/*--------------------------------------------------------------
    5115163.4 - Errors / Success Messages
  • src/bp-templates/bp-legacy/css/buddypress.css

    diff --git src/bp-templates/bp-legacy/css/buddypress.css src/bp-templates/bp-legacy/css/buddypress.css
    index 8dd381a..8544330 100644
    body.activity-permalink #buddypress div.activity-comments div.acomment-content { 
    506506#buddypress .dir-form {
    507507        clear: both;
    508508}
     509.group-admin.manage-members #buddypress .dir-search label,
     510.group-admin.manage-members #buddypress .dir-search input[type=submit] {
     511        width: auto;
     512        display: inline-block;
     513}
    509514
    510515/*--------------------------------------------------------------
    5115163.4 - Errors / Success Messages