Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Keep track of keywords searched!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 06-06-2004, 12:48 PM
  OshkoshJon's Avatar 
OshkoshJon OshkoshJon is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 135
 

Default

Not a problem, the script is still very useful, and the price can't be beat
__________________
x-cart v4.0.17 - linux/apache
Reply With Quote
  #22  
Old 06-06-2004, 02:03 PM
  OshkoshJon's Avatar 
OshkoshJon OshkoshJon is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 135
 

Default

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).
__________________
x-cart v4.0.17 - linux/apache
Reply With Quote
  #23  
Old 06-06-2004, 02:29 PM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

Cool, Thank You
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote
  #24  
Old 10-22-2004, 09:20 PM
 
wallachee wallachee is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 102
 

Default

Awesome Mod. Works great in 3.5.10.

-Bradley
__________________
Version 4.1.9
Reply With Quote
  #25  
Old 10-24-2004, 08:21 PM
 
wallachee wallachee is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 102
 

Default

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
__________________
Version 4.1.9
Reply With Quote
  #26  
Old 09-15-2005, 12:02 PM
 
Lucent88 Lucent88 is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 147
 

Default

Does this work for v4.x users?
__________________
X-Cart Gold 4.0.17
Reply With Quote
  #27  
Old 09-15-2005, 01:11 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

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

It's built into 4.x.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:15 PM.

   

 
X-Cart forums © 2001-2020