Tags:
create new tag
, view all tags

MostPopularPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on MostPopularPlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback on MostPopularPlugin

-- KoenMartens - 20 Jun 2006

Thank you very much for sharing this Plugin with the TWikiCommunity! And thanks for documenting the PluginBenchmarks.

-- PeterThoeny - 27 Jun 2006

Hi, for the default list I guess it would be better to include the $web also in the topic link

my $format = $params->{format} || "| \$web | \$web\.\$topic | \$views |";

Tom

-- ThomasFreudenberg - 09 Jul 2006

Agreed

-- KoenMartens - 12 Aug 2006

Nice plugin. Though main problem with twiki stats is that it also inculdes "admin" kind of topics like WebRss and Topic Creator etc. How can we remove them!

-- GauravSharma - 03 Oct 2006

Great plugin. However common topics like WebHome and WebLeftBar always end up dominating the top.

-- JanneKario - 08 Mar 2007

When I was looking through the code I found that there is an (undocumented) parameter excludetopic which let's you exclude topics. It takes a comma-separated list, but be careful not to use space after the commas (it would be good to modify the code to remove spaces from the list).

-- StephanMatthiesen - 29 Sep 2007

Inside Statistics.pm, shouldn't $tmpDir check for $TWiki::cfg{TempfileDir} var, instead (or at least before) $ENV{'TEMP'}?

-- GuilhermeGarnier - 18 Jan 2008

When I run statistics-all (on TWiki 4.2) I get this error:

RCS: failed to create MostPopularPlugin work area: Permission denied
although I can see that the dir working/work_areas/MostPopularPlugin has been created.

-- ArthurClemens - 06 Feb 2008

If I'm not mistaken the plugin lets a lot temp files after its execution, which tend to fill the disk. I'd strongly recommend to fix that with something like :

--- Statistics.pm.orig   2008-04-16 15:24:05.000000000 +0200
+++ Statistics.pm   2008-04-16 15:27:20.000000000 +0200
@@ -150,6 +150,10 @@
        $totalWebViews{$web}+=$viewRef->{$web}->{$topic};
           }
         }
+   close $TMPFILE;             # Shouldn't be necessary with 'my'
+       unlink $tmpFilename;# FIXME: works on Windows???  Unlink before
+       # usage to ensure deleted on crash?
+
       }
     }

-- OlivierBerger - 16 Apr 2008

Hi. I can't get statistics-all to run, TWiki 4.0.5, Red Hat 7.2. It generates a load of twiki-stats... files in /tmp, but nothing appears in the twiki/pub/_work_areas/MostPopularPlugin

Any ideas how best to debug this - there's nothing in any of the TWiki or apache error or debug logs.

Thanks for any help.

-- SteveJonesST - 09 May 2008

The author stopped maintaining this plugin. Anyone interested in picking it up?

-- PeterThoeny - 16 Jul 2008

 
Topic revision: r12 - 2008-07-16 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.