DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:accscounter

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
plugin:accscounter [2018-08-29 17:28]
hokkaidoperson minor update
plugin:accscounter [2018-10-30 15:41] (current)
hokkaidoperson Big update!
Line 6: Line 6:
 email      : dosankomali@yahoo.co.jp ​ email      : dosankomali@yahoo.co.jp ​
 type       : Syntax type       : Syntax
-lastupdate : 2018-08-29+lastupdate : 2018-10-30
 compatible : Greebo, 2018-04-22 compatible : Greebo, 2018-04-22
 similar ​   : top similar ​   : top
Line 51: Line 51:
  
 ==== Popular Pages ==== ==== Popular Pages ====
-:!: The pages which the access counter plugin is active will be listed. ​ If you want the popular plugin check all pages, you will put the counter plugin in sidebars or templates.+:!: The pages where the access counter plugin is active will be listed. ​ If you want the popular plugin check all pages, you will put the counter plugin in sidebars or templates.
  
 The most simple example is: The most simple example is:
Line 90: Line 90:
 ^Option^Description^Value Type^Default Value^ ^Option^Description^Value Type^Default Value^
 |''​timezone''​|Timezone used to judge changing of the day (if empty, the timezone set to the server will be used.  You can specify one of IDs in [[http://​php.net/​manual/​en/​timezones.php|List of Supported Timezones"​ at PHP Manual]]|string|((empty))| |''​timezone''​|Timezone used to judge changing of the day (if empty, the timezone set to the server will be used.  You can specify one of IDs in [[http://​php.net/​manual/​en/​timezones.php|List of Supported Timezones"​ at PHP Manual]]|string|((empty))|
 +|''​excludeMgAndSp''​|Don'​t count managers and superusers? (see config "​[[config:​manager]]"​ and "​[[config:​superuser]]|pull-down choice from ''​0''​ (Count both), ''​sp''​ (Don't count superusers),​ or ''​mg''​ (Don't count managers (including superusers))|''​0''​|
 +|''​exclusionList''​|IPs and remote hosts that will be excluded\\ The plugin don't count users with these IPs and remote hosts. ​ This list will be useful if your website has many accesses by robot(s) from specified IP(s) and remote host(s).\\ The plugin gets remote hosts by IPs reverse lookup (gethostbyaddr).\\ Enter one IP or remote host per line.\\ Wildcards available:​\\ ? = one character (an alphanumeric character, a dot "​.",​ or a hyphen "​-"​)\\ * = one or more characters (alphanumeric characters, dots "​.",​ or hyphens "​-"​)\\ ! = one character (a numeral)\\ ~ = one or more characters (numerals)\\ \\ e.g.: "​123.456.???​.123"​ -> 123.456.789.123,​ etc. (123.456.78.123 won't be excluded)\\ e.g.: "​*.example.com"​ -> 123.456.789.123.example.com,​ 1-2-3-4.rooter.example.com,​ etc.|textarea|((empty))|
 +|''​usrExclusion''​|Users or user groups that will be excluded\\ The plugin don't count these users and users in these groups.\\ Enter users and user groups separated by comma.|string|((empty))|
 +|''​cntrExclusion''​|Countries that will be exluded\\ The plugin don't count users from these countries. ​ This list will be useful if your website has many accesses by robot(s) from specified country(ies).\\ The plugin gets country codes by a DNS service of "​cc.wariate.jp"​ ([[http://​cc.wariate.jp/​|Details in Japanese]]).\\ Enter two-character country codes(ISO 3166-1 alpha-2) separated by comma.|string|((empty))|
 +|''​reverseLookupFailed''​|Exclude from the counter when the reverse lookup (IPs to remote hosts) failed (IPs of robots tend to reject the reverse lookup)|boolean|''​0''​|
 +|''​reverseLookupException''​|IPs which the plugin doesn'​t apply to the option "​reverseLookupFailed"​\\ Enter one IP per line.\\ Wildcards available:​\\ ? = one character\\ * = one or more characters\\ \\ e.g.: "​123.456.???​.123"​ -> 123.456.789.123,​ etc. (123.456.78.123 won't be excluded)\\ e.g.: "​123.*.789.123"​ -> 123.456.789.123,​ 123.9.789.123,​ etc.|textarea|((empty))|
 +|''​reverseLookupCntrException''​|Countries which the plugin doesn'​t apply to the option "​reverseLookupFailed"​\\ The plugin gets country codes by a DNS service of "​cc.wariate.jp"​ ([[http://​cc.wariate.jp/​|Details in Japanese]]).\\ Enter two-character country codes(ISO 3166-1 alpha-2) separated by comma.|string|((empty))|
 +|''​saveLog''​|Save the log of IPs, the date and the time when visitors access this wiki?\\ The log will be recorded for every page.  This option will be useful when you decide which IPs, remote hosts, and countries to exclude from the counter.\\ The log files will be saved in ''/​(path of your DokuWiki)/​lib/​plugins/​accscounter/​log/​iplogs/''​. ​ Pick up and delete the log files if necessary.|pull-down choice from ''​0''​ (Don't save), ''​ppage''​ (Save (Don't make files for every date)), or ''​pdate''​ (Save (Make files for every date))|''​0''​|
  
 ===== Localization ===== ===== Localization =====
Line 108: Line 116:
   * **2018-08-29**   * **2018-08-29**
     * Added a htaccess file     * Added a htaccess file
 +  * **2018-10-30**
 +    * Big update! ​ Added options of black lists and the log saving system.
  
 === Known Bugs and Issues === === Known Bugs and Issues ===
Line 124: Line 134:
  
 ===== Discussion ===== ===== Discussion =====
- 
  
  
plugin/accscounter.txt ยท Last modified: 2018-10-30 15:41 by hokkaidoperson