FAQ version 3.3

Here are a few common problems with BP Profile Search 3.3 and their possible causes.

Please note that BP Profile Search 3.3 requires BuddyPress 1.7 or higher.

1. After submitting a search, no search summary is displayed under the Members Directory page title.

If the search summary is present when you activate the default BuddyPress theme, but it’s not there when you activate your custom theme, probably your custom theme doesn’t include the 'bp_before_directory_members_content' hook.

To add this hook to your custom theme, look at the file:

wp-content/plugins/buddypress/bp-themes/bp-default/members/index.php

and locate the line (line 23 in BuddyPress 1.7.2):

<?php do_action( 'bp_before_directory_members_content' ); ?>

Now you have to port that line to the corresponding file in your custom theme.

2. After submitting a search, the search summary is displayed, but the search doesn’t work, and the whole Members Directory is always displayed.

If the search works when you activate the default BuddyPress theme, but it doesn’t work when you activate your custom theme, probably your custom theme doesn’t include the 'bp_before_members_loop' and 'bp_after_members_loop' hooks.

To add these hooks to your custom theme, look at the file:

wp-content/plugins/buddypress/bp-themes/bp-default/members/members-loop.php

and locate the two lines (lines 14 and 113 in BuddyPress 1.7.2):

<?php do_action( 'bp_before_members_loop' ); ?>

<?php do_action( 'bp_after_members_loop' ); ?>

Now you have to port those lines to the corresponding file in your custom theme.

Leave a Reply

Your email address will not be published. Required fields are marked *


9 + = 18

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>