Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HitCount Plugin
I'm happy to see that Get-Simple is still alive!
So I finally found the time to update the hitcount plugin to re-enable the country mapping and fix some annoyances like Windows 8/10 not being recognized:

Hitcount version 2.2:
  • the visitor-to-country mapping now supports IPv6
  • the user-agent-to-operating-system mapping was updated to include Windows 8 and 10
  • the visit cookie now sets SameSite = Lax to be future proof
  • the referrer tab can now be opened even for thousands of referrers - the least important referrers are dropped to avoid memory overflow
  • the selected time period is now passed to other hitcount tabs
  • 404 (page not found) hits are ignored
  • included the portuguese translation of almirb - thank you!
The URL to the ip-to-country database csv must now be specified in gsconfig.php and the column numbers can be specified, if the csv uses another order:
PHP Code:
define('HITCOUNT_URL''https://www.ip2location.com/download/?token=MY_TOKEN&file=DB1LITEIPV6');
#define('HITCOUNT_IPFROM_COLUMN', 0);
#define('HITCOUNT_IPTO_COLUMN', 1);
#define('HITCOUNT_COUNTRYCODE_COLUMN', 2);
#define('HITCOUNT_COUNTRYNAME_COLUMN', 3); 
The IP columns must specify the IP in decimal format, the country code must be 2 letters.

If your hosting provider or your hosting plan does not support downloading files from other sites, you can download the file manually and place it in /data/other as ip2country.zip or ip2country.csv and then select "Download IP to country database" on the hitcount administration page.

BTW: the plugin only sets a 30 minute cookie with a visit number and country to be able to combine the hits of one visit. No IP addresses are stored on the server nor is anything transferred to another site, so I suppose that pobably no cookie popup is needed in the EU.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
HitCount Plugin - by mvlcek - 2011-02-18, 08:14:00
RE: HitCount Plugin - by trmash - 2013-02-27, 19:10:37
RE: HitCount Plugin - by mvlcek - 2013-02-28, 06:24:39
RE: HitCount Plugin - by bugmenot - 2013-03-06, 18:54:09
RE: HitCount Plugin - by steenih - 2013-03-17, 23:25:40
RE: HitCount Plugin - by Oleg06 - 2013-04-09, 03:31:37
RE: HitCount Plugin - by Oleg06 - 2013-04-09, 17:02:11
RE: HitCount Plugin - by mvlcek - 2013-04-09, 22:48:40
RE: HitCount Plugin - by Oleg06 - 2013-04-09, 23:44:59
RE: HitCount Plugin - by mvlcek - 2013-04-10, 04:35:05
RE: HitCount Plugin - by Oleg06 - 2013-04-10, 04:42:54
RE: HitCount Plugin - by Oleg06 - 2013-04-27, 19:00:14
RE: HitCount Plugin - by mvlcek - 2013-04-27, 19:17:18
RE: HitCount Plugin - by Oleg06 - 2013-04-27, 19:23:09
RE: HitCount Plugin - by Kida - 2013-04-28, 00:44:43
RE: HitCount Plugin - by mvlcek - 2013-04-28, 01:37:47
RE: HitCount Plugin - by Kida - 2013-04-28, 01:45:48
RE: HitCount Plugin - by Oleg06 - 2013-04-30, 22:36:40
RE: HitCount Plugin - by hd - 2013-05-04, 07:56:11
RE: HitCount Plugin - by Oleg06 - 2013-05-06, 06:22:48
RE: HitCount Plugin - by Timbow - 2013-05-23, 21:01:22
RE: HitCount Plugin - by mvlcek - 2013-05-23, 23:08:53
RE: HitCount Plugin - by Timbow - 2013-05-23, 23:42:19
RE: HitCount Plugin - by Oleg06 - 2013-05-28, 04:45:36
RE: HitCount Plugin - by Oleg06 - 2013-06-01, 01:03:53
RE: HitCount Plugin - by mvlcek - 2013-06-01, 04:53:32
RE: HitCount Plugin - by shawn_a - 2013-06-01, 04:17:41
RE: HitCount Plugin - by mvlcek - 2013-06-01, 04:50:19
RE: HitCount Plugin - by shawn_a - 2013-06-01, 04:24:30
RE: HitCount Plugin - by shawn_a - 2013-06-01, 04:45:20
RE: HitCount Plugin - by shawn_a - 2013-06-01, 04:53:49
RE: HitCount Plugin - by Oleg06 - 2013-06-01, 05:27:00
RE: HitCount Plugin - by mvlcek - 2013-06-01, 06:37:50
RE: HitCount Plugin - by evan70 - 2013-06-02, 02:26:01
RE: HitCount Plugin - by shawn_a - 2013-06-01, 06:57:27
RE: HitCount Plugin - by mvlcek - 2013-06-01, 07:52:46
RE: HitCount Plugin - by shawn_a - 2013-06-01, 09:49:38
RE: HitCount Plugin - by JoZ3 - 2013-06-15, 12:49:09
RE: HitCount Plugin - by mvlcek - 2013-06-15, 17:14:29
RE: HitCount Plugin - by mariucho - 2013-07-15, 21:13:56
RE: HitCount Plugin - by Oleg06 - 2013-08-01, 01:45:55
RE: HitCount Plugin - by mvlcek - 2013-08-03, 06:53:52
RE: HitCount Plugin - by evan70 - 2013-08-03, 19:31:59
RE: HitCount Plugin - by SilvioTO - 2013-09-06, 21:35:38
RE: HitCount Plugin - by nikrodk - 2013-12-06, 22:51:26
RE: HitCount Plugin - by 2m86 - 2013-12-15, 04:58:55
RE: HitCount Plugin - by 2m86 - 2013-12-20, 06:43:02
RE: HitCount Plugin - by phpman - 2014-04-27, 23:59:18
RE: HitCount Plugin - by mvlcek - 2014-05-03, 03:21:15
RE: HitCount Plugin - by phpman - 2014-05-04, 01:33:28
RE: HitCount Plugin - by Nobody - 2014-05-21, 17:39:26
RE: HitCount Plugin - by mvlcek - 2014-05-22, 02:44:28
RE: HitCount Plugin - by 0zz - 2014-06-05, 18:02:28
RE: HitCount Plugin - by rpetges - 2014-06-28, 19:59:50
RE: HitCount Plugin - by johncomposed - 2014-07-05, 18:02:02
RE: HitCount Plugin - by rpetges - 2014-07-05, 18:44:56
RE: HitCount Plugin - by Oleg06 - 2014-06-28, 20:04:33
RE: HitCount Plugin - by paul59 - 2014-08-28, 23:02:14
RE: HitCount Plugin - by Hypertexter - 2014-10-19, 19:33:35
RE: HitCount Plugin - by almirb - 2014-10-24, 23:19:47
RE: HitCount Plugin - by phpman - 2015-01-09, 01:14:20
RE: HitCount Plugin - by mvlcek - 2015-01-15, 06:18:56
RE: HitCount Plugin - by dryland404 - 2015-04-25, 03:13:53
RE: HitCount Plugin - by maco-nl - 2015-05-24, 00:03:40
RE: HitCount Plugin - by orbital - 2015-07-20, 21:45:56
RE: HitCount Plugin - by Shasaar - 2017-08-01, 18:54:09
hitcount and "DS-GVO" - by Belletage - 2018-05-20, 02:06:04
RE: HitCount Plugin - by Scorpio - 2019-01-05, 22:05:24
RE: HitCount Plugin - by Domi - 2020-04-30, 19:01:14
RE: HitCount Plugin - by mvlcek - 2020-11-30, 03:26:33
RE: HitCount Plugin - by 0zz - 2020-11-30, 23:59:49
RE: HitCount Plugin - by Felix - 2020-11-30, 05:08:08
RE: HitCount Plugin - by davetest - 2020-12-03, 21:13:00
RE: HitCount Plugin - by mvlcek - 2020-12-04, 01:37:33
RE: HitCount Plugin - by mvlcek - 2020-12-06, 19:28:45
RE: HitCount Plugin - by Bolkonskij - 2020-12-17, 21:52:40
RE: HitCount Plugin - by david.matthewson - 2021-08-11, 03:32:41
RE: HitCount Plugin - by david.matthewson - 2023-01-04, 21:16:52
RE: HitCount Plugin - by mvlcek - 2023-02-02, 02:39:47
RE: HitCount Plugin - by david.matthewson - 2023-02-02, 02:55:53
HitCount Plugin - by ccagle8 - 2011-02-18, 11:11:56
HitCount Plugin - by RobA - 2011-02-19, 06:25:44
HitCount Plugin - by yojoe - 2011-02-19, 20:07:52
HitCount Plugin - by mvlcek - 2011-02-19, 23:25:59
HitCount Plugin - by Ampersand - 2011-02-20, 02:18:55
HitCount Plugin - by mvlcek - 2011-02-20, 03:46:47
HitCount Plugin - by mvlcek - 2011-03-14, 05:14:56
HitCount Plugin - by yojoe - 2011-03-14, 13:36:19
HitCount Plugin - by mvlcek - 2011-03-14, 17:21:56
HitCount Plugin - by yojoe - 2011-03-15, 03:59:51
HitCount Plugin - by yojoe - 2011-03-16, 01:54:43
HitCount Plugin - by mvlcek - 2011-03-22, 06:46:43
HitCount Plugin - by mvlcek - 2011-03-22, 07:11:02
HitCount Plugin - by yojoe - 2011-03-22, 07:52:37
HitCount Plugin - by mvlcek - 2011-03-22, 08:09:00
HitCount Plugin - by dey - 2011-07-27, 23:49:13
HitCount Plugin - by lulo - 2011-07-28, 09:25:06
HitCount Plugin - by patriotmedia - 2011-08-09, 06:12:49
HitCount Plugin - by mikeh - 2011-08-09, 06:24:37
HitCount Plugin - by mvlcek - 2011-08-10, 01:03:44
HitCount Plugin - by mikeh - 2011-08-10, 04:52:50
HitCount Plugin - by blazejs - 2011-09-12, 23:01:10
HitCount Plugin - by mvlcek - 2011-09-13, 00:25:10
HitCount Plugin - by blazejs - 2011-09-13, 01:13:09
HitCount Plugin - by riche - 2011-09-16, 20:11:11
HitCount Plugin - by mvlcek - 2011-09-17, 01:57:43
HitCount Plugin - by riche - 2011-09-17, 02:18:36
HitCount Plugin - by mvlcek - 2011-09-17, 04:22:12
HitCount Plugin - by Oleg06 - 2011-09-17, 04:44:37
HitCount Plugin - by mvlcek - 2011-09-17, 05:37:41
HitCount Plugin - by Oleg06 - 2011-09-17, 06:28:41
HitCount Plugin - by mvlcek - 2011-09-17, 23:31:15
HitCount Plugin - by chefbyte - 2011-10-04, 07:48:55
HitCount Plugin - by Connie - 2011-10-04, 15:48:11
HitCount Plugin - by mvlcek - 2011-10-04, 16:01:53
HitCount Plugin - by Connie - 2011-10-04, 16:23:19
HitCount Plugin - by chefbyte - 2011-10-05, 00:43:57
HitCount Plugin - by mvlcek - 2011-10-09, 06:40:02
HitCount Plugin - by chefbyte - 2011-10-09, 06:47:05
HitCount Plugin - by chefbyte - 2011-10-10, 06:48:59
HitCount Plugin - by mvlcek - 2011-10-10, 06:57:51
HitCount Plugin - by chefbyte - 2011-10-10, 22:55:34
HitCount Plugin - by mvlcek - 2011-10-11, 00:05:22
HitCount Plugin - by mvlcek - 2011-10-11, 02:50:22
HitCount Plugin - by chefbyte - 2011-10-11, 04:17:15
HitCount Plugin - by mvlcek - 2011-10-11, 04:53:31
HitCount Plugin - by mvlcek - 2011-10-11, 05:15:19
HitCount Plugin - by chefbyte - 2011-10-11, 07:28:49
HitCount Plugin - by Angryboy - 2011-10-25, 18:48:49
HitCount Plugin - by mvlcek - 2011-10-25, 19:04:23
HitCount Plugin - by patriotmedia - 2011-11-01, 05:22:41
HitCount Plugin - by mvlcek - 2011-11-01, 05:42:25
HitCount Plugin - by patriotmedia - 2011-11-01, 07:45:38
HitCount Plugin - by mvlcek - 2011-11-01, 16:36:33
HitCount Plugin - by MickeyUK - 2011-11-08, 00:07:50
HitCount Plugin - by mvlcek - 2011-11-08, 01:00:45
HitCount Plugin - by MickeyUK - 2011-11-08, 01:06:12
HitCount Plugin - by m1k3y - 2011-11-24, 04:54:32
HitCount Plugin - by Oleg06 - 2011-11-24, 05:50:20
HitCount Plugin - by mvlcek - 2011-11-24, 06:16:07
HitCount Plugin - by mikeh - 2011-11-24, 07:35:16
HitCount Plugin - by mvlcek - 2011-11-24, 08:04:55
HitCount Plugin - by astherix - 2011-11-27, 01:11:07
HitCount Plugin - by mikeh - 2011-12-03, 07:18:15
HitCount Plugin - by mvlcek - 2011-12-03, 09:22:53
HitCount Plugin - by mikeh - 2011-12-04, 04:19:49
HitCount Plugin - by m1k3y - 2011-12-11, 07:00:33
HitCount Plugin - by mvlcek - 2011-12-11, 08:04:33
HitCount Plugin - by Oleg06 - 2011-12-11, 17:55:29
HitCount Plugin - by mvlcek - 2011-12-11, 18:54:08
HitCount Plugin - by m1k3y - 2011-12-11, 19:00:01
HitCount Plugin - by dey - 2011-12-30, 18:13:18
HitCount Plugin - by calmos - 2012-02-13, 00:49:57
HitCount Plugin - by mvlcek - 2012-02-13, 01:11:48
HitCount Plugin - by mvlcek - 2012-02-18, 18:25:27
HitCount Plugin - by Carlos - 2012-02-20, 04:09:48
HitCount Plugin - by mvlcek - 2012-02-20, 04:50:13
HitCount Plugin - by calmos - 2012-02-20, 05:32:30
HitCount Plugin - by Carlos - 2012-02-20, 05:41:01
HitCount Plugin - by mvlcek - 2012-02-20, 05:47:19
HitCount Plugin - by calmos - 2012-02-20, 20:10:02
HitCount Plugin - by mintika - 2012-03-01, 02:34:32
HitCount Plugin - by mvlcek - 2012-03-01, 02:57:46
HitCount Plugin - by mintika - 2012-03-01, 04:23:20
HitCount Plugin - by vendan - 2012-04-05, 10:15:44
HitCount Plugin - by yojoe - 2012-04-06, 22:13:44
HitCount Plugin - by mvlcek - 2012-04-06, 22:32:41
HitCount Plugin - by yojoe - 2012-04-06, 23:06:51
HitCount Plugin - by mvlcek - 2012-04-11, 07:32:19
HitCount Plugin - by yojoe - 2012-04-11, 08:33:07
HitCount Plugin - by mvlcek - 2012-04-12, 06:26:52
HitCount Plugin - by yojoe - 2012-04-17, 07:45:31
HitCount Plugin - by mvlcek - 2012-04-17, 16:23:25
HitCount Plugin - by sal - 2012-06-26, 01:24:30
HitCount Plugin - by mvlcek - 2012-06-26, 01:46:12
HitCount Plugin - by sal - 2012-06-26, 09:31:20
HitCount Plugin - by marinah - 2012-06-26, 20:46:12
HitCount Plugin - by Oleg06 - 2012-08-10, 01:07:57
HitCount Plugin - by mvlcek - 2012-08-10, 02:46:44
HitCount Plugin - by Oleg06 - 2012-08-10, 03:02:43
HitCount Plugin - by mvlcek - 2012-08-10, 03:11:32
HitCount Plugin - by Oleg06 - 2012-08-10, 03:48:45
HitCount Plugin - by mvlcek - 2012-08-10, 04:04:35
HitCount Plugin - by Oleg06 - 2012-08-10, 04:13:36
HitCount Plugin - by mvlcek - 2012-08-10, 17:29:51
HitCount Plugin - by Oleg06 - 2012-08-10, 18:13:08
HitCount Plugin - by michaellindahl - 2012-08-21, 03:58:55
HitCount Plugin - by mvlcek - 2012-08-21, 05:27:42
HitCount Plugin - by michaellindahl - 2012-08-21, 09:03:06
HitCount Plugin - by mvlcek - 2012-08-21, 15:52:04
HitCount Plugin - by michaellindahl - 2012-08-21, 16:24:38
HitCount Plugin - by mvlcek - 2012-08-21, 17:25:52
HitCount Plugin - by michaellindahl - 2012-08-22, 16:48:47
HitCount Plugin - by mvlcek - 2012-08-22, 19:15:51
HitCount Plugin - by michaellindahl - 2012-08-23, 13:57:22
HitCount Plugin - by sal - 2012-09-20, 13:21:51



Users browsing this thread: 2 Guest(s)