Results 1 to 10 of 858

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: User tracking mod

    Quote Originally Posted by pititis View Post
    A customer from me want to track ONLY registered users. Here is the code to include into tpl_footer.php:

    Code:
    <?php if (ZEN_CONFIG_USER_TRACKING == 'true' AND $_SESSION['customer_id'] != '') { zen_update_user_tracking(); } ?>
    Cheers
    How do you know if they are a "registered user" if they haven't logged in?
    This means you would only start tracking most of them when they commence the checkout process.
    You will miss all the clicks they used to get to that point.
    To me thats the important bit, not the half dozen or so clicks to get thru the checkout.

    Sure a small number login when they hit the website, but on my websites that is very small.

  2. #2
    Join Date
    Oct 2010
    Location
    Andalucía
    Posts
    15
    Plugin Contributions
    0

    Default Re: User tracking mod

    Quote Originally Posted by gilby View Post
    How do you know if they are a "registered user" if they haven't logged in?
    This means you would only start tracking most of them when they commence the checkout process.
    You will miss all the clicks they used to get to that point.
    To me thats the important bit, not the half dozen or so clicks to get thru the checkout.

    Sure a small number login when they hit the website, but on my websites that is very small.
    Checking the customer_id for the session. No customer_id means no login.

    Not exactly, this website shows prices only to registered and approved users (wholesale stuff).

    Cheers!

  3. #3
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: User tracking mod

    Quote Originally Posted by pititis View Post
    Checking the customer_id for the session. No customer_id means no login.

    Not exactly, this website shows prices only to registered and approved users (wholesale stuff).

    Cheers!
    For a wholesale only site, that would work!

  4. #4
    Join Date
    Oct 2010
    Location
    Andalucía
    Posts
    15
    Plugin Contributions
    0

    help question Admin page registration issue v1.51

    Hello,

    I'm using this mod in v1.51. Superuser can use this mod without problems but no the rest of profiles (They get always:
    Sorry, your security clearance does not allow you to access this resource.
    Please contact your site administrator if you believe this to be incorrect.
    Sorry for any inconvenience.)

    The original sql code for the registration:
    Code:
    INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('UserTracking', 'BOX_TOOLS_USER_TRACKING', 'FILENAME_USER_TRACKING', '', 'tools', 'Y', 10000); 
    
    INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('UserTrackingConfig', 'BOX_TOOLS_USER_TRACKING_CONFIG', 'FILENAME_USER_TRACKING_CONFIG', '', 'tools', 'Y', 10001);
    /MYADMIN/includes/extra_datafiles/user_tracking_database_tables.php:
    Code:
    <?php
    define('TABLE_USER_TRACKING', DB_PREFIX . 'user_tracking');
    define('DIR_WS_FLAGS', 'images/flags/');
    define('BOX_TOOLS_USER_TRACKING', 'User Tracking');
    define('BOX_TOOLS_USER_TRACKING_CONFIG', 'User Tracking Config');
    define('FILENAME_USER_TRACKING', 'user_tracking.php');
    define('FILENAME_USER_TRACKING_CONFIG', 'user_tracking_config.php');
    ?>
    - sql code exist in the admin_pages table
    - admin_page_to_profiles, profile_id to page_key is ok (profile_id =2, page_key = UserTracking and UserTrackingConfig)
    - admin_profiles profile_id=2 is defined

    I'm lost, I don't see nothing wrong here. I need your light.

    Cheers!
    Last edited by pititis; 13 May 2013 at 01:38 PM.

  5. #5
    Join Date
    Oct 2010
    Location
    Andalucía
    Posts
    15
    Plugin Contributions
    0

    Default [Solved] Admin page registration issue v1.51

    Solved!

    Just remove the .php extension in FILENAME_USER_TRACKING and FILENAME_USER_TRACKING_CONFIG

    /MYADMIN/includes/extra_datafiles/user_tracking_database_tables.php
    PHP Code:
    <?php
    define
    ('TABLE_USER_TRACKING'DB_PREFIX 'user_tracking');
    define('DIR_WS_FLAGS''images/flags/');
    define('BOX_TOOLS_USER_TRACKING''User Tracking');
    define('BOX_TOOLS_USER_TRACKING_CONFIG''User Tracking Config');
    define('FILENAME_USER_TRACKING''user_tracking.');
    define('FILENAME_USER_TRACKING_CONFIG''user_tracking_config');
    ?>
    Cheers
    Last edited by pititis; 13 May 2013 at 03:01 PM.

 

 

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