1 (edited by Koos 2008-08-04 17:30)

Topic: User Stats 1.0

##
##        Mod title:  User Stats
##
##      Mod version:  1.0
##   Works on PunBB:  1.2.*
##     Release date:  2008-07-16
##           Author:  Koos (pampoen10@yahoo.com)
##
##      Description:  Adds functionality for tracking visitors
##                    to your forum.
##
##   Affected files:  index.php
##                    viewtopic.php
##                                     
##       Affects DB:  New table:
##                       'userstats'
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

I have made this mod a while ago to track visitors to my forum - and thought I should share it.

Features:
* Displays a simple log of visitors to your forum, showing the following details: Date, Username, Userip, Browser, Operating System, Country
* Can set max number of entries, each time replacing the oldest entry when the max is reached. This is especially an important feature for me, since I only wanted to see the list of the most recent visitors.
* The visits of registered users are highlighted
* The search terms the visitor used to find the tracked page is shown in brackets where applicable
* Can choose whether bots (like googlebot or yahoo!slurpbot) should be tracked
* Holding your mouse pointer over the icon on the very left of each entry will display the title of the page from where the visitor was tracked - together with a link.

Screenshot

Download from punres.org