Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How do I stop links from counting up on viewing screenshots?

Quote Reply
How do I stop links from counting up on viewing screenshots?
When someone downloads a file from my Links installation it bumps up the hit counter by 1 and we use the jump.cgi file to allow people to download files from our links installation. In the url for people to click on to download files it has this: jump.cgi?ID=55&download=content

When someone views a screenshot the url is this: jump.cgi?ID=55&view=content

I don't want the hit counter going up one when they are viewing a screenshot.

In the Jump.pm file I notice that there is routines for both download and for view, and can someone tell me how to alter the view routine so that it doenst make the hit counter go up by 1. When someone clicks on jump.cgi?ID=55&view=content I dont want the hit counter going up, but when they click on jump.cgi?ID=55&download=content I DO want the hit counter to go up by one.

Thanks if you can help.