Page 1 of 1
will Click Counter work at a Lycos webpage site?
Posted: Wed Sep 17, 2008 11:24 pm
by sgrayson
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
I used to have a free download site track my downloads (
www.download.com) but they have closed up shop.
I tried several months ago to use this script ( and a couple others) but could not figure it out. I am an old dude but willing to spend time to figure things out, but this counter has swiped me ...lol
Will this Click Counter work at my webpage?
Here is my web page:
http://members.lycos.co.uk/nr1999fan/2008c.html
Or do I need my own private server to use this script?
You can see from my site I am serious about using the counter. As I have figured out everything you see and use HTML to run the site (no program was use to design the site).
If I could use this counter, I would have over 100 downloads set up on this page alone.
Regards
Steve
Posted: Thu Sep 18, 2008 3:06 pm
by Henrie
The startpage
http://www.tripod.lycos.co.uk/ says it supports php5.
This means, the click counter will most probably work.
But you never know for certain until you tested it.
Greetings,
Henrie
Posted: Thu Sep 18, 2008 10:48 pm
by sgrayson
Great news.
I'll dig back into this counter again, I'd really like to get it working.
I'll post my progress here and I am sure I'll have a few questions.
Thanks for a quick reply.
Posted: Sun Sep 21, 2008 8:30 pm
by sgrayson
I have followed all the instructions, which were very good.
I had trouble at first and stumbled onto the fact I had to change the link at my homepage to redirect to the ID number.
Now is there a way to get the NUMBER of downloads to appear on my web page? I have a BLOCK set up to show the number of downloads each car has been clicked.
I could then see the Download Numbers without having to enter the Adim site.
Thanks for the help
Steve
Posted: Sun Sep 21, 2008 11:53 pm
by Henrie
Hello Steve,
Open the readme.htm which is in the zip-file of ccount.
Scroll to Displaying number of clicks on a link
Instructions are very clear i think.
Greetings,
Henrie
Posted: Mon Sep 22, 2008 11:20 pm
by sgrayson
I followed the instructions but I am having no luck getting the NUMBER to appear on my web page.
I followed step #1 and that step worked fine.
I followed Step #2 - Here is what I posted at my site, but nothing appears in the download section.
</tr>
<tr border="Black" bgcolor="#82CAFF">
<td><font color="white">45</font></td>
<td><font color="white">Terry Labonte</font></td>
<td><font color="white">Petty Driving Experience</font></td>
<td><font color="white">Dodge</font></td>
<td><a href="
http://members.lycos.co.uk/nr1999fan/cc ... d=3"><font color="white">download</a></td>
<td> <script language="Javascript">ccount_display('3')</script> </td>
<td><font color="white">09/21/08</td>
The actual web page link is here:
http://members.lycos.co.uk/nr1999fan/2008c.html
What have I over looked or doing wrong?
Regards
Steve
Posted: Tue Sep 23, 2008 4:05 pm
by Henrie
Hi Steve,
What have I over looked or doing wrong?
I tested your page and i do not think you are doing anything wrong.
When i downloaded your page and replaced the link to the ccount folder with one on my computer, the numbers displayed.
I think the problem is in the javascript that Lycos adds before the opening <html> tag to display all the Lycos crap around your page.
I tried to find a solution but could not find one.
Only solution i can think of is to find another host than Lycos.
Greetings,
Henrie
Posted: Tue Sep 23, 2008 5:28 pm
by Klemen
Your host (Lycos) automatically adds some code to every page generated so it breaks the Javascript code in
http://members.lycos.co.uk/nr1999fan/ccount/display.php
which then isn't valid anymore.
Posted: Tue Sep 23, 2008 10:02 pm
by sgrayson
I like the Lycos hosting site, lots of upload space and unlimited band width, assures me the game updates I am making are available to everyone in the Nascar Racing 3 community.
I think I'll try to use another site to just host the current set of cars, then link my Lycos site to that new location, it may work that way.
Thanks
Steve
Posted: Sat Sep 27, 2008 2:37 pm
by sgrayson
I have moved enough of my site to this new location for testing purposes.
This site has no adds of any kind.
http://n99kid.byethost9.com/
I have the counter install and working as before.
However, I still can not get the NUMBER of clicks to appear on my web page.
CAR #6 which is David Ragan -- should be displaying the number of clicks.
Here is the code I am using.
<tr border="Black" bgcolor="black">
<td><font color="red">6</font></td>
<td><font color="red">David Ragan</font></td>
<td><font color="red">AAA Travel</font></td>
<td><font color="red">Ford</font></td>
<td><a href="
http://n99kid.byethost9.com/ccount/clic ... d=1"><font color="red">download</a></td>
<td> <script language="Javascript">ccount_display('1')</script> </td>
<td><font color="white">09/26/08</td>
</tr>
Any ideas as to why this is still not working for me?
Regards
Steve
Posted: Sat Sep 27, 2008 4:04 pm
by Henrie
You have the code that calls the display.php file not in the <head>...</head> section of your page.
Code: Select all
<script language="Javascript" src="http://www.domain.com/ccount/display.php">
<!--
//-->
</script>
Also the page is not correct html. I does not break your page now, but it could cause trouble with some scripts maybe.
A proper html page has the following build (tags)
Code: Select all
<html>
<head>
Code that belongs in head section
</head>
<body>
Text that should be displayed in browser
</body>
</html>
but you have extra
Code: Select all
<HEAD>
<BODY ....>
bla bla bla
<HTML>
<BODY>
</HTML>
in your page.
You should look at that also.
Greetings,
Henrie
[/code]
Posted: Sat Sep 27, 2008 6:05 pm
by sgrayson
Thanks Henrie for your assistance.
I have created 4 other sites this past week and can't remember what steps I have and have not taken at each one. It's been very confusing at times trying out each new site location.
I over looked one BIG step on this last site ... thanks for catching it.
It seems each site had its on screw ball thing that didn't lend itself to working for me.
One site did not allow zip files, another site tried to open every file as if it was a word document, and yet another requested that I adjust the CHMOD setting (Which I do not understand what that was .. lol).
Each time I hit a snag I just moved on to another server.
Thank you again for your help,
Steve
Posted: Sat Sep 27, 2008 7:52 pm
by Henrie
Hi Steve,
I saw you got it working now.
About CHMOD, look at the tutorial here
http://www.phpjunkyard.com/ftp-chmod-tutorial.php It might help you in the future. It sets read and write permissions for files and folders. And because the files clicks.txt and ids.txt need to be writable, you might have to chmod them and the ccount folder if permissions are not set correct initially.
Greetings,
Henrie
Posted: Thu Oct 02, 2008 10:59 pm
by sgrayson
Thanks for the additional link and info there.
That is easy ... lol
Regards
Steve