Gossamer Forum
Home : Products : Links 2.0 : Customization :

In what file are the HITS counted???

Quote Reply
In what file are the HITS counted???
And, how can i stop the counting of hits???
Quote Reply
Re: [gossy] In what file are the HITS counted??? In reply to
Each record has it's own counter which is stored in the admin/data/hits directory. To quit counting hits, just edit your links.html template file so that you use the <%URL%> tag in place of jump.cgi?ID=<%ID%>.

Philip
------------------
Limecat is not pleased.
Quote Reply
Re: [fuzzy thoughts] In what file are the HITS counted??? In reply to
If it was that easy it would be great.

I have never used that link.html template.

only use the templates search_results.html and category.html

In category i have no such tag you mention (but i found it in link.html)

I have only

<!-- Next/Previous links if spanning pages. -->
<%if prev%>
<small><a href="<%prev%>">Prev <%build_links_per_page%></a></small>
<%endif%>
<%if next%>
<small><a href="<%next%>">Next <%build_links_per_page%></a></small>
<%endif%>
<HR SIZE="1" ALIGN=LEFT NOSHADE WIDTH="90%">
<FONT FACE="MS Serif" FONT SIZE="3">
<%if links%>

<!-- Links -->
<%links%>

<%endif%>

in there

same thing in search results....

Does link.html have indirectly an influence on the 2 named files (i know the links are displayed by linkID not by their URL so far)????

Isn't there any piece of cgi script (i found several - but they would either not do anything else when uncommented or result in a SERVER ERROR message) that when uncommented correctly would take care of this????
Quote Reply
Re: [fuzzy thoughts] In what file are the HITS counted??? In reply to
okay, i tried it anyway already and it indeed stops the conting in admin>data>hits.

Only one little trouble with this solution;

The links ID was very useful and easier to delete blind links!

(this way now i have to read and type the entire URL instead of just the ID to find the deadlink in the admin) so if there was anyway a cgi script solution like uncommenting something to stop the counting while keep on using the link ID thing i would like to try that as well.
Quote Reply
Re: [gossy] In what file are the HITS counted??? In reply to
You can still use the ID number. The best way to do it, is install the deadlink mod, where your visitors can report bad links. That will automatically assign the ID to itt, so you can delete it if you want Smile

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] In what file are the HITS counted??? In reply to
Cool Thanks for that Andy, the ID wasen't so much for deadlinks as i have a seperate form (outside of Links2) for the deadlinks reporting (for a bit of security on my behalf).

What i usually used the ID for was to edit any spelling tipos or such things after checking the newly added links. I can of course now simply copy the Desrcption or Title and paste it in the admin for a search, but when i tested it with a quick "fake" link where i used only one letter for title and description i noticed that Links2 returns virtually everything that has an "m" in either title or Description which is not exactly helping matters i thought it would be somewhat easier to have those link ID's but i guess there is no other way?
Quote Reply
Re: [fuzzy thoughts] In what file are the HITS counted??? In reply to
In Reply To:
Each record has it's own counter which is stored in the admin/data/hits directory. To quit counting hits, just edit your links.html template file so that you use the <%URL%> tag in place of jump.cgi?ID=<%ID%>.


My link.html template looks like this since you gave me the direction as above

-----------------------------------------------------------

<a href="<%URL%>" Target="New"><%Title%></a>

<%if Description%>
- <%Description%>
<%endif%>
<BR>

----------------------------------------------------------------

yet, hits keep on counting like nuts.

I posted a new thread with the end of each link in links.db, thought there might be the problem in, but perhaps it isn't even there

|0|No|No|0|0|Yes

0 or No should stop it - but it apparently doesn't, so what would????