Tracking User Activity

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

Previous topic - Next topic

Mike Bobbitt

I believe that should work... I'm coding against 5.0.4, but I don't believe I've done anything too exclusive... I'm honestly at a loss as to why you're having issues. :(

Cerberus

#101
1.1 RC2, the script shows boards and topics visited by the users, but not the time of the action itself... what's wrong ???
Best Regards, Cerberus
YaBB Gold -> YaBB 1.1 -> YaBB SE (YaPP -> PfaBB) -> SMF
Pocket PC Russia

Mike Bobbitt


Cerberus

Sorry, Mike, haven't noticed that :(
Best Regards, Cerberus
YaBB Gold -> YaBB 1.1 -> YaBB SE (YaPP -> PfaBB) -> SMF
Pocket PC Russia

Mike Bobbitt

No worries, the thread has kind of wandered through a few topics...

Madley


ZhongFu

My SMF at www.community.wuzhongfu.com [nofollow]

Han

I saw that the edit-date of the first post in this topic had changed, so I hoped that there was now a "tracker.php" that shows also time and date. The old file did not do that. The new tracker-file shows exactly the same als the old file except the new one gives back two errors in my subs.php. I run a standard "SMF 1.1 RC2" forum. I have not made any changes in my subs.php

Here is the top of the page tracker.php that shows me:

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



Mike Bobbitt

Sorry, no dates... they're just not in the DB to be had. :(

I believe I've fixed the 2 warnings you were seeing...


Cheers
Mike

Han

Yep, the warnings are gone now. Tnx !!

Just curious....., what is the difference between the old tracker.php and the new one?
Just a change in code of also a change in functionality?

Mike Bobbitt

It now shows admin actions for moderators.

dracomiconia

I have this error in 1.0.6

Fatal error: Call to undefined function: determineactions() in /home/draco/public_html/dracoforo/tracker.php on line 154

Mike Bobbitt

Yeah, that bit doesn't seem to work right for 1.0.6, just comment out line 154. You won't get to see the user's current actions, but it should work otherwise.

Actually, you'll probably need to comment out another occurrance of determineactions in the newly added admin section too...

mforum

I would apreciate it if someone fix this to work on 1.0.6

Thanks

Mike Bobbitt

Did you try commenting out the 2 lines with calls to determineactions() in them? That should do it...

mforum

Quote from: Mike Bobbitt on March 01, 2006, 07:48:36 AM
Did you try commenting out the 2 lines with calls to determineactions() in them? That should do it...

comment out?  calls?    ohhh i`m too dumie to understand that  ::)

HoTmetal

Quote from: mforum on March 02, 2006, 03:29:46 AM
Quote from: Mike Bobbitt on March 01, 2006, 07:48:36 AM
Did you try commenting out the 2 lines with calls to determineactions() in them? That should do it...

comment out?  calls?    ohhh i`m too dumie to understand that  ::)


To comment out code, means to tell the PHP parser to ignore it... this can be done by putting two slashes in front of the line like this...

Quote
<?php
// this line is commented out because of the two "//" at the beginning of it.......
print "this line is live code ";
// this line is not......
?>





mforum

ok, i understand, did it and have no errors  :)
is there a way to change char encoding of page to my lanquage? (ISO-8859-7), i am doing that manualy

Thanks a lot .. !!!

ディン1031

#118
Nice Work

I've overwork a little bit the Tracker.php :X

Know it's 1.0.x Compatible ;), and it load some design so it automaticly select your chosen charset...

(Attached to this post the alternativ File :X).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

mforum

WoW !!!! that rocks !!!!
tested localy on my test forum 1.0.5 and worked fine.
tested on my forum 1.0.6 worked allright exept of this error

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

line 216 must be
// Do a query.  Takes care of errors too.
function db_query($db_string, $file, $line)
{
global $db_cache, $db_count, $db_connection, $modSettings;


have no idea what it means...

Thanks a lot din1031  :)

Advertisement: