Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User Activity Logging Details »»
User Activity Logging
Version: 1.0.6, by dxguru dxguru is offline
Developer Last Online: Jun 2008 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.5 Rating:
Released: 04-23-2007 Last Update: 11-27-2007 Installs: 138
DB Changes Uses Plugins
Additional Files  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-25-2007, 02:49 PM
BobbyBig BobbyBig is offline
 
Join Date: Mar 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about a Screenshot of the Page showing the Statistics
Reply With Quote
  #23  
Old 04-25-2007, 08:00 PM
itsblack itsblack is offline
 
Join Date: Dec 2005
Location: Augsburg
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Usergroup logging will be great. Installed.
Reply With Quote
  #24  
Old 04-25-2007, 08:04 PM
itsblack itsblack is offline
 
Join Date: Dec 2005
Location: Augsburg
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems that the activities of guests will also be logged?
I checked the log just moment ago, there are 5 entries from guests and 1 entry from myself.

Edit: OK, I figured it out, when there's no user id entered, then it will log all of the activities. But once a userid is entered, then only the entered userid's activity will be logged. Am I right?
Reply With Quote
  #25  
Old 04-26-2007, 02:28 AM
raptor260 raptor260 is offline
 
Join Date: Jan 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this.... Very Nice.... I do have 1 question. When it creates the thread, it is making posts for all the users in the same thread... I thought it would create a thread for each user. Am I wrong in my thoughts??

Thank You for this script
Reply With Quote
  #26  
Old 04-26-2007, 02:03 PM
Tommm Tommm is offline
 
Join Date: Dec 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by raptor260 View Post
Thanks for this.... Very Nice.... I do have 1 question. When it creates the thread, it is making posts for all the users in the same thread... I thought it would create a thread for each user. Am I wrong in my thoughts??

Thank You for this script
I was wondering that too!

This hack has fantastic potential, and if it could either update one log thread per member OR include their username in the post, it would be close to perfect!
Reply With Quote
  #27  
Old 04-26-2007, 04:18 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

agree, great potential for this hack, just installed on my board ... and waiting for new devs ...
Reply With Quote
  #28  
Old 04-27-2007, 01:21 AM
dxguru dxguru is offline
 
Join Date: May 2005
Location: England
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should be creating 1 thread per user being logged.

A question about usergroup logging ... should it still be 1 thread per user or 1 thread per usergroup? I could possibly even add that as an option.
Reply With Quote
  #29  
Old 04-27-2007, 03:28 AM
raptor260 raptor260 is offline
 
Join Date: Jan 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dxguru View Post
It should be creating 1 thread per user being logged.
What it is doing, I have 3 userid's that I am watching... It creates a thread for the first user, then is puts all the activity for that user in the thread, now if a second user connects, it is putting this users activity in the same thread as the first user.... Does that make since...
Reply With Quote
  #30  
Old 04-27-2007, 07:36 AM
dxguru dxguru is offline
 
Join Date: May 2005
Location: England
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, doesn't make sense. I'll investigate it further.

Stay tuned.
Reply With Quote
  #31  
Old 04-27-2007, 05:07 PM
dxguru dxguru is offline
 
Join Date: May 2005
Location: England
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've corrected the thread problem and it now creates a new thread for each user being logged.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05184 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete