Advertisement:

Author Topic: Tracking User Activity  (Read 211869 times)

Offline ChalkCat

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,410
  • Gender: Female
  • Forum Tea Maker - go on have a cuppa!
    • ChalkCat
Re: Tracking User Activity
« Reply #320 on: February 29, 2012, 04:16:29 PM »
I just installed this on my SMF 2.0.2 but when I type in a username I get the error:

"Fatal error: Call to undefined function db_query() in /home/content/28/74****8/html/sabrinova/tracker.php on line 110"

How do I make it work?
« Last Edit: March 03, 2012, 06:42:26 PM by Sabrinova »

Offline ChalkCat

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,410
  • Gender: Female
  • Forum Tea Maker - go on have a cuppa!
    • ChalkCat
Re: Tracking User Activity
« Reply #321 on: March 03, 2012, 06:41:38 PM »
My line 110 is this if that helps:

      
Code: [Select]
$result = db_query("SELECT $db_member_table.`ID_MEMBER` FROM $db_member_table WHERE $db_member_table.`memberName` = \"$user\" OR $db_member_table.`realName` = \"$user\"", __FILE__, __LINE__);

Offline XHIBIT911

  • Jr. Member
  • **
  • Posts: 200
    • PSHomeSource.com
Re: Tracking User Activity
« Reply #322 on: March 10, 2012, 09:37:45 AM »
I uploaded this and got an error saying this package was empty

Offline MetalMusicMan

  • Semi-Newbie
  • *
  • Posts: 34
  • www.MetalMusicMan.com
    • MetalMusicMan.com
Re: Tracking User Activity
« Reply #323 on: March 13, 2012, 10:38:24 AM »
Thanks :)

"How'd you get to be so smart?"
"Trial and error."

-- Duncan MacLeod, Highlander (S1E20)

Admin of MetalMusicMan.com

Offline ChalkCat

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,410
  • Gender: Female
  • Forum Tea Maker - go on have a cuppa!
    • ChalkCat
Re: Tracking User Activity
« Reply #324 on: March 18, 2012, 04:50:40 AM »
I just installed this on my SMF 2.0.2 but when I type in a username I get the error:

"Fatal error: Call to undefined function db_query() in /home/content/28/74****8/html/sabrinova/tracker.php on line 110"

How do I make it work?

Ok just reealised my error - doh!!  I had downloaded the original file rather than the v2 update on page 12.  It's working now!

Offline matricrsult

  • Newbie
  • *
  • Posts: 5
Re: Tracking User Activity
« Reply #325 on: April 24, 2012, 03:42:23 AM »
hmmm i was looking for that thanks for sharing

Offline llyon

  • Semi-Newbie
  • *
  • Posts: 23
Re: Tracking User Activity
« Reply #326 on: April 21, 2013, 04:18:23 AM »
This is great but I get the following errors:


( ! ) Notice: Undefined variable: function in Z:\wamp\www\tracker.php on line 61
Call Stack
#   Time   Memory   Function   Location
1   0.0025   173856   {main}( )   ..\tracker.php:0

( ! ) Notice: Undefined variable: function in Z:\wamp\www\tracker.php on line 74
Call Stack
#   Time   Memory   Function   Location
1   0.0025   173856   {main}( )   ..\tracker.php:0

( ! ) Notice: Undefined variable: function in Z:\wamp\www\tracker.php on line 101
Call Stack
#   Time   Memory   Function   Location
1   0.0025   173856   {main}( )   ..\tracker.php:0

Any ideas?

Offline jenny commer

  • Newbie
  • *
  • Posts: 1
Re: Tracking User Activity
« Reply #327 on: April 25, 2013, 02:29:07 AM »
Yeah...Really Working ... Thanks for shared great post about how to track user activities. I  have interested those kind of post.Have any more for me.?