DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:searchstats

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:searchstats [2018-06-05 23:10] – [Download and Installation] Klap-inplugin:searchstats [2024-02-08 08:50] (current) LMS23
Line 7: Line 7:
 type       : action, admin, helper type       : action, admin, helper
 lastupdate : 2011-06-29 lastupdate : 2011-06-29
-compatible : Anteater, Rincewind, Binky, Ponder Stibbons+compatible : Anteater, Rincewind, Binky, Ponder Stibbons, Greebo, Hogfather, Igor, Jack Jackrum, !Kaos
 depends    :  depends    : 
 conflicts  : docsearch conflicts  : docsearch
 similar    :  similar    : 
-tags       : search,statistics,!broken+tags       : search,statistics
  
 sourcerepo : https://github.com/Imhodad/dokuwiki-plugin-searchstats/ sourcerepo : https://github.com/Imhodad/dokuwiki-plugin-searchstats/
 +bugtracker : https://github.com/Imhodad/dokuwiki-plugin-searchstats/issues
 donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=XKGFMNXAD9ANQ&lc=AT&item_name=Dokuwiki%20Searchstats%20Plugin&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=XKGFMNXAD9ANQ&lc=AT&item_name=Dokuwiki%20Searchstats%20Plugin&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
 downloadurl: https://github.com/Imhodad/dokuwiki-plugin-searchstats/archive/master.zip downloadurl: https://github.com/Imhodad/dokuwiki-plugin-searchstats/archive/master.zip
 ---- ----
 +
 +FIXME **Plugin is no longer maintained by the creator => someone has to take over** FIXME
  
 ===== Download and Installation ===== ===== Download and Installation =====
 Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-  * <del>[[https://dl.dropboxusercontent.com/u/5373850/Projekte/searchstats.zip|Searchstats Plugin]]</del> 
 ===== Requirements ===== ===== Requirements =====
-<del>PHP has to be configured with --enable-bcmath (http://www.php.net/manual/en/bc.installation.php). Most Webhosting Provider enable this option by default.</del>+No special requirements.
  
-No special requirements. 
 ===== Syntax and Usage ===== ===== Syntax and Usage =====
 Nothing special to do for you. The plugin stores search keywords automatically and displays stats in the admin backend. The bar chart is displayed by using the Google Chart API. Nothing special to do for you. The plugin stores search keywords automatically and displays stats in the admin backend. The bar chart is displayed by using the Google Chart API.
  
 ===== Todo ===== ===== Todo =====
-<del>I want to contact the guys from [[plugin:cloud|Cloud Plugin]] if they could use my data to display a nice Search Keyword Cloud.</del> 
  
-<del>I just contacted them and there will be an update for the Cloud Plugin and for my Searchstats Plugin :)</del>+  * Check conflict with the docsearch Plugin
  
-Update took place on both sidesEnjoy!+===== Updates ===== 
 +{{rss>http://github.com/Imhodad/dokuwiki-plugin-searchstats/commits/master.atom date}}
  
-  * <del>Check installation by using plugin manager.</del> 
-  * Check conflict with the docsearch Plugin 
  
-<del>Fix: PHP Warning: Missing argument 2 for ft_queryParser()</del> 
-===== Updates ===== 
-2010-09-03 10:45am: Added support for cloud and other plugins. If you want to use cloud and searchstats to add a nice "search cloud" please update!\\ 
-2011-01-08 09:00am: Fixed the "plugin-manager issue". Plugin may now be installed by using the plugin manager.\\ 
-2011-06-29 10:00pm: Fixed the "PHP Warning: Missing argument 2 for ft_queryParser()" error in Rincewind Installations. Removed bc-math requirement.\\ 
 ===== Issues ===== ===== Issues =====
 +Please report bugs and issues at https://github.com/Imhodad/dokuwiki-plugin-searchstats/issues
 +
 There is a conflict with the docsearch Plugin. When docsearch AND searchstats are both installed your search keywords will get counted double. As you know that, you could halve the results of searchstats or wait for an update when I find a bugfix for that. There is a conflict with the docsearch Plugin. When docsearch AND searchstats are both installed your search keywords will get counted double. As you know that, you could halve the results of searchstats or wait for an update when I find a bugfix for that.
  
-Fixed: <del>Searchstats conflicts with wikistatistics. It's currently not recommended to install both in one dokuwiki installation. I will try finding a bugfix as soon as possible.</del>+
 ===== Bugs? ===== ===== Bugs? =====
  
Line 68: Line 64:
 > update : a search is counted twice when the cache is empty, so every new search start at 2, then increment one by one. If I delete the cache, it's counted twice one more time. - Matthieu 08.01.2011 > update : a search is counted twice when the cache is empty, so every new search start at 2, then increment one by one. If I delete the cache, it's counted twice one more time. - Matthieu 08.01.2011
  
----- 
- 
-The searchstats statistics page fully load?! When I manually delete the index directory ''data/index/searchstats'' the page is loads ok -- until I do the first search. I installed searchstat 2010-09-15 manually because of the above issue with the capital S. Btw. the cloud plugin lists the searches correctly. Any ideas? --- dan 13.10.2010 
-> Might be due to "PHP has to be configured with –enable-bcmath", see above --- dan 24.03.2011 
->> Just for info: From today, -enable-bcmath isn't necessary any more --- Imho 29.06.2011 
----- 
- 
-Looks like something has changed in the search mechanism in Rincewind. I get the following error in a clean install with only searchstats installed: 
  
-  PHP Warning: Missing argument 2 for ft_queryParser(),  
-  called in F:\Dokuwiki-Test\lib\plugins\searchstats\action.php on line 46  
-  and defined in F:\Dokuwiki-Test\inc\fulltext.php on line 495 
-- Andy 10.05.2011 
  
->Indeed, I have the same bug here. The plugin still uses the older version of the function ft_queryParser(), which only needed 1 argument back then. Until the proper authorities fix this, here's the trick that worked for me. In lib/plugins/searchstats/action.php, change the following line : 
-> 
->  $q = ft_queryParser($event->data['query']); 
-> 
->to : 
-> 
->  $q = ft_queryParser(idx_get_indexer(), $event->data['query']); 
-> 
->That should do it. 
-> 
->- [[s.bigonneau@moka-works.com|Sylvain Bigonneau]] 27/05/2011 
->>I can confirm that this fix worked for me as well. I'm running the latest (Rincewind) release with the latest patches applied. 
->>- Rick Farris 22/06/2011 
->> 
->>>Hi, thanks Sylvain for posting the fix here. I'm gonna provide a fixed version of searchstats in the next days. 
->>>- Imho 28.6.2011 
->>>>Hi, I just updated the plugin with the fix. 
->>>>- Imho 29.6.2011 
 ---- ----
 On "Binky", after clean install, entering the plugin's page in Admin area first time (ie.: there are NO search words registered yet) there are a lot PHP error messages appear till I use the search function at least once. On "Binky", after clean install, entering the plugin's page in Admin area first time (ie.: there are NO search words registered yet) there are a lot PHP error messages appear till I use the search function at least once.
plugin/searchstats.1528233010.txt.gz · Last modified: 2018-06-05 23:10 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki