View Full Version : search logs?
AsleepATheWheel
08-Jul-2004, 10:09 PM
Hi,
Is there any way to save the searches that people make when they search on your site with Actinic? A search log perhaps?
Cheers for any help,
Paul
pinbrook
08-Jul-2004, 11:13 PM
See the knowledge base
http://knowledge.actinic.com/users/kadmin/acatalog/v6_Script_Changes.html#a857
AsleepATheWheel
09-Jul-2004, 09:25 AM
Cheers, thought I'd searched that properly..........
AsleepATheWheel
09-Jul-2004, 09:50 AM
Hi,
Just thought I'd post a followup to this as I think I've found an error. In the Knowlage base it says the following:
- Edit SearchScript.pl with a text editor such as Notepad.
- Search for 'sub SearchText'.
- Scroll down to the line…
$$psSearchString =~ s/s+/ /go;
- add the following after the above line…
open (LOGFILE, ">>" . $sPath . "search.log");
print LOGFILE $$psSearchString, "
";
close LOGFILE;
- Save the file and update the site.
However there is no such line as:
$$psSearchString =~ s/s+/ /go;
There is however a line that says:
$$psSearchString =~ s/\s+/ /go;
Is this the line that is being refered to?
Cheers,
Paul
AsleepATheWheel
09-Jul-2004, 10:33 AM
Hi again (is there anyway of modding your own posts on this forum?)
Also, in the knowlage base, although this is meant to be a solution for v6 it actually only works for v5, the SearchScript.pl for v6 is quite different to the one described in the knowlage base.
Paul
Added:
For anyone else that has this problem I've just found the solution to v6 in a different place on the same page.
cdicken
09-Jul-2004, 03:00 PM
Thanks for the heads up here - I'll update the knowledge base.
With regards to editing - you should be able to edit posts up to 10 mins after you have posted.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.