Page 3 of 3 FirstFirst 123
Results 21 to 30 of 858

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    79
    Plugin Contributions
    0

    Default Re: User tracking mod

    Ok I have found a issue with this mod. When viewing the User Tracker I was visited by a googlebot, well when I try to delete the session, it WON'T go away. Any ideas on what to do as it hit 91 pages and it showed all pages instead of just a small box never even hit the View Session box.


    I have had a read through this thread and been looking for a way to turn off bots or to by default shrink there session info (page views) does such a hack exist?

    As we have either google or yahoo on our site constantly it would be nice to stop there data from hogging the screen when looking at this mods output (looking at over 1200 page views in detail is a right pain in the bum)

    In the ideal world something like the visitors mod for OSC would be nice where I can turn bots sessions views on or off

  2. #2
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: User tracking mod

    Quote Originally Posted by dasonix View Post
    I have had a read through this thread and been looking for a way to turn off bots or to by default shrink there session info (page views) does such a hack exist? As we have either google or yahoo on our site constantly it would be nice to stop there data from hogging the screen when looking at this mods output (looking at over 1200 page views in detail is a right pain in the bum). In the ideal world something like the visitors mod for OSC would be nice where I can turn bots sessions views on or off
    Petter Normann developed a version of User Tracking which contained some features missing in JeffD's version. (Petter's last version Sept 10-06). And JeffD's later version contains some features not in Petter's version. (Jeff's last version Dec 04-06). Both Petter and Jeff are now out of the Zen Cart dev scene.

    So it would be very fine if someone with the dev skills could takeover the development of this mod and reconcile features from both versions into one.

    Regarding tracking bots or not, here's some info in Petter's last version readme (info which is not included in JeffD's readme):

    PHP Code:
    File Modifications: 2 with Catalog-user-tracking AND Admin-user-tracking

    add the following to the end of /includes/templates/YOUR_TEMPLATE/common/tpl_footer.php

    Alternative 1: tracking all users and bots.
    <?php if (ZEN_CONFIG_USER_TRACKING == 'true' && function_exists('zen_update_user_tracking')) { zen_update_user_tracking(); } ?>

    Alternative 2: track only users with set sessions.
    <?php if (ZEN_CONFIG_USER_TRACKING == 'true' && $session_started && function_exists('zen_update_user_tracking')) { zen_update_user_tracking(); } ?>

    Alternative 3: RECOMMENDED, track all users except bots/spiders, requires Configuration->Sessions->Prevent Spider Sessions->true (I don't know if this works with Zen-Cart versions older than 1.2.6d).
    <?php if (ZEN_CONFIG_USER_TRACKING == 'true' && !$spider_flag && function_exists('zen_update_user_tracking')) { zen_update_user_tracking(); } ?>


    Add if you want to track admin pages viewed add the following to the end of /admin/includes/footer.php

    <?php if (ADMIN_CONFIG_USER_TRACKING == 'true' && function_exists('zen_update_user_tracking')) { zen_update_user_tracking(); } ?>
    The above code works for me on ZC 1.37 with JeffD's last UT mod version (12-04-06). YMMV.

    Hope this helps.

    Woody
    Last edited by Woodymon; 1 May 2007 at 01:59 AM.

  3. #3

    Idea or Suggestion Re: User tracking mod

    Hi All,
    Just tried installing this contrib and ran into an SQL error. I followed the install instruction and tried to apply the patch through phpmyadmin. It seems that the patch won't apply this way if you are using a prefix for tables in your database.

    However the problems was easily fixed by applying the patch through admin > Tools > Install Sql Patches. This seems to append the table prefix to the sql query.

    just though you might want to know.

    All the best,

    N

    keyword: DELETE FROM configuration WHERE configuration_group_id = '999';

  4. #4
    Join Date
    Jan 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: User tracking mod

    My admin/user_tracking_config.php is blanc after installing User Tracking v.1.3.6.2.

    I've done everything as it says in the ReadMe.txt.

    Am i missing something?

  5. #5
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: User tracking mod

    Quote Originally Posted by a_berezin View Post
    Woody!
    1. Run this sql-patch:
    Code:
    UPDATE configuration_group SET visible = '1' WHERE configuration_group_id =999 LIMIT 1 ;
    2. Remove user_tracking_config.php from user_tracking_tools_dhtml.php box (for admin_profile):
    Code:
    $options = array( array('box' => BOX_TOOLS_USER_TRACKING, 'page' => FILENAME_USER_TRACKING),
    				);
    3. Remove user_tracking_config.php file from admin directory.
    Thanks Andrew! That did it.

    One thing in step number two above. Looks like maybe an extra comma? So should it be:
    Code:
    $options = array( array('box' => BOX_TOOLS_USER_TRACKING, 'page' => FILENAME_USER_TRACKING) );
    Above is how I did it and it worked. Or maybe the comma doesn't matter? Thanks again.

    Woody

  6. #6
    Join Date
    Sep 2004
    Posts
    745
    Plugin Contributions
    4

    Default Re: User tracking mod

    Woody:

    Yes I forgot to send the updated language file, sorry!

    For now add these to: includes/languages/english/user_tracking.php

    Code:
    define('ENTRY_START_DATE', 'Start:');
    define('ENTRY_START_DATE_TEXT', '*');
    I will try to put an updated archive which contains the latest code, GEO_IP data and country flags and upload it to the contrib area early next week. For now the above should get you through.

    Thanks for the feedback,
    Jeff

  7. #7
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: User tracking mod

    Quote Originally Posted by JeffD View Post
    For now add these to: includes/languages/english/user_tracking.php
    Code:
    define('ENTRY_START_DATE', 'Start:');
    define('ENTRY_START_DATE_TEXT', '*');
    I assume you meant to add to:
    admin/includes/languages/english/user_tracking.php

    ;-)

    Quote Originally Posted by JeffD View Post
    I will try to put an updated archive which contains the latest code, GEO_IP data and country flags and upload it to the contrib area early next week. For now the above should get you through.
    Very good! Happy Turkey Day!

    Woody

  8. #8
    Join Date
    Sep 2007
    Location
    montana
    Posts
    40
    Plugin Contributions
    0

    Default 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
    Attached Images Attached Images  

  9. #9
    Join Date
    May 2007
    Posts
    53
    Plugin Contributions
    0

    Default 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

    Quote Originally Posted by outpostmontana View Post
    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

  10. #10
    Join Date
    Sep 2007
    Location
    montana
    Posts
    40
    Plugin Contributions
    0

    Default Re: User tracking mod

    Maz44,

    Thanks worked like a charm. on the first try.



    Vicky

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. User Tracking Mod only shows the Admin Session
    By Griff1324 in forum General Questions
    Replies: 6
    Last Post: 29 May 2008, 10:56 PM
  2. User Tracking Mod issue: repeated Logins: Admin: View Sessions
    By dharma in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 20 Feb 2008, 04:48 AM
  3. Search log mod vs. user tracking
    By ashton0603 in forum General Questions
    Replies: 4
    Last Post: 30 Jan 2008, 08:43 AM
  4. Google Analytics vs User Tracking mod
    By miles in forum General Questions
    Replies: 1
    Last Post: 15 Jun 2007, 10:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg