Andrea Tarantini
Forum Replies Created
-
Forum: Plugins
In reply to: [BP Profile Search] undefined array key “HTTP_REFERER” in…So I assume it’s safe to just suppress the warning. I will release the change in a few days, possibly this weekend.
Forum: Plugins
In reply to: [BP Profile Search] undefined array key “HTTP_REFERER” in…Could you please check if the filters are only applied on the first page of results and never on the second and subsequent pages?
Forum: Plugins
In reply to: [BP Profile Search] undefined array key “HTTP_REFERER” in…Hi hemligg,
Thank you for your report!
Does your server use a different key instead of HTTP_REFERER? Without the value of
$_SERVER['HTTP_REFERER']
BP Profile Search doesn’t work during AJAX requests, because the code can’t tell which page the AJAX request is coming from.Forum: Plugins
In reply to: [BP Profile Search] Critical error when installingEyal,
Thank you for your reply!
Robert,
If you are willing to edit your copy of BuddyBoss I can suggest a simple one-line fix to resolve the issue. But please note that editing your copy will force you to reapply the fix every time you update BuddyBoss on your site.
Forum: Plugins
In reply to: [BP Profile Search] Critical error when installingHi Robert,
Unfortunately this looks like an incompatibility between BP Profile Search and GEO my WP when they are used with BuddyBoss.
In my opinion the conflict is caused by BuddyBoss. In wp-content/plugins/buddyboss-platform/bp-search/bp-search-functions.php on line 602, BuddyBoss duplicates the?BP Profile Search?function
bps_get_request()
when?GEO my WP?is active, but it should do so when?GEO my WP?is active?and?BP Profile Search?is not active.I think there is no way?BP Profile Search?or?GEO my WP?could work around this issue, but I’d like the opinion of Eyal Fitoussi, who’s following us on this topic.
Sometimes on my test site I can avoid the incompatibility if I change the plugin activation sequence as I suggested, but apparently this is not working on your site.
Forum: Plugins
In reply to: [BP Profile Search] Critical error when installingDid you rename the bp-profile-search folder to bp-profile-search-test?
This may prevent BuddyBoss from recognizing BP Profile Search, try restoring the original name, and repeating the above procedure.
Forum: Plugins
In reply to: [BP Profile Search] Critical error when installingHi rshaules,
If you have activated GEO my WP, try deactivating it, activate BP Profile Search and then reactivate GEO my WP.
If this doesn’t help, please post the new error message.
Forum: Plugins
In reply to: [BP Profile Search] Critical error when installingHi rshaules,
Could you please paste the text of the error message?
To see the specific error message, you may need to temporarily enable WP_DEBUG, see:
https://developer.www.ads-software.com/advanced-administration/debug/debug-wordpress/
Forum: Plugins
In reply to: [BP Profile Search] search result only directoryHi jensiboy1977,
Unfortunately it’s not possible, or I haven’t found a way to do it. Sorry!
Forum: Plugins
In reply to: [BP Profile Search] Display location under avatar in BB PressUnfortunately I can’t provide a complete solution because I’m not very familiar with bbPress, so what follows is only a suggestion for your developer.
If you locate the bbPress template that displays the user details, you can modify it. Insert there the code to get the user location (the line suggested above) and then print the result.
Hope this helps!
Forum: Plugins
In reply to: [BP Profile Search] Display location under avatar in BB PressHi Chad,
I think so, but I’m not very familiar with bbPress.
You can get the location of a user with:
$location = xprofile_get_field_data ($location_field_id, $user_id);
then print it where you need it, using the relevant bbPress hook or modifying the relevant bbPress template.
Forum: Plugins
In reply to: [BP Profile Search] How to use BP Search for Member Swipe plugin?Hi Chris,
You can declare your Swipe page as a custom members directory, by adding this code to your bp-custom.php file:
add_filter ('bps_add_directory', 'add_swipe_page'); function add_swipe_page ($dirs) { $dir = new stdClass; $page_id = 1781; // replace as needed $dir->id = $page_id; $dir->title = "Swipe Members"; // replace as needed $dir->path = parse_url (get_page_link ($page_id), PHP_URL_PATH); $dirs[$page_id] = $dir; return $dirs; }
Then you can use one of your BP Profile Search forms and select the new “directory” as its Target Directory.
Please note that the above code only works with BP Profile Search 5.7.4+ or BP Classic.
Forum: Plugins
In reply to: [BP Profile Search] BPS 5.7.2 still needs BP ClassicHi Terri,
Thank you for your report!
Could you please try BP Profile Search 5.7 ands see if the problem goes away? You can use WP Rollback to switch between plugin versions.
Forum: Plugins
In reply to: [BP Profile Search] Remove options in Order byHello Eugenio,
You can disable this feature adding the following code to your bp-custom.php file:
add_filter ('bps_sort_options', 'change_sort_options'); function change_sort_options ($sort_options) { $sort_options = array (); return $sort_options; }
You can find more info here:
Great, you’re welcome!