Tracking User Activity

Started by Mike Bobbitt, May 24, 2005, 12:47:14 PM

Previous topic - Next topic

fireandsalt

Sweet... thanks for the tracker.

Jalkson

Very nice mod, and it appears to be working for me just fine.

SMF 1.1.4.



TheWrath!


Jalkson

I wanted to say thanks to ButcherBob as well, his little snippet works perfectly. :]

cesarauz

Hello all!

I have the same error of Han...   

Quote from: Han on February 20, 2006, 11:21:56 PM
User Tracker
This script tracks the recent actions of all users in The Watch List.

Warning: Missing argument 2 for db_query() in /home/pcnaviga/public_html/forum/Sources/Subs.php on line 237

Warning: Missing argument 3 for db_query() in /home/pcnaviga/public_html/forum/Sources/Subs.php on line 237


Tracking Han...

Jump to: Boards || Topics || Monitored Topics || Admin Actions || Errors

and I didn't understand how to solve.  :(

Another question... How can I create a Watch List?

I need to track the actions done by an user... this user surf in the forum but never post (it isn't a bot, his IP address is from a big italian ISP and sometimes is logged on and sometimes surf as Visitor.
Isn't it possible to track the actions from an IP address in way to track also the actions when he isn't logged on?

Sorry for the confused questions, but by acknowledge in SMF are really at newbie level...


rosey

Quote from: rbdesign on March 20, 2007, 05:39:09 AM
I'm using this, but for some users, I can't see the last topics accessed. I just have some info, not all info. I tried this with my account just to see and I see parts of the tracking information.

this is happening to me too...

metallica48423

is there any pattern in the members it doesn't work for?
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Mike Bobbitt

As I recall, argument 2 and 3 to db_query() are __FILE__ and __LINE__ respectively. I verified that every call has these 2 arguments, so it would seem that for some (inexplicably) they are not defined. I didn't think PHP could hide those, but maybe it's a global setting or something?

raferb

Is the 'no date/timstamp' issue just a fact of life for 1.1.4?

Thanks for the very cool mod.  Not having it as an official downloadable package made it difficult to find though.  I'm sure more would use it if it was 'main streamed' somehow, even though it doesn't need to be made into a package due to it's standalone nature. I had to search for 30 min before I finally hit upon the right words to dig up this thread.  Anyway, how about those dates?

dsanchez

Using SMF 1.1.4, it shows me a blank page everytime I try to track an user :(

Mike Bobbitt

Do you see any errors in the error log for SMF or your web server/PHP?

dsanchez

Quote from: Mike Bobbitt on March 29, 2008, 12:35:57 PM
Do you see any errors in the error log for SMF or your web server/PHP?

Now is working fine!..strange.

Thanks!

Mike Bobbitt


dsanchez

Love the tracker, tell me, its possible to track if someone viewed some profile? or if attempted to see it? thanks!

Mike Bobbitt

Unfortunately there is nothing logged in SMF when that happens. You could probably pick that info out of your web server logs though...

Jed C

just installed this and it seems to be what i want ;)
but like cesarauz i am new to all this and also would
like to know how to create watch list

Mike Bobbitt

It's pretty easy actually... just create a new group, add it to the members you need to monitor (as a secondary group or else they'll see it!)

In tracker.php change this:

// Warning group IDs (primary)
$watchlist = "23";


to use the actual group ID# for the new group and you're all set!

Cheers
Mike

Jed C

Quote(as a secondary group or else they'll see it!)
how do you add them as secondary group ?
sorry for being dumb

Mike Bobbitt

Sorry, the SMF term is actually Additional Group not secondary group. When you're editing a profile just click on "[ show additional groups ]" to show the full list.

Advertisement: