coholm
Forum Replies Created
-
Forum: Plugins
In reply to: [Search Analytics for WP] Does not track searchesthank you. looking forward to test it out
Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] Search Spam blockingI have not installed your plugin yet.
First I want to clarify if the plugin can block those queries.
Unfortunatly each of those spam searches is executed from a different IP.Is it possible to automatically block an IP, if a search query beginning with “www.” was sent?
Forum: Plugins
In reply to: [BBQ Firewall – Fast & Powerful Firewall Security] Search Spamguangxiymcd is just an example. I have hundrets of chinese domain names in my search log. they all start with www. and end with .cn
can you add a rule to block all those requests?Forum: Plugins
In reply to: [Defender Security - Malware Scanner, Login Security & Firewall] Search SpamThanks for your feedback. The bot that executes the search queries uses different IP on EVERY single search. Banning the IPs would not prevent further searches.
thank you. looking forward to test out the other features.
I noticed that I got “search spam”. Someone is searching for chinese websites on my website. here is the screenshot: https://i.ibb.co/yB7tZQv/2020-07-01-14-00-27-WP-Search-Insights-HOLMCO-Word-Press.png
Is there a way you can add a coloumn to show the IP adress next to each search term so I can block access from the ip entirely?
Thank you.
Regarding feature request #3:
I just want to be able to highlight the search term and be able to copy it. In my case I need to copy SKUs and paste them to our ERP System and lookup what the name of that article number is.IMO feature #1 is the most urgent one.
I got a few feature requests:
1. Show in the dashboard the number of times the term has been searched for
2. Add placeholders to filter. For example: “www.*” will filter out all searches that begin or contain www.
3. Make it possible to mark (and copy) search terms in the dashboard with the mouseIn the search term overview, the links need to be adjusted to the new search param. Currently it links to ?s=test&searchinsights
Forum: Plugins
In reply to: [Search Analytics for WP] Does not track searchesthank you. I’ll wait for the update
Hi @rogierlankhorst it works perfectly. Thank you !
P.S. ‘Track Ajax searches’ did not work.Thank you, that worked perfectly.
How can change the order in which the results appear now?
I would like to sort results as follows:
1. bauteilart (custom field):
possible values: 1, 2, 3 – sort assending
2. serie (custom taxonomiy):
possible values: “different terms” – sort assendingThanks for your reply.
My current code looks like this:
add_filter('wpfts_index_post', function($index, $post) { global $wpdb; // Basic tokens /* * This piece of code was commented out intentionally to display things * which was already done before in the caller code $index['post_title'] = $post->post_title; $index['post_content'] = strip_tags($post->post_content); */ if ($post->post_type == 'product') { // Adding new token "employee_data" specially for posts of type "employee" $data = array(); $data[] = get_post_meta($post->ID, 'wpcf-bauteilart', true); $data[] = get_post_meta($post->ID, '_sku', true); $index['employee_data'] = implode(' ', $data); } return $index; }, 3, 2);
Where do I add your code?
I have a product that has a custom taxonomy called “serien”.
The taxonomy has different terms: Cat1, Cat2, Cat3, etcWhen I enter Cat1 in the search bar, I want all products to show up, that are assigned to the taxonomy term Cat1.
You can ignore the requirement for the weight for now.
I have experimented with the following code:
$data[] = get_term_meta($post->ID, ‘serien-varianten’, true);
$data[] = get_the_terms($post->ID, ‘serien-varianten’, true);but in the “Index Engine Tester” this results in the output of “Array”
I expect to have the comma sperated terms of the taxonomy, that are assigned to the product: Cat1, Cat2@amboutwe
Thanks for your reply. In my test, this was not just a visual problem. As stated in my first post, it did not generate any output on the frontend