Please update your plugin because it was flagged by WP Toolkit with XSS vulnerability. Below is the detail.
]]>Hello,
I have the following error when I switch from PHP 7.4 to PHP 8.1 :
PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/buddypress-global-search/includes/search-types/class.BBoss_Global_Search_Type.php:105
I fixed it by changing the line 105 in buddypress-global-search/includes/search-types/class.BBoss_Global_Search_Type.php
return isset( $this->search_results['items'][$itemid] ) ? @$this->search_results['items'][$itemid]['html'] : '';
by
return !empty( $this->search_results['items'][$itemid] ) ? @$this->search_results['items'][$itemid]['html'] : '';
Maybe it’s not the best solution, please update the module with the correct fix.
]]>I’m getting a warning about issues with this plugin. I’ve deleted it for now. Shame because it was useful. Anyone fancy forking it to fix? (I don’t think it’s supported any more) I don’t have the skills
]]>I guess this is more of a suggestion or proposal, but I’ve edited the class.BBoss_Global_Search_Members.php file on line 77, to exclude certain users from showing up on search results.
I changed:
$WHERE[] = “1=1”;
To:
$WHERE[] = “1=1 AND user_email NOT LIKE ‘%examplestring%'”;
I would like to suggest having the option to add in these exclusions in the plugin settings.
]]>Hi
How can I edit the wording that appears on the search results page?
If I deactivate ‘Network Search’ in ‘Components’ the wording disappears, so it’s definitely a BuddyBoss thing.
As you can from the screenshot/link, the lettering is all bunched up and pretty much unreadable.
Thanks in advance.
Hi, THANK YOU for this great plugin!
How solve the problem mentioned above?
Thanks again
]]>I’m a BuddyBoss Pro customer. I am seeking a small hook and function code snippet to programmatically prevent the Network Search bar from loading in the BuddyBoss header. Can you help?
]]>I’m getting an error when activating this plugin on a pretty much barebones install of BB. I only have the BB and BB Pro plugins installed and not even using anything else custom like theme etc.
Here’s the error:
(I replaced the name of the site with site.com for privacy reasons)
Fatal error: Uncaught Error: Call to undefined function bp_get_option() in /home/site.com/folder/public_html/wp-content/plugins/buddyboss-platform-pro/class-bb-platform-pro.php:119 Stack trace: #0 /home/site.com/folder/public_html/wp-content/plugins/buddyboss-platform-pro/class-bb-platform-pro.php(80): BB_Platform_Pro->setup_globals() #1 /home/site.com/folder/public_html/wp-content/plugins/buddyboss-platform-pro/class-bb-platform-pro.php(53): BB_Platform_Pro->__construct() #2 /home/site.com/folder/public_html/wp-content/plugins/buddyboss-platform-pro/buddyboss-platform-pro.php(36): BB_Platform_Pro::instance() #3 /home/site.com/folder/public_html/wp-content/plugins/buddyboss-platform-pro/buddyboss-platform-pro.php(70): bb_platform_pro() #4 /home/site.com/folder/public_html/wp-includes/class-wp-hook.php(303): bb_platform_pro_init('') #5 /home/site.com/folder/public_html/wp-includes/clas in /home/site.com/folder/public_html/wp-content/plugins/buddyboss-platform-pro/class-bb-platform-pro.php on line 119
Notice: is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/site.com/folder/public_html/wp-includes/functions.php on line 5663
Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/site.com/folder/public_html/wp-includes/functions.php on line 5663
There has been a critical error on this website. Please check your site admin email inbox for instructions.
]]>
Hi
When I add new users, they’re not showing up in the search boxes. I’ve confirmed they are created in WordPress.
Any suggestions?
]]>Hi BuddyBoss
On the activity search results page the activity post
buttons malfunction.
‘ Comment ‘ button redirects to
https://x——-x.com/?ac=7018%2F#ac-form-7018
This redirects to homepage
‘ Favorite ‘ button reloads page without changing the favorite
status.
‘ Delete ‘ button reloads page without deleting the post for
the logged in user
—————————————————————
How can I make them work
on global search results. ?
Can I disable some global search code on these buttons
so they will default back to buddypress. ?
Thank You.
website001
I need to modify the template that displays the search results when pressing enter on the search bar.
What I found in buddyboss-global-search/templates/ are results-page-content.php and results-page.php.
I place the files per the instructions at the top of the form: wp-content/themes/my-child-theme/buddyboss-glogal-search directory. But when I cannot get the changes made to output.
Could you help to clarify the directory structure in my theme’s directory, or something other I’m missing?
]]>Hi,
When I begin to type in the search box, the auto-suggestions triggers fine. However, if I ignore the suggestions and press Enter on my search query, I’m redirected to a page: https://mywebsite.com/?s=%keyword_used%
However, the layout and output is not what I want users to see. Which file do I need to modify or can I have the search redirect to a page of my own design? This is an important aspect of the user experience that I need control of.
Thanks
]]>Hello Sir,
Is this plugin(BuddyPress Global Search) still supported?
Do you have plans to keep developing and updating it?
The reason why I’m asking these questions is because WordPress is giving a critical warning about it as you can see here– https://prntscr.com/1mqrau0
If you have plans to keep supporting it, can you Please update it?
Needing to hear from you soon.
Regards
]]>Hello,
Please how can I make your plugin work with this code below
// Change the search results page URL slug
function wpcs_search_url_rewrite_rule() {
if ( is_search() && !empty( $_GET['s'] ) ) {
wp_redirect( home_url( '/search/' ) . urlencode( get_query_var( 's' ) ) );
exit();
}
}
add_action( 'template_redirect', 'wpcs_search_url_rewrite_rule' );
]]>
Hello, Great Plugin here I must say, However, results from anspress questions and answers on the website is not showing any way around this
]]>when searching for “adams anderson” – it fails to bring up anything.
when searching for “adams” is works as expected; members with that word show up and the wordpress Page with staff that include that name.
same with search for “anderson” – it shows the staff page and a members page – great!
but if you put “adams anderson” in the search box, it returns nothing – even if you hit enter and go to the wordpress search page.
Maybe an option to run this with OR ? maybe that could fix?
]]>Hi everyone,
there is a strange problem. I’ve use WordPress, BuddyPress and “Buddyboss-Global-Search” what should be this one here.
If I search for a blocked member, the search-result number is correct and show “0 results found” BUT the search-result filter lists “Members (1)” and also show the member in the results itself.
Can anyone help me, to get rid of the blocked members in the search-results? It is not an option the delete the user from database as of linked page-content written or edited by this members.
Thanks.
]]>Is there a way to modify the pagination for the search page? I need to limit the numbers and remove the Next and Previous buttons.
For all of my other pages I’ve used the following lines of code to limit the amount of numbers in the pagination.
'mid_size' => 2,
'end_size' => 0,
'prev_next' => False
I’ve found the functions.php in the plugins /includes folder but don’t see a way to add the code above. Can you please assist?
Thx
]]>When the autocomplete dropdown displays after typing in a search the results are constrained within the search field area and do not drop down. So all you see is a line of text and nothing further. It’s almost like the z-index is wrong.
]]>Hi there,
I have installed the BP Global Search plugin, however it does not show any suggestion.
Could you please share some advice for me?
Below my settings:
– WordPress 5.5.3
– KLEO theme 4.9.170
– BuddyPress 6.3.0, Legacy template
– BuddyPress Global Search 1.2.1
– other plugins, I can share info if needed
Best regards
]]>Hello there! I trust, you are well.
Since months i am using a great theme which comes with the “BuddyPress global search” plug-in by default. Sadly i have not been able to find a solution for the search result issue, which shows pre-ordered results in the list (as known) while typing in the search term – COVERED BY A WHITE (partly transparent) RECTANGLE. This way it is almost impossible to read the first 2 – 3 search results.
I would be great to receive help! Thanks a lot indeed in advance for your fast answer.
Truly
Tom
]]>Please find below.
Around 3:31pm UTC on September 3 some of the dynamically generated queries changed and are resulting in some very slow queries. We believe these queries are generated by the BuddyPress Global Search plugin. The plugin was not upgraded and we have been running version 1.1.8 for a few months without issue. There were no code changes so we presume that somewhere a configuration option was changed in the UI. The change in the queries is the addition of searching the Engage_usermeta table so I expected the change was that the highlighted checkbox in the image below was selected, but it is not selected, as you can see in the image.
One such query is:
SELECT COUNT( DISTINCT u.id ) FROM Engage_users u JOIN Engage_bp_activity a ON a.user_id=u.id WHERE 1=1 AND u.id IN ( SELECT ID FROM Engage_users WHERE ( user_login LIKE ‘% AsiaPH Data Privacy Act%’ OR display_name LIKE ‘% AsiaPH Data Privacy Act%’ OR user_email LIKE ‘% AsiaPH Data Privacy Act%’ ) ) OR u.id IN ( SELECT user_id FROM Engage_bp_xprofile_data WHERE ( value LIKE ‘%AsiaPH Data Privacy Act %’ AND field_id IN ( 0,1) ) OR ( value REGEXP ‘[[:<:]]AsiaPH Data Privacy Act[[:>:]]’ AND field_id IN ( 0) ) ) AND a.component = ‘members’ AND a.type = ‘last_activity’;
Which after 9/3 became: (note the addition of the highlighted condition)
SELECT COUNT( DISTINCT u.id ) FROM Engage_users u JOIN Engage_bp_activity a ON a.user_id=u.id WHERE 1=1 AND u.id IN ( SELECT ID FROM Engage_users WHERE ( user_login LIKE ‘%AsiaPH Data Privacy Act%’ OR display_name LIKE ‘%AsiaPH Data Privacy Act%’ OR user_email LIKE ‘%AsiaPH Data Privacy Act%’ ) ) OR u.id IN ( SELECT user_id FROM Engage_bp_xprofile_data WHERE ( value LIKE ‘%AsiaPH Data Privacy Act%’ AND field_id IN ( 0,1) ) OR ( value REGEXP ‘[[:<:]]AsiaPH Data Privacy Act[[:>:]]’ AND field_id IN ( 0) ) ) OR u.id IN ( SELECT user_id FROM Engage_usermeta WHERE meta_key = ‘bbgs_search_string’ AND meta_value LIKE ‘%AsiaPH%’AND meta_value LIKE ‘%Data%’AND meta_value LIKE ‘%Privacy%’AND meta_value LIKE ‘%Act%’ ) AND a.component = ‘members’ AND a.type = ‘last_activity’;
What did we change on 9/3, or more importantly, how do we revert this change so we no longer query the Engage_usermeta table?
Another query that changed in the same way and at the same time is:
( SELECT DISTINCT id , ‘posts’ as type, post_title LIKE ‘%AsiaPH Data Privacy Act%’ AS relevance, post_date as entry_date FROM Engage_posts p WHERE 1=1 AND ( p.post_title LIKE ‘%AsiaPH Data Privacy Act%’ OR p.post_content LIKE ‘%AsiaPH Data Privacy Act%’ ) AND p.post_type = ‘post’ AND p.post_status = ‘publish’ ) UNION ( SELECT DISTINCT u.id, ‘members’ as type, u.display_name LIKE ‘%AsiaPH Data Privacy Act%’ AS relevance, a.date_recorded as entry_date FROM Engage_users u JOIN Engage_bp_activity a ON a.user_id=u.id WHERE 1=1 AND u.id IN ( SELECT ID FROM Engage_users WHERE ( user_login LIKE ‘%AsiaPH Data Privacy Act%’ OR display_name LIKE ‘%AsiaPH Data Privacy Act%’ OR user_email LIKE ‘%AsiaPH Data Privacy Act%’ ) ) OR u.id IN ( SELECT user_id FROM Engage_bp_xprofile_data WHERE ( value LIKE ‘%AsiaPH Data Privacy Act%’ AND field_id IN ( 0,1) ) OR ( value REGEXP ‘[[:<:]]AsiaPH Data Privacy Act[[:>:]]’ AND field_id IN ( 0) ) ) OR u.id IN ( SELECT user_id FROM Engage_usermeta WHERE meta_key = ‘bbgs_search_string’ AND meta_value LIKE ‘%AsiaPH%’AND meta_value LIKE ‘%Data%’AND meta_value LIKE ‘%Privacy%’AND meta_value LIKE ‘%Act%’ ) AND a.component = ‘members’ AND a.type = ‘last_activity’ GROUP BY u.id ) UNION ( SELECT DISTINCT id , ‘topic’ as type, post_title LIKE ‘%AsiaPH Data Privacy Act%’ AS relevance, post_date as entry_date FROM
Engage_posts
WHERE
1=1
AND (
(
(post_title LIKE ‘%AsiaPH Data Privacy Act%’)
OR (post_content LIKE ‘%AsiaPH Data Privacy Act%’)
)
)
AND post_type = ‘topic’
AND post_status = ‘publish’
) UNION ( SELECT DISTINCT g.id, ‘groups’ as type, g.name LIKE ‘%AsiaPH Data Privacy Act%’ AS relevance, gm2.meta_value as entry_date FROM
Engage_bp_groups_groupmeta gm1, Engage_bp_groups_groupmeta gm2, Engage_bp_groups g
WHERE
1=1
AND g.id = gm1.group_id
AND g.id = gm2.group_id
AND gm2.meta_key = ‘last_activity’
AND gm1.meta_key = ‘total_member_count’
AND ( g.name LIKE ‘%AsiaPH Data Privacy Act%’ OR g.description LIKE ‘%AsiaPH Data Privacy Act%’ )
AND ( g.status != ‘hidden’ OR g.id IN ( 99999999 ) ) ) ORDER BY relevance, type DESC, entry_date DESC LIMIT 0, 10;
]]>Is there a way to limit this search to only a specific search location? I don’t want the plugin to modify the default search on the website. I only want to offer this “Global Search” to logged in users. The default seems to be an all or nothing approach where all searches on the site are global searches. I would like to have a shortcode and only the shortcode version be the “Global Search” all other search fields on the site would remain unchanged and remain in their default behavior.
]]>Hi,
Great plugin. It is just that it conflicts with the anspress plugin. This means that no search result is shown for Anspress when the BuddyPress global search plugin is activated.
I would appreciate any help fixing this. Thanks
]]>Buddypress works perfect with DIVI theme. However, after installing this plugin, heaps of problems start popping up with layouts and layout customisation.
]]>Hi there,
once I installed the plugin, i cannot open my side nor my admin panel anymore and the screen shows an error message stating that a critical error occured.
I almost only installed plugins so far which integrate perfectly with buddyboss.
Any idea what’s happening?
]]>Hi is it possible do a search for default with a xprofile field?
]]>Hello,
I would like to know if elastic search can work with the buddypress global search plugin
]]>Hi all
My search results page formatting is terrible. The results are left justified against the edge of the page. I’ve searched through this forum looking for a solution without much luck. One result was about 3 years old. It suggested copying the template folder from the plugin’s folder and renaming it to “buddypress-global-search”. I tried this with no success. After running an Inspect in Chrome I searched my server for the CSS and found no results. Does anyone have any suggestions for this problem?
Thanks in advance,
Frank
I have the appropriate fields “checked” in the admin BuddyPress Global Search settings. I have two fields I’m trying to search. The fields are Company and Registration Status.
I have two test accounts. Both have “pending” in the registration status field. Only one has “Acme” in the company field.
The search is as such: Acme pending.
The problem is this returns ZERO results.
However, if I search for ACME alone, I get one result (correct). And if I search for PENDING alone I get two results (correct). I don’t understand why the search =acme+pending isn’t returning one result since one person does have both.
Thanks.
]]>