Welcome to Geeklog Sunday, October 24 2021 @ 02:44 pm EDT

Geeklog Forums

Updated Visitor Stats Block


Status: offline

squatty

Forum User
Full Member
Registered: 21/01/02
Posts: 269
I've made a few slight updates to the original Visitor Stats block developed by Mr. GxBlock of GxBlock.com.

You can download the updated block here.

Updates includes the following:

1) Updated the block to use the $_TABLES['...'] construct located in the lib-database.php.

2) Updated monthly roll over logic. There was a small bug that prevented the monthly stats from rolling over into the next month.

3) Added functionality to collect and store browser and platform information for each user. This includes user agent, browser type/version, and platform specific details. This information is presented in a "detailed" view. The detailed view is modeled after the poll results page and is accessible via clicking the "More Details" link at the bottom of the block. I also added an additional system icon which links to a page displaying the system data for an individual user. Of course, there is also a flag to toggle display on/off. Thanks for the idea Euan!

4) Added integration to the IP plot block/hack created by Blaine. Again, this item is configurable.

One limitation of the block is that data is ONLY stored for the given day. Another limitation is the fact that the block must be accessible to ALL users for it to accurately collect data.


In a world without walls and fences, who needs Windows and Gates?
 Quote

All times are EDT. The time is now 02:44 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content