• Hi again Andrea,

    1) As Bp Profile Search can not be inserted in groups I am trying to find ways to create custom directories that’s why and my previous thread. Another approach could be to create a custom directory as you suggest but I have to add there the filter
    <?php if ( bp_has_members( my_custom_ids( $field_name, $field_value ) ) ) : ?>
    or
    <?php if ( bp_has_members( 'search_terms=$field_value' ) ) : ?>
    otherwise I will have the same members as in the members directory. But if I add one of these filters Bp Profile Search is not working. What would you suggest?

    2) If I use the shortcode [bps_display form=id template=tpl] in a new page I have there a directory copy of the template’s directory but no search filter appears. Am I doing sth wrong? Please advise!

    Thank you again,
    lesanis

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

    (@dontdream)

    Hi lesanis,

    Sorry for the late reply.

    1) Try with this code:

    <?php if ( bp_has_members( bp_ajax_querystring( ‘members’ ). “&search_terms=$field_value” ) ) : ?>

    2) When you create a new directory with the shortcode [bps_directory], and you want to add a search form to that directory, you have to select that directory in the field Form Action (Results Directory)

    Did I understand your questions correctly?

Viewing 1 replies (of 1 total)
  • The topic ‘Custom directories issues’ is closed to new replies.