Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Hit counting does not work

Quote Reply
Hit counting does not work
Hi,
I am running links2 on my site and having problem with hits counting, hits on links are still on 0. I personally personally clicked some links and the built the pages using build all but hit conying on the links is 0. What could be the problem.
I am adding my links using html codes in description only.
Help please
Rizwan
Quote Reply
Re: Hit counting does not work In reply to
 
Quote:
I am adding my links using html codes in description only.

Huh?

Anyway, look in your links.db file. Are the links hits being incremented in that file?

What tag are you using in your link.html template file?

Check the permissions of your data directory and files to make sure they are set properly.

Try using the Staggered Build if all else fails.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Hit counting does not work In reply to
What do you mean adding by using HTML codes?

What the heck are you doing to add links in your directory? The standard methods are add.cgi and the Add Link option in the LINKS MANAGER.

BE MORE SPECIFIC OR PROVIDE A LIVE EXAMPLE OF YOUR LINKS DIRECTORY!!!!!!!!!!

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------









Quote Reply
Re: Hit counting does not work In reply to
Hi,
If the links are added using html code (like clicktrade's) the hit counting do not works other wise it works. Can this problem be solved.
Rizwan
Quote Reply
Re: Hit counting does not work In reply to
Hi,
I m sorry that i failed to explain about html code. I meant by html code is.
e.g. When i sign up for any link exchange site, after signing up they give us an html code like the one below


<!-- begin clickXchange, v2.2, Fixed Advertisement, copyright 1999 -->
<a href="http://www.clickXchange.com/fr.phtml?act=48983|193">Webmasterhome.com</a> -
Webmasterhome.com provides affordable webhosting, domain registration and tools for the smart webmaster.
<img src="http://www.clickXchange.com/ft.phtml?act=48983|193" border=0 width=1 height=1>
<!-- end clickXchange, v2.2 -->


and i insert this html code in the description box and i dont enter any thing in other fields of add.cgi because i have made fields Title and URL as optional.
I think you would have understood my point.

You can also visit pages by clicking the link below

http://weblinks.net.pk/pages/

Regards
Rizwan

Quote Reply
Re: Hit counting does not work In reply to
Well, the reason that the hits are not incrementing is that you are not using the jump.cgi script for your links.

If you want HITS to increment in your site, then you need to add the following codes in your link.html file:

Code:
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>

Jump.cgi is the only way to increment hits in your directory.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------









Quote Reply
Re: Hit counting does not work In reply to
Hi,

I inserted it in link.html opening it with Edit Template but the hits are still not added
Please tell me where to add this code in link.html

<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>

Or you can visit my admin page at
http://weblinks.net.pk/cgi-bin/link/admin/admin.cgi
I have not password protected it yet
Regards
Rizwan
Quote Reply
Re: Hit counting does not work In reply to
Okay...I see your problem. You need to take out the URL for each out of the Description field and put the URL in the URL field! jump.cgi uses the url.db file, which contains the ID number and URL. Since you do not HAVE any URLs, the url.db probably looks like this:

1|
2|
3|
4|
5|

You need to have the URL for the link in the URL field in order for jump.cgi file to work.

Don't see what I mean...go to following link ID: 170. I have modified this link to how it should look.

I also edited the link.html to how it should look. And I rebuilt your directory.

You will now have to edit all your links like 170!

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. Smile
----------------------











[This message has been edited by Eliot (edited February 13, 2000).]