Page 1 of 1

Can i have the click counter working as follows;

Posted: Mon Jan 02, 2006 4:49 am
by Danlew
Can i have the click counter working like this on the home page, and how do i do this?


Total No. of Hits: 45,213,832 (will be the homepage Hits)
Total No of Individual Visits: 1083865 (will be the ccount link hits)
Last Updated 30-Dec-2005

Posted: Mon Jan 02, 2006 11:04 am
by Klemen
CCount does not count HITS, but CLICKS. How to display the count see readme.htm file.

If you have a lot of visitors I suggest you find a counter with a MySQL database.

Regards

Posted: Tue Jan 03, 2006 4:32 am
by Danlew
Ok, Ive had a little look around your website & I guess what i am really after is something you already have, and that seems to be the PHP text hit counter 1.0.

Now just to let you know I have Installed this successfully, but I am having troubles working out your read me file doesnt tell me where i need to put the display on my Home page, the display is what ive listed here:

84382 visits since xx-yy-zzzz
Number of visitors so far: 84383
84384
This page has been visited 84385 times!

Etc, etc ...

Posted: Tue Jan 03, 2006 10:54 am
by Klemen
See the readme again, under "Quick installation" starting with "Now to make your counter work just use this piece of code on your site:"

Posted: Wed Jan 04, 2006 8:08 am
by Danlew
I have put the code in

<SCRIPT LANGUAGE="Javascript" SRC="http://www.mysite.com/counter/counter.php?page=index"><!--
//--></SCRIPT>

but it is not working, do i need an Admin for this to work?

do i need to put this in somehere also;

84803 visits since xx-yy-zzzz
Number of visitors so far: 84804
84805
This page has been visited 84806 times!

Etc, etc ...



and how do i change the words around it? if i want it to say

84803 visits & updated since xx-yy-zzzz

Posted: Wed Jan 04, 2006 8:15 am
by Klemen
What is the URL of your page, where this code is?

This code will only print out the NUMBER (for example 1234), all the words around the code are in HTML and you should add/edit them in your HTML editor.

You can just create the page in your HTML editor and then insert the above code in place where you want the number of clicks to appear. Here is an article on how to do it easily without any HTML knowledge:
http://www.phpjunkyard.com/tutorials/cut-paste-code.php

Posted: Thu Jan 05, 2006 9:21 am
by Danlew
Sometimes Ive got to slap myself in the face, Ive got it!
but you know i havnt done too bad for someone that has never gone to school & developed a full commerce site.

Thanks once again Klemen,
I got your name right this time

Dann