## ## Mod title: User Stats ## ## Mod version: 1.2.2 ## Works on PunBB: 1.2.* ## Release date: 2009-09-20 ## 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. ## ################################################################################ ## CHANGELOG: ## 1.2.2 : added workaround for REQUEST_URI command for Microsoft IIS ## now also compatible with postgresql ## updated pattern ip addresses ## updated web stat scripts ## other minor changes and improvements ## 1.2.1 : fixed permissions bug ## updated pattern ip addresses ## 1.2.0 : can now edit the config from the admin cp ## added additional options to the config ## added pagination ## 1.1.1 : updated web stat scripts ## updated pattern ip addresses ## can now differentiate between days by color ## now won't log consecutive visits by the same user to the same page ## - (within a 120 second period) ## other minor changes ## 1.1.0 : uses quicker and more efficient country detect script ## 1.0 : initial release ################################################################################ # #---------[ 1. UPLOAD ]------------------------------------------------------- # Upload all files and folders contained in archive to forum root. Keep folder structure intact. # #---------[ 2. SET PERMISSIONS ]---------------------------------------------- # CHMOD userstats_config.php to 766. # #---------[ 3. RUN ]---------------------------------------------------------- # install_mod.php # #---------[ 4. DELETE ]------------------------------------------------------- # install_mod.php # #---------[ 5. OPEN ]--------------------------------------------------------- # index.php # #---------[ 6. FIND (line: 39) ]---------------------------------------------- # require PUN_ROOT.'header.php'; # #---------[ 7. AFTER, ADD ]--------------------------------------------------- # // Load userstats module require PUN_ROOT.'userstats_track.php'; # #---------[ 8. OPEN ]--------------------------------------------------------- # viewtopic.php # #---------[ 9. FIND (line: 165) ]--------------------------------------------- # require PUN_ROOT.'header.php'; # #---------[ 10. AFTER, ADD ]-------------------------------------------------- # // Load userstats module require PUN_ROOT.'userstats_track.php'; # #---------[ 11. SAVE/UPLOAD ]------------------------------------------------- #