vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - User Activity Logging (https://vborg.vbsupport.ru/showthread.php?t=145660)

dxguru 04-23-2007 10:00 PM

User Activity Logging
 
USER ACTIVITY LOGGING.

Description:
This Mod will (eventually) allow you to track a users activity from any script within vB or its addons ... well at least those that make use of the Hook features.

Background:
I have seen various requests around for some form of user logging but never been able to find an actual Mod. As we had a need for this on our site I decided to write my own.
I have been working with vB for a couple of years now (and a php coder for a lot more) and made use of a number of other coders Mods, both as they had been released or customized to suit our own purposes. Although not a very active poster here at vBorg, it is one of my regular visits.

Installation:
Standard Product Import using the AdminCP.
No template changes.
Optional (for AdminCP Log Viewer):
- Upload contents of zip file

Upgrade:
Will be as above, but select 'Overwrite' ;)

Features:
Database and/or Thread notification of activity
Selectable Forum for Thread notification
Selectable posting User for Thread notification
On/Off for each logging area
AdminCP Log Viewer/Pruner
Additional thread option for logging all Log-ins and outs

Current Logging Areas:
showthread - logs when a user views a thread (this is currently the only one I am using and I am actually happy with)
forumdisplay - logs when a user views the forumdisplay script
search - logs when a user makes a search
editpost - logs when a user edits a post
log-ins/log-outs - logs successful and unsuccessful log-ins and log-outs
profile views - logs when a user views the 'member profile' page

ChangeLog:
v1.0.6 (28 Nov,2007) - incorporated IPAddress tracking as provided by dartho (thanks :) )
v1.0.5 (16 May,2007) - added profile viewing both for 'logged users' and 'all user to a separate thread'. No admincp file update required. NB: Check options after upgrading.
v1.0.4 (07 May,2007) - added log-in/out logging both for 'logged users' and 'all user to a separate thread'. No admincp file update required.
v1.0.3 (27 April, 2007) - Corrected 1 thread per logged user issue, added 'editpost' logging area
v1.0.2 (25 April, 2007) - Check for deleted thread & added AdminCP Log Viewer
v1.0.1 (24 April, 2007) - Error in XML
v1.0.0 (24 April, 2007) - Initial release

Future Enhancements?:
Additional logging areas (just ask and I'll look in to it)
[S]Viewable log transcripts taken from database entries[/S] - completed
Usergroup logging

Thanks To:
All those other coders whose Mods I have installed and learned from :)

Note: This is the first Mod I have actually released here (or anywhere), so please go easy on me ;)
Hopefully I have the Product URL and Version Checking URL links right.

dxguru 04-24-2007 01:00 PM

Reserved ... don't know why, but everybody else does :P

glorify 04-24-2007 01:08 PM

Looks good man. I'll install it for those troublesome members.

dxguru 04-24-2007 01:35 PM

Quote:

Originally Posted by glorify (Post 1234631)
Looks good man. I'll install it for those troublesome members.

Thanks glorify. Don't forget to click the 'Installed' link ;)

dj_melayu 04-24-2007 01:59 PM

Nice mod but sorry I get this

Quote:

XML Error: EntityRef: expecting ';' at Line 7

dxguru 04-24-2007 02:16 PM

Sorry. My mistake when adding the URLs to the XML instead of in the ACP itself.
Fixed and re-uploaded.

C_P 04-24-2007 02:31 PM

This looks quite nice! Is there any way to log in attempts or url access as well? In other words, if a guest is attempting to log in as an existing user (say admin) then this is logged along with IP address, user name, and password attempt...
This is also good for those users who try to access staff areas or areas restricted from them.
This would be FANTASTIC if this could be added as I know SMF boards already have this in place and can be viewed, and deleted from adminCP area.
Sorry but this mod looks close to what I have been hoping for.

dxguru 04-24-2007 02:35 PM

Quote:

Originally Posted by C_P (Post 1234680)
This looks quite nice! Is there any way to log in attempts or url access as well? In other words, if a guest is attempting to log in as an existing user (say admin) then this is logged along with IP address, user name, and password attempt...
This is also good for those users who try to access staff areas or areas restricted from them.
This would be FANTASTIC if this could be added as I know SMF boards already have this in place and can be viewed, and deleted from adminCP area.
Sorry but this mod looks close to what I have been hoping for.

So in essence you would like to log error messages not specific to a particular user?

C_P 04-24-2007 02:39 PM

Yes, that would be nice to also log guest attempts as well as user attempts. Maybe by user group?

Charlie98902 04-24-2007 02:48 PM

Great potential this mod is I'll wait till it's out of beta stage and tweaked as mentioned above. Yes logging in the users trying to log into another member is a nice feature to have. I assume there is a way to clear this log as well?


All times are GMT. The time now is 05:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01052 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete