DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:onlinenumber

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:onlinenumber [2018-05-28 19:52] – [Installation] Klap-inplugin:onlinenumber [2020-07-14 09:58] (current) – Compatible with hogfather hokkaidoperson
Line 6: Line 6:
 email      : dosankomali@yahoo.co.jp  email      : dosankomali@yahoo.co.jp 
 type       : Syntax type       : Syntax
-lastupdate : 2018-05-22 +lastupdate : 2019-11-19 
-compatible : Greebo, 2018-04-22+compatible : Greebo, Hogfather
 similar    : whoisonline similar    : whoisonline
-tags       : online, statistics+tags       : online, statistics, users
  
 downloadurl: https://github.com/hokkaidoperson/DokuWiki-OnlineNumber-Plugin/archive/master.zip downloadurl: https://github.com/hokkaidoperson/DokuWiki-OnlineNumber-Plugin/archive/master.zip
Line 34: Line 34:
 ===== Examples/Usage ===== ===== Examples/Usage =====
 :!: I changed partitions from “:” to “|”, because I thought that “|” is a less common character than “:”.\\  :!: I changed partitions from “:” to “|”, because I thought that “|” is a less common character than “:”.\\ 
-:!: Please add ''<nowiki>~~NOCACHE~~</nowiki>'' macro to the page you'll use this plugin, because the data will be changed in real time and the page shouldn't be cached.+:!: Please add ''<nowiki>~~NOCACHE~~</nowiki>'' macro to the page you'll use this plugin, because the data will be changed in real time and the page shouldn't be cached.\\ 
 +:!: Users will be regarded as online **ONLY WHEN this plugin is called** (for example, if you use this plugin only in the top page, users in the other pages won't be recognized.  Maybe, using this plugin in sidebars or templates is the best way.)
  
 The most simple example is: The most simple example is:
  
-  {{onlinenumber}} person(s) started to browse this website in last 10 minutes.+  {{onlinenumber}} person(s) started to browse this website in the last 10 minutes.
  
-Then exported like ''3 person(s) started to browse this website in last 10 minutes.'' (if there are 3 visitors online).+Then exported like ''3 person(s) started to browse this website in the last 10 minutes.'' (if there are 3 visitors online).
  
 Also, you can enter like this: Also, you can enter like this:
Line 49: Line 50:
  
 See the plugin in action [[https://jdwiki.hkdyukkuri.space/|here]] (sorry but this page is available only in Japanese). See the plugin in action [[https://jdwiki.hkdyukkuri.space/|here]] (sorry but this page is available only in Japanese).
 +
 +===== Error =====
 +If the plugin couldn't write the file, you'll see this message:
 +  An error on Onlinenumber plugin: "(The place of the file)" is not writable.
 +
 +This message can be localized (currently available in English and Japanese).
  
 ===== Syntax ===== ===== Syntax =====
Line 76: Line 83:
   * **2018-05-22**   * **2018-05-22**
     * Little change     * Little change
 +  * **2018-06-18**
 +    * Updating with some improvement.  Allowed the localization of the error message.
 +  * **2018-08-29**
 +    * Added a htaccess file
  
 === Known Bugs and Issues === === Known Bugs and Issues ===
plugin/onlinenumber.1527529941.txt.gz · Last modified: 2018-05-28 19:52 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