• Hi.

    I am running BP Profile Search 3.6.2 on BP 1.9.2 and using the latest BuddyBoss theme and would like to have the search appear on both the Members page (i.e. domain.com/members/) and also appear on the profile pages (i.e. domain.com/members/Username, domain.com/members/Username/profile, domain.com/members/Username/notifications, etc).

    I copied the following code from /wp-content/themes/buddyboss/buddypress/members/index.html and used the php code from the plugin docs:-

    <div id="members-dir-search" class="dir-search" role="search">
     <?php do_action ('bp_profile_search_form'); ?>
    	</div><!-- #members-dir-search -->

    I put this code in /members/single/member-header.php and I only seem to get the ‘Toggled search’ effect. There is no single search field on Profile pages, but each search form field in relation to those selected on the plugin settings page.

    So, I tried the code from the themes members/index.php:-
    <?php do_action ('bp_profile_search_form'); ?>
    This seemed to do what I wanted – a single search field ‘Search Members…’ – but when I click Search, nothing happens.

    Unfortunately the Profile Search widget also displays all fields – but the default single search field on the Members page does exactly what I need it to do.

    Has anyone found a solution for member-header.php?

    https://www.ads-software.com/plugins/bp-profile-search/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi grantg182,

    I understand you need a single field in your search form, to search all the profile fields at the same time. Is that right?

    If so, that feature is not yet available in BP Profile Search, but it will be in a future version.

    I achieved showing the search form on other areas with sidebar/bp profile search widget… but as said above, I would need only specific fields not complete form that is intended to be only in members…

    I would suggest “widget settings” where you can select which fields to show in every widget…

    Cheers!

    Thread Starter grantg182

    (@grantg182)

    Hi Andrea

    Yes, I am looking for the functionality exactly as you describe it. I look forward to future updates.

    Thanks!

    Thread Starter grantg182

    (@grantg182)

    Any update on this? I am still looking for the same functionality of the Search field on the Members Directory page in a sidebar widget.

    Plugin Author Andrea Tarantini

    (@dontdream)

    No progress yet, sorry!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add Profile Search to Members Profile Pages’ is closed to new replies.