X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Keep track of keywords searched! (https://forum.x-cart.com/showthread.php?t=7057)

OshkoshJon 06-06-2004 12:48 PM

Not a problem, the script is still very useful, and the price can't be beat :)

OshkoshJon 06-06-2004 02:03 PM

I figured out how, it's pretty simple actually. You can either have it as part of the Update DB subroutine, or you can make a separate button "Clean DB".

Basically all it does is run an SQL query and delete any row where the search text is empty:



mysql_query("DELETE FROM `search_queries_sorted` WHERE search_text = ''");


Additionally you can have it remove other searches, such as "test" and "testing" (diagnostic searches).

Emerson 06-06-2004 02:29 PM

Cool, Thank You ;)

wallachee 10-22-2004 09:20 PM

Awesome Mod. Works great in 3.5.10.

-Bradley

wallachee 10-24-2004 08:21 PM

I've got this mod up and working, but there is one problem. The search registers an unusally large number of blank searches. Does anyone else have this issue and is there any way to fix it?

-Bradley

Lucent88 09-15-2005 12:02 PM

Does this work for v4.x users?

B00MER 09-15-2005 01:11 PM

Quote:

Originally Posted by Lucent88
Does this work for v4.x users?


It's built into 4.x.


All times are GMT -8. The time now is 08:45 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.