Hello, I use this plugin for my Buddpress-enabled social networking website and it’s worked wonderfully. I’d like to add another functionality to this site: members can filter out other members based on form criteria, and then sign up for an email newsletter that recurrently sends them all members who fit said criteria. Is this possible with this plugin, or could you provide any guidance on how I could get it done?
Thank you!
]]>Currently when you click on the a profile name in the search results it takes you to “…/members/username”. How can I change this to “…/members/username/profile”?
Also, how can I limit the search to a member type by default? I don’t want the user to select the member type. I want to restrict it in code.
Thanks
]]>Hi Andrea,
Can you provide us an update on fixing and updating 5.75 due to the Cross Site Request Forgery (CSRF) vulnerability, please?
See – https://app.screencast.com/oBKP2wF3deIeA
Thanks.
]]>Hello,
Please how can I convert the labels to placeholders, I want the labels hidden while using placeholders.
I don’t know if this example code could work
// Add placeholder to buddypress registration form.
function wp_add_placeholder($elements){
$elements['placeholder'] = bp_get_the_profile_field_name();
return $elements;
}
add_action('bp_xprofile_field_edit_html_elements','wp_add_placeholder');
Thanks
]]>Hi, I’m seeing an error which resembles a lot what was previously reported in this post. I have the latest version of both Buddypress and BP Profile Search, but if I have a page that contains the [bps_directory] shortcode as a subpage of something else, the page isn’t showing up correctly.
I do not have BP Classic installed. I have also tried adding the patch you proposed in that post, but it seemed like it didn’t work for me. Those pages are excluded from the cache, which I cleared before checking the patch.
Is there something I can try?
]]>Hi, Can you check please? This is my error at trying to activate the plugin:
[25-Jun-2024 08:13:28 UTC] PHP Fatal error: Cannot redeclare bps_buddypress() (previously declared in /www/htdocs/xxxx/wp-content/plugins/buddyboss-platform/bp-core/bp-core-profile-search.php:32) in /www/htdocs/xxxx/wp-content/plugins/bp-profile-search/bps-main.php on line 29
Thanks, kind regards
]]>BP profile search Plugin could not be activated because it triggered a?fatal error following latest update. Version 5.7.5?Wordpress 6.5.4.
]]>If the page containing the bps_form shortcode is at root level then the page and form work fine, if they are 1 level or more deep they do not and instead my users get presented with my Posts page.
E.g. I have a member search form which is located under my members page, it used to work there but no longer does in either 5.7.5 or the immediately previous version of BP Profile Search. I actually don’t know when it stopped working.
If I move the page containing the BP_Form shortcode to the root level it works fine.
Weirdly, this also impacts the widgets performance. If the form page is at root level the widget works, if it is under my Members page then the widget does not.
There are no errors in my logs and the access log shows a 200 is returned when the page is requested at either level.
Running latest WordPress and BuddyPress with BP Classic installed and the classic editor if that matters.
If I go to this page: https://snvt.nl/professioneel-vertaler-of-tolk-inhuren/
And I do a search.
Then I put for instance a first name and a second name of an existing member in the search area, it will give no results.
If I search for ‘Margriet’, I will get 1 result
If I search for ‘Hunter’, I will get 1 result too.
If I search for ‘Margriet Hunter’, I will get 0 results.
What can I do to make the search ‘Margriet OR Hunter’?
We see a lot of “undefined array key “HTTP_REFERER” in” in our error log. Just a php warnings but should be a quick fix for you to just wrap $_SERVER in an?isset
?or?!emmpty
or something in bps-search.php on line 42.
Hello!
I’m trying to install your plugin, BP Profile Search, with BuddyBoss. When I try and activate your plugin, I get a fatal error has occurred message.
I’ve since deactivated the plugin and my site works, but trying to reactivate your plugin a second time and I get the same critical error.
Any help would be greatly appreciated. Thank you!
]]>is it possible to show only members that shows up in the search results, not the standard layout of members directory ? where all members are listed.
I just want to give the option to search for members not see all members listed.
]]>Is it possible to display the member’s location underneath the avatar when viewing replies in a forum topic?
]]>Hi Andrea,
I just tried out the 3rd party plugin “Member Swipe”. I was wondering if it was possible to create a new BP search form and hook that into the swipe plugin so that I have 1 BP Search form for the “Members” page/directory and one for the swipe plugin page.
To be more detailed, I will create a new page and use the member swipe plugin there. I was just hoping I could also create a BP Search form to let members search the member swipe results. As far as I know the plugin also uses (the same main?) directory so I am not sure if there will be an overlap/conflict then to the “Members” page directory.
Would be awesome if I could somehow hook into the member swipe with a 2nd BP Search form.
Thanks in advance ??
]]>We started getting errors (pages hanging up, no search results) so I added the BP Classic plugin. Search results came back but single member pages hung and erred out. Turns out Youzify does not play well with BP Classic.
HOWEVER, I turned off ALL plugins EXCEPT Buddy Press and BPS. With only those two plugins activated, search results stopped working (returned nothing). I activated BP Classic again and search results worked again (as do single member pages). BUT, this means we can’t use Youzify which we use for much nicer formatting, rules, and Recaptcha.
Saw your developer log that said your plugin no longer needs BP Classic – but it still does!
WP 6.4.3, PHP 8.1, BP 12.3.0, BPS 5.7.2
Is there something we should be doing differently?
]]>I have a field in buddyboss called Hourly Rate. My problem is, it is showing inside the order by dropdown list together with Recently Active, Newest Members and Alphabetical. How do I prevent or remove the Hourly Rate from the order by dropdown menu and only list the Recently Active, Newest Members and Alphabetical?
]]>hi, the feature to search for someone with BP profile search from the members directory is great! What I am trying to achieve, is to search for 1 result based on a unique ID. In this way, people can be searched by their ID to check they are verified. So, I would want someone to be able to give their unique ID, and for other people to check that this is a valid person by using this search function and just get that 1 result returned by the search. I noticed though that although I can set up the search and it works pefectly, if I then select the link to clear the result, it displays all results on the members directory. I was wondering if there is a way to prevent this? I wondered e.g if there is a way I could hid the “clear” link and only leave the “search again” link, so that people are required to go back and search for 1 individual result each time? Thanks for any advice!
]]>Hi Andrea,
is there away to refine loop results? I was hoping I could add a tab to sort loop results from BP Search or other forms a bit more.
For example lets say I use BP Search, select a few filter options and hit search – then I get member results based on those selected filters.
Now lets assume I want to then refine those displayed member results, e.g. show only members that are online from the results?
Is there a hook/action I can tap into to “use” the currently displayed member result to filter even further?
To be clear, I do not mean the “recently active”, “newest” or “alphabetical” ones. I want to create a tab that does the additional sorting/filtering when I click it by “building” on/using the loop results from a previous filter process.
Any suggestion? ??
]]>With version 5.7 there is a flush_rewrite_rules() added in bps-directory.php:67, which seems to run on every page request. This is adds some high load to our database, because its updating the rewrite rules in database on every request.
As far as i understand, flushing should only happen on plugin activation and/or plugin update or if something changed, but not on every request.
Can you please do something about it?
Hello Andrea,
I was trying to get the shortcode working inside a modal but for some reason the only hting it shows then is the ui collapsible and ui theme options (the ones that are in the settings) rather than the actual form fields.
Are there any restrictions on how to use the shortcode? Can it be used inside a pop-up modal at all?
For reference, I am using the latest BuddyBoss platform and them version.
Also, I noticed I get an error when I try to test the widget: “There was an error. e is undefined.”
Just wanted to let you know ??
]]>Hi,
thank you for this great plugin – a functionality that should actually be found in the core of BuddyPress.
I have the following filter function in a directory search.
[bps_directory bp_member_type_one_of='My-MT-Group' AND field_76_range='2024-01-01, 2024-12-31']
I would like to specify a daily filter for the first date field so that “older” profiles are not displayed. Unfortunately, I can only find information for fixed periods in the documentation.
[bps_directory field_76_range='%TODAY%, 2024-12-31']
If such a variable is not implemented, what would a pre-database search look like as a snippet for this plugin in order to then be able to make additional selections using a BPS form?
A simple preliminary search would be like this:
SELECT * FROM wp_bp_xprofile_data
WHERE field_id = 76
AND value >= CURDATE() AND '2024-12-31';
In this case, the filter function with the member type would be sufficient!
I would like to thank you in advance for an answer.
I am using buddyboss child theme. I just want to display a text message saying “no match found” when bp search profile does not find any profile that matches the search creteria. How do I display the text message within the location where the members are listed when there is a match on the search creteria?
]]>Hi there, i added new sorting by field_590 … how can i set it to default sorting? Thank you Jan
]]>Been using the plugin (plus BP distance Search) for a number of years for a Therapists directory. The directory searches have stopped working in last few days. I get error
BP Profile Search: [bps_directory] currently doesn’t work without the BP Classic plugin
on the results pages. v5.5 of the plugin is installed.
Can you help please?
]]>Hi Andrea,
I am trying to apply bottom spacing to the form text labels using CSS, but it is not working. For example:
.bps-label {
margin-bottom: 15px !important;
}
Any tips how I can achieve this?
Thank you!
]]>Hi,
We’ve found a conflict with BuddyBoss with the BP Profile Search plugin. We also have the BP Distance Search plugin working as well too.
When the plugin is activated, the additional search fields on the members directory are removed, and when the plugin is deactivated they reappear again.
Any ideas please?
Thanks.
]]>Hello Andrea,
I was just checking out the “BP verified member” plugin and I saw that its possible to include a filter for verified/not verified members in your plugin, the BP Search form.
I am using BuddyBoss and that comes with 3 filters already (“recently active”, “newest members” and “alphabetical” filtering). However those filters appear in a dropdown below the BP Search form.
I was wondering if there was a way to integrate those 3 native BuddyBoss filters into your BP Search form. That would make the user experience more fluent as it is bit confusing to have filter options in the search form and then below the form are additional filter options.
Thank you ??
]]>Hi, great plugin! I can use many of the search functions for the search form.
I am just missing one additional option: to select (in best case scenario 2 checkboxes) whether a user has a profile image or not. So, to display either members who have one uploaded or those who have not (still use default img).
I assume that this is not natively possible but I was hoping to be able to create it with some radio button/multi-select option button in the search form. I could theoretically overwrite the original functionality and then add the new search function.
]]>Hi, thanks for your plugins.
I was playing around with the BP search plugin in conjunction with BP xprofile fields and could create a nice country dropdown list for the search form (users can search other members via country list as a dropdown).
Unfortunately, I could not find the same dropwdown option for the “city” field. So far, what I have created is either a regular search field to search all profile fields for “city” or the “geolocation” option. However, for these fields a user needs to manually enter the city he/she is looking for. I was hoping that the search field could be in a dropdown like the country search field.
Thus, is it possible to create a dropdown with all cities of all members just like the country field?
That would be really great.
]]>Olá Andreia! Tudo certo? No meu caso, n?o tem a op??o de escolher na horizontal só aparece na vertical. Eu preciso na horizontal.
]]>