Zen Cart Logo
Forums / All Other Contributions/Addons / User tracking mod

User tracking mod

Views: 183,730

Results 341 to 360 of 861
31 Jan 2008, 3:37 PM
#341
maza avatar

maza

New Zenner

Join Date:
Apr 2007
Posts:
98
Plugin Contributions:
0

User tracking mod

Wow this thread is lenghty... I couldn't follow all of it so can I just ask here? Sorry if it has been brought up.

I'm using 1.3.7.

  • Installed the SQL through ZC Admin.
    -Edited the tpl_footer but can't find /admin/includes/footer.php file so I just leave that step.

I can go into User Tracking Config but after a while can't go no more. Its just blank.

I also can't see User Tracking in Admin->Tool inside ZC Admin.

What should I do? Thanks.

3 Feb 2008, 2:06 PM
#342
knighs2 avatar

knighs2

New Zenner

Join Date:
May 2007
Posts:
42
Plugin Contributions:
0

Re: User tracking mod

Hi Guys/Gals?

I have installed this mod. I also have super tracker installed. Both use the geoip.dat and geoip.inc files

User Tracker requires them in admin/includes and super tracker in just in /includes

Anyone know how to change the below code so i can get user traker to get the files from /includes rather than admin/incldes ?

I dont understand fully how DIR_WS_INCLUDES etc works

require(DIR_WS_INCLUDES . 'geoip.inc');
$gi = geoip_open(DIR_WS_INCLUDES . 'GeoIP.dat',GEOIP_STANDARD);

Thanks to anyone whos feeling helpful

Shane

7 Feb 2008, 5:41 PM
#343
simetra avatar

simetra

Zen Follower

Join Date:
Mar 2005
Posts:
167
Plugin Contributions:
0

Re: User tracking mod

In the install read me it says you have to have the original mod from jeffd installed first. Any idea where I can find that install?? The link in the 1st post of this email no longer works.

8 Feb 2008, 1:35 AM
#344
max44 avatar

max44

New Zenner

Join Date:
May 2007
Posts:
53
Plugin Contributions:
0

Re: User tracking mod

Hi,
I am running the latest zencart. I no longer have the user tracking config showing.
I should re-phrase... I have the admin config user tracking config box, but when i click on it, i just get a page with no options showing...
I think it may be a table issue.
I did a clean install of user tracking with the latest version in the downloads section
Thanks

7 Mar 2008, 6:26 PM
#345
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: User tracking mod

I am getting a problem with always expanded records like "view session" was clicked. Also cant delete some. Some have no session ID. I have 2 user tracking configures, 1 in admin> Tools and 1 in admin> configuration. Both seem to be functional.

Im using the latest version 1.3.7 with cart 1.3.8a. I have this installed in another shop with no problems. It wasn't that way at first. I had to change something in the sql for it to work. I can't remember what that was now.

PLease help,
John

7 Mar 2008, 6:51 PM
#346
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: User tracking mod

I just noticed that this mod is starting every users "idle time" at 2 hrs.

I tested this by clicking around in the store. Check UT in the admin and it says Idle Time: 02:00:32. The :32 seconds part is right.

Thanks,
John

8 Mar 2008, 7:40 AM
#347
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: User tracking mod

Im not going to put this up as an update but if you are having similar problems or any problems with your install into 1.3.8a pm me.
Ill give you the user_tracking.sql and the file set with the code that works in the footers.

I had forgotten what I did when I went from 1.3.7 to 1.3.8a to make user tracking work and I didn't bother to look at it now. I went to a working 1.3.8a store downloaded my working user tracking files. Then I went to my db and downloaded just the table structure of the user tracking table with the add if not exists.

I put all of this together in a package. Used it the other 1.3.8a stores and they work fine now too!:clap:

John

24 Mar 2008, 5:03 PM
#348
outpostmontana avatar

outpostmontana

New Zenner

Join Date:
Sep 2007
Location:
montana
Posts:
24
Plugin Contributions:
0

Re: User tracking mod

I have looked through out threads but cant find this, if all ready posted sorry.

I upload all files, installed tracking code in templates/cherry_zen/common/tpl_footer

<!--eof- site copyright display --> <?php if (ZEN_CONFIG_USER_TRACKING == 'true') { zen_update_user_tracking(); } ?> <?php } // flag_disable_footer ?>

tried to install sql patch but get

1062 Duplicate entry '999' for key 1
in:
[INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (999, 'User Tracking Config', 'User Tracking', 31, 1);]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

and under configure- User Tracking Config get blank page ( see screen shot)

but under tools user tracking get regular info. ( see screen shot), but no tracking info

I did upgrade from 1.3.7 to 1.3.8a

Please Help

vicky

25 Mar 2008, 8:58 AM
#349
max44 avatar

max44

New Zenner

Join Date:
May 2007
Posts:
53
Plugin Contributions:
0

Re: User tracking mod

I got exactly the same thing with the same zencart version as you.
I gave up and tried supertracker. This worked first time. Maybe this is easier for you.
It was just a thought

outpostmontana:

I have looked through out threads but cant find this, if all ready posted sorry.

I upload all files, installed tracking code in templates/cherry_zen/common/tpl_footer

<!--eof- site copyright display --> <?php if (ZEN_CONFIG_USER_TRACKING == 'true') { zen_update_user_tracking(); } ?> <?php } // flag_disable_footer ?>

tried to install sql patch but get

1062 Duplicate entry '999' for key 1
in:
[INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (999, 'User Tracking Config', 'User Tracking', 31, 1);]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

and under configure- User Tracking Config get blank page ( see screen shot)

but under tools user tracking get regular info. ( see screen shot), but no tracking info

