Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2011
    Posts
    36
    Plugin Contributions
    0

    Default Hit Counter History beyond 10 days

    Hi, I was wondering if there is a spot where I can obtain the hit counter information further back than the standard 10 days shown on the admin home page? I don't use Google analytics or any other third party reporting, and rely on the hit counter numbers.

    Please provide steps from admin

    Regards,

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Hit Counter History beyond 10 days

    Around line 36 of the file:
    /your_admin_dir/index.php

    you could change this query from 10 to a higher value:
    Code:
      $counter_query = "select startdate, counter, session_counter from " . TABLE_COUNTER_HISTORY . " order by startdate DESC limit 10";
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Dec 2011
    Posts
    36
    Plugin Contributions
    0

    Default Re: Hit Counter History beyond 10 days

    Hi Ajeh

    Thank you -I cant find that line

    Can you show which place i should click to get there after i log in to admin?

    Many Thanks !

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Hit Counter History beyond 10 days

    This is a file that you would need to customize via FTP and load to your server once you change the code from 10 to the value you wish to use ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Dec 2011
    Posts
    36
    Plugin Contributions
    0

    Default Re: Hit Counter History beyond 10 days

    Hi

    Thank you :) I am here -see image attached . What should i do next ?
    ManyName:  php.jpg
Views: 189
Size:  35.5 KB Thanks !

  6. #6
    Join Date
    Jan 2014
    Location
    Ontario, Canada
    Posts
    252
    Plugin Contributions
    3

    Default Re: Hit Counter History beyond 10 days

    Tundria,
    Make sure you are in YOUR_ADMIN folder, select index.php
    If you can use a custom search, find 'limit'.
    Ajeh has highlighted the specific area you need to change.

    I would suggest commenting out where you have made changes to this file because there is no overwrite template to change here.

    Hope that helps,

 

 

Similar Threads

  1. v139h Hit Counter History beyond 10 days
    By My_Red_Zebra in forum General Questions
    Replies: 2
    Last Post: 1 Aug 2012, 12:29 AM
  2. Counter History for last 10 days
    By Donna Joe in forum General Questions
    Replies: 4
    Last Post: 12 Apr 2011, 01:28 PM
  3. Counter History for last 10 recorded days
    By asklair in forum General Questions
    Replies: 5
    Last Post: 26 Sep 2008, 03:49 AM
  4. Counter History for last 10 record days
    By nomadrw in forum General Questions
    Replies: 2
    Last Post: 20 Nov 2007, 11:18 PM
  5. counter history last 10 days...
    By dandiliongrl12 in forum General Questions
    Replies: 1
    Last Post: 19 Apr 2007, 10:28 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR