Hello,
you may try the admin-tool "searchtools" from here
http://www.websitebaker2.org/forum/index.php/topic,10133.msg59499.html#msg59499It collects the search strings from the internal search, and from external searches (Google&Co. via query-string), too.
But it was intended mainly for making tagclouds (and as user-tracker to track down spam), but definitely not as counter.
The display of searchstrings in the admin-tool is faulty -- do not use them.
If used only for the internal search, there is no need to alter core-files, just install the module, and perform some searches.
Then create a page from type code and enter this:
if(file_exists(WB_PATH.'/modules/searchtools/tagcloud/tagcloud.php')) {
require_once(WB_PATH.'/modules/searchtools/tagcloud/tagcloud.php');
$tags = fetch_tagcloud('dist', 100);
display_tagcloud($tags, 'Most searched words');
}
There is a comprehensive online-help to learn more about this (in german only).
Development of this module is stalled since October 2008. But it's scheduled to continue in April 2009.
thorn.