Modules: Userlog 1.01 Final released

Posted by: irmtfanOn 2013/4/26 4:04:50 8215 reads
We are happy to announce the first final version of userlog module Userlog 1.01 Final in less that 2 months of its first Alpha release.


Userlog is a node logger which can log your user/visitor activities in your site from a preferred node.
This is a very useful tool for webmasters in busy sites. For example, you can log your other Admins navigation.

- Log user activities and navigations.
1- The possibility to list all the IPs used from a certain user, and conversely to list all the users logged from a defined IP to find duplicate users.
2- Find deleted items from your database.
3- Find admin user activities(webmasters, moderators, ...)
4- Find users who come to your site from Google.

- Can log users by getting User ID, User group or visitor IP.
- Logs can be stored in file, database or both.
- Any below user information and/or page data can be selected to be logged.

User ID,Username,Is Admin?(y/n),Groups,User Last Visit,User IP,User agent,URL (Request URI),Script name,Referer URI,Page title,Is Page admin?(y/n),Module dirname,Module name,Item name,Item ID,Request method (GET, POST, ...),$_GET,$_POST,$_REQUEST,$_FILES,$_ENV,$_SESSION,$_COOKIE,Headers list,Logger

- Any active module in your installation can be selected and userlog will log users activities only in those modules.
- You can navigate/delete/purge/export to CSV user logs in admin/logs.
- You can render logs from database or file source engine in admin/logs.php.
- To search for logs based on a criteria you have an advance form in admin/logs.php
- You can see/delete/rename/copy/merge/compress(zip)/export to CSV log files in admin/file.php.
- You can see total module views, total user views, total group views in admin/stats.php
- you have an advance form to see any item views using some criteria like what is the module/link/log time/viewer uid/viewer group id of the item in admin/stats.php
- by activating the views block you can set a most viewed items in a module or in the whole website in a specific period of time. e.g.: today most viewed (hot) news
- You can set the module as Active or Idle in preferences.
- If you need to store logs in a file, you can set the working path, working file size, working file name, ... in preferences.
- If you need to store logs in database, you can set the maximum logs thresholds (maximum number of logs and maximum time that logs are stored in the database) in preferences.
- Can be used as a backup/restore tool.
- Used JSON format to store arrays to database for better performance (instead of xoops core serialize).

Minimum Requirements:
XOOPS 2.5.5
PHP 5.3
MySQL 5.0

To Install
1- upload the userlog to /modules/userlog (upload the compressed file and decompressed via Cpanel is the best way to insure all files are correctly uploaded)
2- go to your admin -> system -> modules -> install
3- change the default settings to your desired in the module preferences.

Important notice: There is a new "ADDITIONAL permission in file for webmasters" addon introduced in userlog module.
if you want other webmasters dont have access to userlog module this addon is for you.
for more information go to userlog/admin/addon/perm.php
If you dont need this addon you just need to remove addon/perm.php

report bugs and request features.

1.01 release (Final version):

Final version 1.01: XOOPS File Repository


The development continues in the new Alpha version, that you can download from the SVN Trunk:

There are some features added to the recent version (1.12 ALPHA1) which you can test and see: (warning: ALPHA versions are just for your test)

changelog from 1.01 Final to 1.12 ALPHA1:

- improve: check if all values are empty and do not log if all values are empty in class/setting.php and include/log.php (2013/04/26)
- change version to 1.12 ALPHA 1 (2013/04/24)
- add language and config for elapsed times in xoops_version.php and language/english/admin.php and admin/stats.php and blocks/login_reg_history.php(2013/04/24)
- add stats_type block (referral, browser, OS) (2013/04/24)

- change version to 1.11 ALPHA 1 (2013/04/24)
- add languages for failed and successful in language/english/admin.php and admin/stats.php (2013/04/24)
- add: login / register history block in xoops_version.php and blocks/login_reg_history.php and templates/blocks/userlog_login_reg_history.html (2013/04/24)

- improve performance: patch login/register $_POST before store to database in class/userlog.php and class/setting.php and class/log.php and admin/stats.php and class/patch/patch_login_history.php (2013/04/24)
- add: login / register history in admin/stats.php(2013/04/23)
- improve performance: only get needed stats from getAll($type) function in class/stats.php and admin/stats.php and admin/index.php (2013/04/23)
- improve performance: dont need to getAll($type) before update($type) (2013/04/23)
- add: add browser and OS to stats table to show browsers and Operating system in class/stats.php and class/log.php and admin/stats.php(2013/04/23)
- change version to 1.1 ALPHA 1 (2013/04/21)
- fix: prevent to select if no module with item is installed in blocks/views.php and templates/js/userlog.js (2013/04/21)
- add: check $_POST before load log module in preloads/core.php and xoops_version.php and include/postlog.php and language/english/modinfo.php and class/userlog.php(2013/04/21)
- add: show time update in admin/index.php and admin/stats.php (2013/04/22)
- add: add referral to stats table to show outside referer websites in class/stats.php and admin/stats.php(2013/04/22)
- improve: update referral in stats table when the log contain it (2013/04/22)