Hi Folks!
I'm looking for a Plugin that can show the top search-strings of the actual month. Has anybody an idea?
Plugin for top search?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Plugin for top search?
Hi!
Do you mean the google_last_query sidebar plugin?
Regards,
Garvin
Do you mean the google_last_query sidebar plugin?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yeah, but that plugin could then be used as a foundation for patching
Regards,
Garvin
Yeah, but that plugin could then be used as a foundation for patching
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
you are kidding me, and EI will be unhappy i spend 3 evenings with this boring plugin, and i don't understand where to jump into the code, thare are 2 possible code-points i wil see
1. generate_content_by_referrers_table
or
2. generate_content_by_vistors_table
which line is the right one?
A bigger problem is the select statement.
first i have to check wich year/month we have actually, then i have to select the correct data form my db, but the select "...where 'day' like '2008-08-%' will bring an empty answer from DB???
Whats wrong...???
When I found a way to select the data, then I will learn *fg* how to generate the right search-string in php, because i don't really know, how to generate the "2008-01-%" or "2008-03-%" to make the selct for the actual month of the year...
I guess, my sql-knowledge is poor, [/code]
1. generate_content_by_referrers_table
or
2. generate_content_by_vistors_table
which line is the right one?
A bigger problem is the select statement.
first i have to check wich year/month we have actually, then i have to select the correct data form my db, but the select "...where 'day' like '2008-08-%' will bring an empty answer from DB???
Whats wrong...???
When I found a way to select the data, then I will learn *fg* how to generate the right search-string in php, because i don't really know, how to generate the "2008-01-%" or "2008-03-%" to make the selct for the actual month of the year...
I guess, my sql-knowledge is poor, [/code]
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You're already on to it, just experment some more. After Easter I can tell you more if you haven't achieved it by then
Regards,
Garvin
You're already on to it, just experment some more. After Easter I can tell you more if you haven't achieved it by then
That should work. Execute your SQL query in phpMyAdmin and see if it works. You are not allowed to put quotes around "day", you do know that?select the correct data form my db, but the select "...where 'day' like '2008-08-%' will bring an empty answer from DB???
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/