Register Members List Search Today's Posts Mark Forums Read

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  


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.

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.

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

Will be as above, but select 'Overwrite'

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

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.


Click image for larger version

Name:	User Logging Options.jpg
Views:	1821
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

Old 23 Jul 2008, 16:55
RobParker RobParker is offline
Join Date: Nov 2006
Does this work for the 3.7? Earlier posts suggest yes and no so a bit unclear.
Reply With Quote
Old 23 Jul 2008, 17:16
RobParker RobParker is offline
Join Date: Nov 2006
Ah I think maybe I misunderstand.

What I wanted to do was to see which users were reading threads the most, who kept hitting F5 to refresh, etc.

This looks like it only tracks a specified user, what I thought it was was that it logged every user.

That's not what this does is it?
Reply With Quote
Old 30 Jul 2008, 20:57
TMSBrad TMSBrad is offline
Join Date: Jan 2007
Real name: Brad
Can it track a range of IPs? I want to know if anyone from a certain company is on my boards, so I'd like to log all users with, for example, an IP between 123.456.0.0 and 123.456.789.999.
Reply With Quote
Old 18 Aug 2009, 19:07
dwstudntln dwstudntln is offline
Join Date: Jan 2009
User logging in v3.8

I am having trouble getting this mod to work for me. From the zip file, I placed the userlog.php in the ./admincp directory and the XML file in the ./includes/xml directory as well as the product-userlogging.xml in the same ./includes/xml directory - all on my server. Using vBulletin's Product Manager, I imported this product successfully (at least I didn't get any errors). I created a new forum (all permissions granted for testing purposes) so that my test users can view the logs. I then went to vBulletin options and found the User Logging - completed the setup options for one or two users with all logging enabled (for testing only). I also verified that all of the pluggin's that I wanted to use had 'hooks' assigned to them in the Plugin Manager. After logging in as the test users and trying to create logs for several days, I still do not have any logs to view - either in the forum or in the control panel. I don't know what I am doing wrong. Then I thought ,"Can this mod be used for vBulletin 3.8?" I would really like to have user logging for 3.8 and this mod sounds just like what I need. Can anyone help me with this?

Thanks in advance
Reply With Quote
Old 24 Jan 2010, 22:24
athlon64bit athlon64bit is offline
Join Date: Mar 2007
Anyone tested this on vb 4? Is it working?
Reply With Quote
Old 30 May 2010, 00:42
whitedd's Avatar
whitedd whitedd is offline
Join Date: Jan 2010
working with 4.0.3...
Reply With Quote
Old 19 Dec 2012, 21:09
diysmps diysmps is offline
Join Date: Dec 2012
working with 4.2.0

but how to log all users?

shall I write all user IDS???? 3024 users !!

Reply With Quote
Old 13 Aug 2015, 13:53
X-or X-or is offline
Join Date: Nov 2005
won't install for me
nasty sql error number 1064 on product import
Reply With Quote

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 19:11.

Layout Options | Width: Wide Color: