Customizing SMF > Tips and Tricks
Tracking User Activity
Furvert:
I like this function, can it be easily linked into the current user/IP tracker?
So that you can just click on the user name to invoke it instead of using the tracker.php directly.
Of course this should be a admin/mod only function.
I am a newbie with this code set so am somewhat afraid to tinker much so far, but I would suspect this is a simple edit of one file.
Mike Bobbitt:
Yeah, that would be pretty easy. You can invoke it for a specific user like this:
http://server.com/tracker.php?function=track;u=[uid]
So all it would take is just adding that URL with the user's ID in the URL, wherever you want to invoke it.
Furvert:
Thanks, I thought it would be simple.
Now I just need to figure out where I want it ;)
Han:
Unfortinately this function does not work anymore in SMF 1.1 Beta 3
It gives me an error and says "Hacking attempt...". :(
Can it be altered so that it wil work again in SMF 1.1 Beta 3 ??
Mike Bobbitt:
No problem, give it a try now...
Cheers
Mike
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version