I did upgrade from 1.3.7 to 1.3.8a

Please Help

vicky

25 Mar 2008, 1:56 PM
#350
outpostmontana avatar

outpostmontana

New Zenner

Join Date:
Sep 2007
Location:
montana
Posts:
24
Plugin Contributions:
0

Re: User tracking mod

Maz44,

Thanks worked like a charm. on the first try.

:clap:

Vicky

1 Apr 2008, 12:12 AM
#351
roryg1 avatar

roryg1

New Zenner

Join Date:
Nov 2007
Posts:
34
Plugin Contributions:
0

Re: User tracking mod

I installed the mod 3 times and every time it's the same issue. When I try to configure tracking I have 3 headings and that's it. I can't configure anything. I dumped the table, re-installed the files, the sql file both ways and so far no soap. Got any ideas?

10 Apr 2008, 4:27 PM
#352
dytron avatar

dytron

New Zenner

Join Date:
Feb 2008
Posts:
60
Plugin Contributions:
0

Re: User tracking mod

CJPinder:

I recently had to install this mod for someone so I had a look at this bug. It is caused because the code is using the date() function to format something that is not a timestamp. To fix the code fully edit admin/user_tracking.php and then change the line (at about line 324) that says...

<td class="dataTableContent" colspan="2" valign="top"><?php echo date('H:i:s', (time() - $ut['value']['end_time']+ 28800)); ?></td>
> ```php
    <td class="dataTableContent" colspan="2" valign="top"><?php $dt=time() - $ut['value']['end_time']; printf("%02d:%02d:%02d",$dt/3600, ($dt % 3600)/60, $dt % 60); ?></td>
```...and the line (at about line 330) that says... 
> ```php
    <td class="dataTableContent" colspan="2" valign="top"><?php echo date('H:i:s', ($ut['value']['end_time'] - $ut['value']['time_entry'] + 28800)); ?></td>
```...to...
> ```php
    <td class="dataTableContent" colspan="2" valign="top"><?php $dt=$ut['value']['end_time'] - $ut['value']['time_entry']; printf("%02d:%02d:%02d",$dt/3600, ($dt % 3600)/60, $dt % 60);?></td>
```Hope that helps.
> 
> Regards,
> Christian.

This worked great for the timestamp issue thanks Christian, no how do I set the time zone to be correct for my timezone?

It looks to be off by 3hrs for me as I am in PST timezone, where can I make the change in the code for this? :lamo:
7 May 2008, 8:52 PM
#353
griff1324 avatar

griff1324

New Zenner

Join Date:
Feb 2008
Posts:
48
Plugin Contributions:
0

Re: User tracking mod

I have User Tracking installed on Zen Cart v1.3.8a. I had one of my co-workers visit my site while I checked to see if User Tracking would log the guest visit. When I went to Tools - User Tracking, it showed a log for me the administrator logged into the admin panel but it did not show the guest user browsing my site. Any ideas what may be wrong?

Thanks,

Chris

31 May 2008, 6:15 PM
#354
johnd avatar

johnd

Zen Follower

Join Date:
Oct 2006
Location:
New Jersey, USA
Posts:
119
Plugin Contributions:
0

Re: User tracking mod

Thanks for the mod.

I isntalled it and it's working fine on one site: https://www.rabbitinmyhat.com.

But, I just installed it on another, https://www.sewingpattern4less.com, and there are the Title, Value and Action column labels, but nothing else.

I tried installing it a second time, and still no success.

I can't figure why it works for one site and not the other. They are both running ZC 1.3.7. I've had no trouble loading other mods onto both sites.

Please help. Tell me what I am missing?

Thanks
John

27 Jun 2008, 8:44 AM
#355
squaregum avatar

squaregum

New Zenner

Join Date:
Dec 2007
Posts:
26
Plugin Contributions:
0

Re: User tracking mod

I have installed this mod as per instructions, but...
when I go to user tracking configuration I only get this:

title value action

Any ideas?

8 Jul 2008, 11:26 PM
#356
magneteye avatar

magneteye

Zen Follower

Join Date:
Mar 2007
Location:
Portland, OR
Posts:
163
Plugin Contributions:
0

Re: User tracking mod

I am having issues deleting sessions from googlebot and spiders. It is destroying the page with hundreds of lines of tracking.

Is there a way to fix this problem?

I am using ZC 1.3.7

23 Jul 2008, 11:32 PM
#357
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: User tracking mod

magneteye:

I am having issues deleting sessions from googlebot and spiders. It is destroying the page with hundreds of lines of tracking.

Is there a way to fix this problem?

I am using ZC 1.3.7

Go to Admin/configuration/user tracking. Add the IP's that you don't want usertracking to log or display.

Not sure if that will actually do the trick, but it is worth a shot.

23 Jul 2008, 11:38 PM
#358
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: User tracking mod

I haven't found anyone that has mentioned this before, but I find it a little frustrating that I have to scroll all the way to the end of the page to see how many visitors I had. I do use an analytical program, but for a quick view, I use that feature of usertracker.

I have tried to move that particular section of the code (located in admin/usertracking.php), but I basically broke usertracking. I am not versed in PHP, so I was definately winging it.

Anyone know how to move that particular section to the top of the page? I would like it where it says "There have been x page views in this 24 hour period.".

29 Jul 2008, 12:03 AM
#359
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: User tracking mod

Does anyone have a working version of this mod for ZC 1.3.8a? Thanks!

19 Sep 2008, 4:43 AM
#360
avf avatar

avf

New Zenner

Join Date:
May 2008
Posts:
87
Plugin Contributions:
0

Re: User tracking mod

even i want to use it in 1.3.8a