Andrea Tarantini
Forum Replies Created
-
Forum: Plugins
In reply to: [BP Profile Search] Critical ErrorDid you edit the file in your dashboard, with Plugins -> Plugin File Editor ?
Forum: Plugins
In reply to: [BP Profile Search] Critical ErrorHi Eric,
Just to make sure I’ve found the actual cause of this problem, could you please:
- Edit the file bp-core-profile-search.php in wp-content/plugins/buddyboss-platform/bp-core
- Locate the line:
function bp_core_load_profile_search() {
- Immediately after that line, add this line:
return false;
- Save the file, and see if the problem is still there.
Forum: Plugins
In reply to: [BP Profile Search] Critical ErrorHi Eric,
As you may know, BuddyBoss contains a basic version of BP Profile Search. When you activate the standard BP Profile Search plugin, having both copies active may cause problems.
You can try deactivating the internal copy: go to?BuddyBoss -> Settings -> Profiles?and uncheck the “Enable advanced profile search on the members directory” checkbox.
Does this help?
Forum: Plugins
In reply to: [BP Profile Search] Only works if the form page is at root levelYou are welcome! Of course you should apply the change again if you update BuddyPress to a new version.
Forum: Plugins
In reply to: [BP Profile Search] Only works if the form page is at root levelHi adventureridingnz,
If you wish to test the patch, I suggest you start from the original BuddyPress file class-bp-component.php, then edit the file and locate line 1121:
public function add_rewrite_rules( $rewrite_rules = array() ) {
Now insert, immediately after that line, the following lines:
if ( 'rewrites' !== bp_core_get_query_parser() ) {
return;
}
Save the file, and please let me know if the change works for you!
Forum: Plugins
In reply to: [BP Profile Search] Critical ErrorHi Eric,
You probably have activated GEO my WP. Could you try deactivating it and see if BP Profile Search?can be installed without errors?
Forum: Plugins
In reply to: [BP Profile Search] fatal error.Hi over50shub,
Thank you for your report.
Could you please post the error message? If it’s not displayed you could look into your error logs or temporarily enable WP_DEBUG.
In the meantime you can rollback your BP Profile Search version using the WP Rollback plugin.
Forum: Plugins
In reply to: [BP Profile Search] Only works if the form page is at root levelYou’re welcome! You can follow the ticket linked above to stay updated.
Forum: Plugins
In reply to: [BP Profile Search] Only works if the form page is at root levelThis is an issue between BuddyPress and BP Classic, see this ticket I submitted:
Forum: Plugins
In reply to: [BP Profile Search] Only works if the form page is at root levelHi adventureridingnz,
I think the problem is not related to BP Profile Search.
Can you confirm that if you create a subpage of your members directory, it does not display and is redirected to your home page?
Forum: Plugins
In reply to: [BP Profile Search] Only works if the form page is at root levelHello adventureridingnz,
Thanks for your report. I reproduced this issue on my test site and I’ll debug it these days or this weekend.
I’ll keep you informed!
Hello kukiko,
Try entering ‘Margriet OR Hunter’ in your search field, it should work as expected because text search fields recognize the uppercase keywords OR and AND.
Forum: Plugins
In reply to: [BP Profile Search] How to use BP Search for Member Swipe plugin?Hi Chris,
To create a custom directory in your new plugin, you could replicate the BP Profile Search code in the bps-directory.php file or, if you plan to use BPS with your new plugin, you can simply leverage the BPS
'bps_add_directory'
filter, as shown in the code snippet above.If you add directory templates to your new plugin, you could use the BuddyPress
'bp_get_template_stack'
filter to add your template folder to the stack, and use the BPS'bps_directory_data'
filter to add the template attribute to your directory.Forum: Plugins
In reply to: [BP Profile Search] How to use BP Search for Member Swipe plugin?Hi Chris,
The above code snippet is only needed if you use it with Member Swipe.
To create a custom directory you only need the
[bps_directory]
shortcode, with no attributes. Using the template attribute:[bps_directory template='members/index-2, members/members-loop-2']
is necessary when you want to use a custom directory template.
In general you have to modify both files, index.php and members-loop.php, to fully customize the members directory, that’s why the shortcode needs both.
It’s suggested to use a child theme to avoid losing your new templates on the next theme update.
Forum: Plugins
In reply to: [BP Profile Search] undefined array key “HTTP_REFERER” in…Hi hemligg,
I just released a hotfix, to get it you should delete your copy of BP Profile Search and reinstall it.
Please let me know if this removes the PHP warnings in your log.