Script URL: http://www.beverhood.de/ccount
Version of script: 1.1
Hosting company: Evanzo
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Searched
Write your message below:
Hey! Im using it on joomla CMS. The Counter works finde, but nothing is displayed. I think its a problem with the javascript:
<script language="Javascript" src="http://www.beverhood.de/ccount/display.php">
<!--
//-->
</script>
<p><img src="images/eigene/videos.jpg" alt=" " width="300" height="60" /> <strong>6</strong> Videos wurden bereits <strong>342 </strong>mal angeschaut</p><p> </p><p><strong>Janines 18er Geburtstag...da blieb kein Auge trocken </strong></p><p><img src="images/eigene/janine.gif" alt=" " width="250" height="174" align="left" /></p><font size="2" color="#004080"><font size="2" color="#004080"><font size="2" color="#004080"><font size="2"><p><a href="ccount/click.php?id=1" target="_blank"><font size="2" color="#004080"><font size="2" color="#004080"><font size="2" color="#004080"><font size="2"><strong><strong>Abspielen!</strong></strong></font></font></font></font></a>
Thats the page with a link.
Klicks not displayed
Your Javascript is ok, but something is missing. See the readme.htm again under "Displaying number of clicks on a link" - you forgot to place the second code (under 2. Add this code where you want the number of clicks to appear:).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
I am having the same problem and I am sure that I put it right. I tested with five counters and the admin page shows the right counts.
Could it be that I am using MS Publisher 2003 that filters the html code when generating its index-files? The generated code looks like this where the clicks are to be shown:
</span><![endif]><!--[if gte vml 1]><![if mso]><v:rect id="_x0000_s1146"
style='position:absolute;left:516pt;top:270pt;width:45pt;height:24pt;
z-index:54' filled="f" stroked="f" insetpen="t" o:cliptowrap="t">
<v:path insetpenok="f"/>
<o:lock v:ext="edit" rotation="t"/>
<o:webcomponent v:ext="edit" o:html="<script language="Javascript">ccount_display('1')</script>"
o:on="t"/>
</v:rect><![endif]><![endif]-->
<div style='position:absolute;margin-left:688px;margin-top:360px;width:60px;
height:32px;z-index:54'><script language="Javascript">ccount_display('1')</script></div>
br,
Håkan in Sweden
Could it be that I am using MS Publisher 2003 that filters the html code when generating its index-files? The generated code looks like this where the clicks are to be shown:
</span><![endif]><!--[if gte vml 1]><![if mso]><v:rect id="_x0000_s1146"
style='position:absolute;left:516pt;top:270pt;width:45pt;height:24pt;
z-index:54' filled="f" stroked="f" insetpen="t" o:cliptowrap="t">
<v:path insetpenok="f"/>
<o:lock v:ext="edit" rotation="t"/>
<o:webcomponent v:ext="edit" o:html="<script language="Javascript">ccount_display('1')</script>"
o:on="t"/>
</v:rect><![endif]><![endif]-->
<div style='position:absolute;margin-left:688px;margin-top:360px;width:60px;
height:32px;z-index:54'><script language="Javascript">ccount_display('1')</script></div>
br,
Håkan in Sweden
Mycke groove för pengarna
Problem solved (quite odd)
In Publisher, you insert "foreign" HTML code as an extra graphical object, just like pictures and text. You cant really determine whether what you insert is going to be placed between <head> and </head> or not. And you cant insert <head> in the HTML code.
What I did was to make sure that this code was inserted first
<script language="Javascript" src="http://www.domain.com/ccount/display.php">
<!--
//-->
</script>
before the appearance HTML codes are inserted. If you have this problem in Publisher, just make a copy of your appearance HTML-codes and delete what you copied from.
What I did was to make sure that this code was inserted first
<script language="Javascript" src="http://www.domain.com/ccount/display.php">
<!--
//-->
</script>
before the appearance HTML codes are inserted. If you have this problem in Publisher, just make a copy of your appearance HTML-codes and delete what you copied from.
Mycke groove för pengarna
Yes, some programs create a very nasty code instead of simply allowing you to paste some code. The best thing is to open the HTML document in Notepad and manually adding the code, or you can use this trick:
http://www.phpjunkyard.com/tutorials/cut-paste-code.php
http://www.phpjunkyard.com/tutorials/cut-paste-code.php
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Script URL: http://www.spongedoc.extra.hu
Version of script: 1.1
Hosting company: Extra
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Searched
Hy!
I have a problem to display the count. This is my code:
I read all topics and try it, but don't work.
No empty lines in the clicks.txt
The counter display is:
Letöltések menu in the left side, and the page is loaded inside the right iframe.
The count display only once, when i upload the modified download.html, but when i refresh the page, the count is gone.
Version of script: 1.1
Hosting company: Extra
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Searched
Hy!
I have a problem to display the count. This is my code:
Code: Select all
HEAD
<script language="Javascript" src="http://www.spongedoc.extra.hu/counter/display.php">
<!--
//-->
</script>
AND BODY:
href="http://www.spongedoc.extra.hu/counter/click.php?id=1" title="WUHU extra" target="_blank">WUHUe 2007.02.23.</a><br>Letöltve: <font color="#FFFFCC"><script language="Javascript">ccount_display('1')</script></font> alkalommal</td>
No empty lines in the clicks.txt
The counter display is:
Letöltések menu in the left side, and the page is loaded inside the right iframe.
The count display only once, when i upload the modified download.html, but when i refresh the page, the count is gone.
The problem is your hosting company, they automatically add this code to every page:
And that breaks the Javascript code generated in display.php
Code: Select all
<body><script src="http://webmaster.extra.hu/webmaster.extra.php?scr=1&username=spongedoc&host=www.spongedoc.extra.hu&rid=-468772352" type="text/javascript"></script>
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools