Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


tcnet last won the day on August 22

tcnet had the most liked content!

Community Reputation

18 Good

About tcnet

  • Rank
    Jr. Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Today I've tested VSCode. It's MBS! M stands for Mega. Anyway, project is on GitHub now. But it's probably the last time. For updates and new features check my blog. Thank you!
  2. Version 1.0.1 doesn't have namespace. I couldn't reproduce it without namespace. But I can reproduce it with namespace. I've made changes now.
  3. I'm pretty sure that I can live without GIT. I've been doing very well without GIT for 20 years now and I won't change that. I usually work with VC++, Java and Pascal. PHP for me is just a kind of hobby.
  4. WAIT! $dt = new \ProcessWire\datetime(); This is NOT my code!!! Line 532 is: $dt = new DateTime();
  5. I'll try it next week. Only for this module. Sure!
  6. For some reason, GitHub/git will never be an option for me. Don't laugh, but for PHP I only use a text editor with highlighting. I'll try VSCode next week. Thank you for your explanation.
  7. I don't use any versions controlling. I just created an account on GitHub a few hours ago. See: https://github.com/techcnet/ProcessPageViewStat But file oploading with browser don't work in GitHub. It's not a problem with the browser. I tried Chrome and Firefox. It's a problem with the upload on GitHub. I also tried GitLab. When I click the + to create a new project I get a white blank page. My browsers are ok. Seems to me they don't want any users.
  8. Sorry. I tried it. But cannot upload on GitHub.
  9. As far as I know, FieldtypeDatetime is installed by default in ProcessWire. Did you uninstalled FieldtypeDatetime or deleted the "datetime" field type?
  10. Usually I don't work with GitHub. But if you insist and as soon as I've enough time, I'll upload it to GitHub, GitLab or something similar.
  11. Not on github. Sorry. I posted it already in the modules directory at the same time like the first post here. Here is the link: https://modules.processwire.com/modules/process-page-view-stat/
  12. Hello and Thank You! Of course I've some screenshots. I wasn't sure if these screenshots were appropriate to show here. I've made IP addresses unrecognizable.
  13. PageViewStatistic for ProcessWire is a module to log page visits of the CMS. The records including some basic information like IP-address, browser, operating system, requested page and originate page. Please note that this module doesn't claim to be the best or most accurate. Advantages One of the biggest advantage is that this module doesn't require any external service like Google Analytics or similar. You don't have to modify your templates either. There is also no JavaScript or image required. Disadvantages There is only one disadvantage. This module doesn't record visits if the browser loads the page from its browser cache. To prevent the browser from loading the page from its cache, add the following meta tags to the header of your page: <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="0" /> How to use The records can be accessed via the Setup-menu of the CMS backend. The first dropdown control changes the view mode. There are 4 different view modes. View mode "Day" shows all visits of the selected day individually with IP-address, browser, operating system, requested page and originate page. Click the update button to see new added records. View mode "Month" shows the total of all visitors per day from the first to the last day of the selected month. View mode "Year" shows the total of all visitors per month from the first to the last month of the selected year. View mode "Total" shows the total of all visitors per year for all recorded years. Please note that multiple visits from the same IP address within the selected period are counted as a single visitor. Settings You can access the module settings by clicking the Configuration button at the bottom of the records page. The settings page is also available in the menu: Modules->Configure->ProcessPageViewStat. IP2Location This module uses the IP2Location database from: http://www.ip2location.com. This database is required to obtain the country from the IP address. IP2Location updates this database at the begin of every month. The settings of ProcessPageViewStat offers the ability to automatically download the database monthly. Please note, that automatically download will not work if your webspace doesn't allow allow_url_fopen. Dragscroll This module uses DragScroll. A JavaScript available from: http://github.com/asvd/dragscroll. Dragscroll adds the ability in view mode "Day" to drag the records horizontally with the mouse pointer. parseUserAgentStringClass This module uses the PHP class parseUserAgentStringClass available from: http://www.toms-world.org/blog/parseuseragentstring/. This class is required to filter out the browser type and operating system from the server request. Special Feature PageViewStatistic for ProcessWire can record the time a visitor viewed the page. This feature is deactivated by default. To activate open the module configuration page and activate "Record view time". If activated you will find a new column "S." in the records which means the time of view in seconds. With every page request, a Javascript code is inserted directly after the <body> tag. Every time the visitor switches to another tab or closes the tab, this script reports the number of seconds the tab was visible. The initial page request is recorded only as a hyphen (-).
  • Create New...