DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authorstats

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
Next revisionBoth sides next revision
plugin:authorstats [2014-10-06 23:00] – [Discussion] 129.132.210.84plugin:authorstats [2020-09-20 13:22] – lastupdate Aleksandr
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: Plugin that outputs statistics about the wiki's authors. +description: Plugin that outputs statistics about the wiki's authors 
-author     : sophron, Constantinos Xanthopoulos +author     : Constantinos (ConX) Xanthopoulos 
-email      : sophron@latthi.com, conx@xanthopoulos.info+email      : conx@xanthopoulos.info
 type       : syntax type       : syntax
-lastupdate : 2014-08-30 +lastupdate : 2020-03-09 
-compatible : 2010-11-07, Binky, Rincewind, Angua, Adora Belle, Weatherwax, Ponder Stibbons+compatible : 2010-11-07, Binky, Rincewind, Angua, Adora Belle, Weatherwax, Ponder Stibbons, "Detritus", "Elenor Of Tsort", "Frusterick Manners", Greebo, Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
Line 21: Line 21:
 ===== Description ===== ===== Description =====
  
-Plugin that outputs metrics about the wiki's authors. After generating the stats from the admin panel, simply save a page including the code ''<AUTHORSTATS #>'' (read the Syntax section) to generate a table containing the desired statistics.+Plugin that outputs metrics about the wiki's authors. Simply save a page including the code ''<AUTHORSTATS #>'' (read the Syntax section) to generate a table containing the desired statistics.
  
 ===== Installation ===== ===== Installation =====
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. 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.
  
 +**NOTE:** This plugin Requires PHP 5.3+ due using namespaces
 ===== Example of Usage ===== ===== Example of Usage =====
  
-** Saving a page including in the code "<AUTHORSTATS>and "<AUTHORSTATS 16>".** \\ This will submit two tables. One with metrics since the beginning of the wiki and one with metrics for the last 16 months.+** Saving a page including in the code ''<AUTHORSTATS>'' and ''<AUTHORSTATS 16>''.** \\ This will submit two tables. One with metrics since the beginning of the wiki and one with metrics for the last 16 months.
  
 {{http://i.imgur.com/Em9wf.png?nolink&450}} {{http://i.imgur.com/Em9wf.png?nolink&450}}
Line 66: Line 67:
 ===== Acknowledgements ===== ===== Acknowledgements =====
  
-  * [[https://github.com/pacbard/gChartPhp|GChart PHP wraper project]]+  * [[https://github.com/sophron George Chatzisofroniou (aka. sophron)]] who is the original author!!!
   * Gerrit Uitslag (aka. Klap-in) for his bug-reports and feedback.   * Gerrit Uitslag (aka. Klap-in) for his bug-reports and feedback.
  
Line 72: Line 73:
  
 To inform us about a bug or even send me a patch please use GitHub's Issue tracking interface. To inform us about a bug or even send me a patch please use GitHub's Issue tracking interface.
 +
 +==== Don't display old author and contributions ====
 +If your wiki is old, authorstats may not show all contributions. In this case, delete ''authorstats.json'' and recreate with this content :
 +
 +<code>
 +{
 +    "authors": {
 +    },
 +    "lastchange": 1262381936
 +}
 +</code>
 +Change ''1262381936'' by the timestamp of the creation of the wiki. 
  
 ===== Discussion ===== ===== Discussion =====
  
-  * Unordered List ItemPlease anybody help! How can it be made the name of an auther to be a link to his userhomepage?+  * Please anybody help! How can it be made the name of an auther to be a link to his userhomepage? 
 +  * how can i display the fullname instead of the loginname of authers? thanks 
 +  * feature requests: 
 + 
 +**1. SORTABLE**  
 +It's works correctly you need install [[plugin:sortablejs|sortablejs]] plugin; 
 + 
 +<code> 
 +<sortable  1=alpha 2=numeric  3=numeric 4=numeric 5=numeric 6=numeric 7=numeric> 
 +<AUTHORSTATS>  
 +</sortable> 
 +</code> 
 +         
 +**2. <AUTHORSTATS YEARGRAPH #y> to display yeargraph of year #yr**
plugin/authorstats.txt · Last modified: 2023-08-22 22:26 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