Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
User Activity Logging Details »
User Activity Logging
Mod Version: 1.0.6, by dxguru (Member) dxguru is offline
Developer Last Online: Jun 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.5 Rating: (13 votes - 4.92 average) Installs: 136
Released: 24 Apr 2007 Last Update: 28 Nov 2007 Downloads: 1232
Not Supported DB Changes Uses Plugins Additional Files  

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)
Viewable log transcripts taken from database entries - 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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	User Logging Options.jpg
Views:	1820
Size:	82.9 KB
ID:	64076  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Moderator Activity Logging Overgrow vBulletin 2.x Full Releases 219 25 Feb 2003 13:24

  #46  
Old 25 May 2007, 19:54
pictureboarduk pictureboarduk is offline
 
Join Date: May 2007
Thank you, but then I get invalid file.

3.6.7, default installation/theme
Reply With Quote
  #47  
Old 25 May 2007, 23:32
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
nice but got problem


XML Error: syntax error at Line 1

when importing the product file

running vB3.6.4

UPDATE:
do I need to import the right file? lol oops.. sorry mate

now since I got the right file.. heres what I got


The following dependencies were not met:
This product is not compatible with version 3.6.4 of vBulletin. (Compatible starting with 3.6.5)

so I guess I need to upgrade

Last edited by Merjawy; 25 May 2007 at 23:38.
Reply With Quote
  #48  
Old 27 May 2007, 18:02
pictureboarduk pictureboarduk is offline
 
Join Date: May 2007
How to you import the XML file contained in the Includes folder?

I imported the separate XML one shown in the instructions at the top of here, but what about the one in the archive in the Includes folder?

Thanks.
Reply With Quote
  #49  
Old 27 May 2007, 18:03
pictureboarduk pictureboarduk is offline
 
Join Date: May 2007
Does this log the search query the user entered?

I thought I saw it do so, then when I changed it to record it's logs to a subforum it isn't doing so.

?

Also how do you find the ID of threads

Thanks!

Last edited by pictureboarduk; 27 May 2007 at 18:50.
Reply With Quote
  #50  
Old 28 May 2007, 01:02
digital3 digital3 is offline
 
Join Date: Feb 2007
I am not sure why you are trying to use quotes inside BBCode URL tags but they simply won't work. The links to the viewed pages in the admin area are just code, not links. You need to either use straight html or remove the quotes from inside the BB Code URL tags
Reply With Quote
  #51  
Old 30 May 2007, 08:33
dartho dartho is offline
 
Join Date: Sep 2005
do you reckon this could log user activity from a specific IP address as opposed to a user name?

Thanks
Reply With Quote
  #52  
Old 30 May 2007, 09:03
citroenar citroenar is offline
 
Join Date: Jan 2007
Every time script write a log I get SQL error:

Database error in vBulletin 3.6.7:

Invalid SQL:

UPDATE forumuser
SET logging_thread = 1205
WHERE userid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number : 1064
Reply With Quote
  #53  
Old 30 May 2007, 10:29
Noonster's Avatar
Noonster Noonster is offline
 
Join Date: Jun 2005
Any screenshots of how the forum will look and how it will post a person's activities?

Thanks
Reply With Quote
  #54  
Old 10 Jun 2007, 11:23
chatzworld chatzworld is offline
 
Join Date: May 2007
works great is their anyway you can track them when using stuff like the arcade, blogs, gallerys etc?
Reply With Quote
  #55  
Old 14 Jun 2007, 04:14
David Lama David Lama is offline
 
Join Date: Apr 2007
installed and marked as installed. thanks

but what do you mean by "Record logging details in the database" ?
Reply With Quote
  #56  
Old 22 Jun 2007, 22:07
pictureboarduk pictureboarduk is offline
 
Join Date: May 2007
Does this log the search queries made by users at all (the words they search for)?

Reply With Quote
  #57  
Old 08 Jul 2007, 14:21
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Handy hack! I'm getting a bug with the logging profile viewing: If logging profile views is enabled and the user views a profile, they get this error;

Fatal error: Cannot redeclare vbflush() (previously declared in /home/etcetc/inferno/engine/system_handlers/vBulletin/global.php:516) in /home/etcetc/forums/httpdocs/includes/adminfunctions.php on line 3383

I realise that's clashing with the RPG Inferno hack so I make no comment about that but you might want to check with the adminfunctions.php script.
__________________
Sig
Reply With Quote
  #58  
Old 16 Jul 2007, 12:26
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
just wondering, how much extra load could this put onto a already fairly heavy server?

Does it use many queries? is it optimized to be suitable for big boards?

Thanks.
Reply With Quote
  #59  
Old 20 Jul 2007, 23:27
Kaycee123 Kaycee123 is offline
 
Join Date: Jun 2007
These are probably dumb questions since everyone else seems to have figured it out, but I've installed this, set it to log everything and set up a new forum for the logging threads to be created in.

What do I put under Posting User ID - what does that mean?

And where it says Record all log-outs to thread ID# - what do I put there (same for Record Profile views?)

No threads have been created in the forum even though the members we want to watch have been on and off our forum all day, so I obviously don't have something set correctly!!

Any help would be appreciated, thanks!!
Reply With Quote
  #60  
Old 24 Oct 2007, 13:11
mooky mooky is offline
 
Join Date: Apr 2006
GREAT mod.

MOTM
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 17:39.

Layout Options | Width: Wide Color: