My client requested "View search queries" ability, recording all maden queries would be stupid - any sugestions ?
Or maybe you have some premade stuff that would fit this.
View search queries
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
- spamyboy
- Forum Contributor
- Posts: 266
- Joined: Sun Nov 06, 2005 11:29 am
- Location: Lithuania, vilnius
I wish I would knew what did he waned, probaly he waned to see most serachable titles (website is about lyrics), this plugin (as I think) should probaly show / start counting for e.g. only those queries that were entered atleast 10 time or it could basicly show last 20 search queries - have you guys never done such things before ?Jcart wrote:What exactly is "View search queries"
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Oh. And you want to record the frequency?
Assuming you have full access to the queries, you could do something along the lines of this for each word (database-wise):
I think if you give the frequency column a default value of 0, that should work.
Assuming you have full access to the queries, you could do something along the lines of this for each word (database-wise):
Code: Select all
REPLACE `queries` (`word`, `freq`) VALUES ('$word', `freq` + 1);- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
I would consider this a big problem... if you don't know what he wants there is a lack of a communication, and possibly a product he is not happy with.spamyboy wrote:I wish I would knew what did he waned, probaly he waned to see most serachable titles (website is about lyrics), this plugin (as I think) should probaly show / start counting for e.g. only those queries that were entered atleast 10 time or it could basicly show last 20 search queries - have you guys never done such things before ?Jcart wrote:What exactly is "View search queries"