Search history

Download plugins, language packs and stuff.

Search history

Postby FI-DD » Mon Aug 14, 2006 8:07 pm

This little plugin records the search words and shows them with a graphical bar in the admin panel.
Attachments
search-history.zip
Search history
(2.09 KiB) Downloaded 536 times
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby mosey » Mon Aug 14, 2006 9:03 pm

Would this be compatible with Strawberry as is? :)
Known as Mohican on Cutephp.com Forums
mosey
 
Posts: 45
Joined: Sun Apr 09, 2006 4:36 am

Postby FI-DD » Mon Aug 14, 2006 9:37 pm

User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby mosey » Mon Aug 14, 2006 11:12 pm

Thank you :D
Known as Mohican on Cutephp.com Forums
mosey
 
Posts: 45
Joined: Sun Apr 09, 2006 4:36 am

Postby scottdallas » Tue Aug 15, 2006 3:19 am

Fantastic plug in! Made my night. :P
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Boolean?

Postby Tom » Sat Aug 19, 2006 8:57 am

Would this be compatible with Boolean search as is?
Sorry my English is calamitous Razz
Tom
 
Posts: 13
Joined: Thu Dec 22, 2005 6:02 pm

Postby FI-DD » Sat Aug 19, 2006 9:14 am

I think yes, but it counts all words of a search as one word:



Boolean search: word1 word2 word3

History: "word1 word2 word3"



not like this:

Boolean search: word1 word2 word3

History: "word1"

History: "word2"

History: "word3"
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

And installation in boolean?

Postby Tom » Sun Aug 20, 2006 10:19 am

Code: Select all
2. Open search.php and find this:



add_filter('also-allow', 'search');



add above:



//Search history start...




add_filter in search.php is not :cry: [/quote]
Sorry my English is calamitous Razz
Tom
 
Posts: 13
Joined: Thu Dec 22, 2005 6:02 pm

Postby FI-DD » Sun Aug 20, 2006 3:15 pm

Yes, it is there. It's above this: function search($where){



Do you use an old version?
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

boolean_search-1.1

Postby Tom » Sun Aug 20, 2006 3:30 pm

Sorry my English is calamitous Razz
Tom
 
Posts: 13
Joined: Thu Dec 22, 2005 6:02 pm

Postby FI-DD » Fri Aug 25, 2006 5:33 pm

It's working with my boolean search:

http://english.cutenews.ru/forum/search ... -t456.html
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby sempro » Sat Oct 07, 2006 9:21 pm

I am getting it when I try to join in dir:



Warning: file(./data/search-history.txt) [function.file]: failed to open stream: No such file or directory in /opt/apache/htdocs/jppersonal/www/cnr/plugins/search-history.php on line 46



History is empty.

Warning: Invalid argument supplied for foreach() in /opt/apache/htdocs/jppersonal/www/cnr/plugins/search-history.php on line 66
sempro
 
Posts: 72
Joined: Thu Apr 27, 2006 12:36 pm

Postby FI-DD » Tue Oct 10, 2006 10:12 pm

Adjust the path(s) in search-history.php.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Saszoo » Mon Jan 15, 2007 12:06 am

Could this be developed further to show the history in a sort of a search cloud?

Most searched word etc...
User avatar
Saszoo
 
Posts: 414
Joined: Wed Jun 07, 2006 10:34 pm
Location: Norway

this plugin don't work 100%

Postby RAMMSTEIN12 » Sat May 12, 2007 3:49 pm

says tha need ../data/search-history.txt andat the installation file don't say nothing about that.



also don't work with boolean search and with the multyword search..says::: Wrong datatype for second argument in





The error is at this line

Code: Select all
if(in_array($search, $all_words)){

      plus_one();






need update.
MAKE CUTENEWS BETTER



my cutenews site: http://www.Down66.com
User avatar
RAMMSTEIN12
 
Posts: 29
Joined: Sun May 06, 2007 6:59 pm
Location: Greece

Next

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron