How-To Add A Show Clicks For "Today" Link To CCoun

Post your Click counter digestion problems here
Post Reply
testservers
Posts: 2
Joined: Fri Feb 26, 2010 2:36 am

How-To Add A Show Clicks For "Today" Link To CCoun

Post by testservers »

Script URL: http://smyurl.com/af1/index.php
Version of script: CCount Version: 1.2
Hosting company: top-domains-for-sale.com
URL of phpinfo.php: http://smyurl.com/phpinfo.php
URL of session_test.php: http://smyurl.com/session_test.php
What terms did you try when SEARCHING for a solution: time stamp, clicks today, other terms I forgot.

Write your message below:

Hello,

I first wanted to say that I thank you for such a great PHP Click Counter script. It is helping me in many ways. I'm going to be able to make a donation next Friday or before. This is what I've been looking for.

I do have a question though, and it is:
How can I add a link to the top of the page that says "Today" and when clicking on that link, it would display all of the clicks for today only, instead of the date field, make it the time field displaying the last time the link was clicked?
Here go a simply screen shot here:
http://smyurl.com/af1/images/image7c.jpg

Basically, all the other data from that "Today" page would reflect all of the data just for today.

At the moment, I have so many links that I'm tracking, but when I click on refresh, I can see that the count goes up, but I don't know which id got the clicks. I'm tracking hundreds of links and this scripts works flawlessly.

Thanks for your valued time and such a great script.

Kevin

[UPDATE] 8:15 PM
I'm looking over the index.php file and I found where to put the link "Clicks Today" link. It's on the page, now I need it to link to today's clicks.

Will I have to create a new page or could I make the changes inside of the index.php?

I have experience with php/mysql, but I have to brushen up my skills. I'm also going to look over some php documentations to see how I can capture the time a link is clicked, along with the data it already collects.

Thanks again for your valued time.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

What you ask for is not possible with the current version of the script. Ccount only stores the number of clicks on a link, no additional info about the click is stored. In order to do what you want, you would have to edit the script to store the extra info you need.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
testservers
Posts: 2
Joined: Fri Feb 26, 2010 2:36 am

Post by testservers »

Henrie wrote:What you ask for is not possible with the current version of the script. Ccount only stores the number of clicks on a link, no additional info about the click is stored. In order to do what you want, you would have to edit the script to store the extra info you need.

Greetings,
Henrie
Thanks for the info, but I know it will have to be modified. Do you know of any coding I would need to make this work? Any code suggestion/assistance would help me out.

Kevin
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Sorry, i don't. I just use it as it is. I do not need additional features.
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Post Reply