Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Top Searches for today GL 3

Quote Reply
Top Searches for today GL 3
Hi

Is there any new global for GL 3 to display TOP X keywords for today?

I know that search-log tables has changed (also fields in it).

Regards.

UnReal Network
Quote Reply
Re: [deadroot] Top Searches for today GL 3 In reply to
The advanced search logger should still show that.

I have it running on some 2.x template 3.0 software sites.

It installs it's own tables, and tracks daily/etc keywords.

I needed to use two tables to track all the options. Daily, most often, most recently, etc.

The data is recorded by a search hook, just like the previous logger.

You simply insert the data by calling a global.

This was a free plugin, so if the most current copy isn't available, I'll have andy update it today or tomorrow.

remind me, if it doesn't happen. I have a lot going on.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Top Searches for today GL 3 In reply to
So, Search Logger will still work with GL 3?

Didn't try it because GL 3 automatically uninstall it.

Regards.

UnReal Network
Quote Reply
Re: [pugdog] Top Searches for today GL 3 In reply to
Well, I'm just reminding you about this plugin :)

Regards.

UnReal Network
Quote Reply
Re: [deadroot] Top Searches for today GL 3 In reply to
Hi,
I'll try to get it sorted out today.
bump this up again if you don't see anything by tomorrow.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Top Searches for today GL 3 In reply to
Working on this now. The changes in links created a diversion.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Top Searches for today GL 3 In reply to
Ok. Looking forward to see it soon.

Regards.

UnReal Network
Quote Reply
Re: [deadroot] Top Searches for today GL 3 In reply to
Posted it to the plugins forum. Andy can add it to the appropriate download areas when he gets to it, if there are not problems.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Top Searches for today GL 3 In reply to
Ok. I've downloaded it from Plugin forum as still haven't been add to download area.

Question I have is why you use char(25) for TERM in your tables while build-in logger uses varchar(255)?
This cuts some terms in my log table (longer then 25 chars).

Also, do you plan to make it CSS compatible for displaying top searches?

Regards.

UnReal Network
Quote Reply
Re: [pugdog] Top Searches for today GL 3 In reply to
I've also changed this in log_query sub:

Code:
$query = substr ($query, 0, 24);

to

Code:
$query = substr ($query, 0, 254);

Do I need to change something else to log/display queries longer then 25 chars?

Regards.

UnReal Network
Quote Reply
Re: [deadroot] Top Searches for today GL 3 In reply to
Hi,

I think the length of the term was based on the original search logger. It didn't log beyond 24. Changing the length in the table shouldn't be an issue. I can fix it in the plugin.

If you change the code, you also need to edit the table in the properties editor, and resync it.

If you click on the edit-properties link, and then hover over resync, you can see the url for a table like category, or links. Just copy that URL into the browser window, and change the table name to Search_Logs and Search_Logs_Daily *AFTER* you edit the column width in MySQLMan. That will bring the .def files up to date.

Reinstalling a new version of the plugin won't change it, since it does not drop the log tables on uninstall, so logs are not accidentally lost.

I'll look at returning the list in a top_x_links_loop format, for .css. I need to look at the css to see how best to do it.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Top Searches for today GL 3 In reply to
Ok. I've resync .def files.

About top X links, I would like to have two column list with this data (done with CSS/XHTML):

Code:
TERM HIT_COUNT
-------------------------
term1 50
term2 30
term3 15
-------------------------


ADDED: I've managed to do this without table. Just with DIV and SPAN.

Regards.

UnReal Network

Last edited by:

deadroot: May 3, 2005, 2:18 PM
Quote Reply
Re: [pugdog] Top Searches for today GL 3 In reply to
Also, how about making span pages for adminCP when viewing log tables?
(like buid-in logger have)

Regards.

UnReal Network