Results 1 to 10 of 858

Threaded View

  1. #11
    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.

 

 

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