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

Who determines what's popular?

Quote Reply
Who determines what's popular?
Hello,

Was wondering who determines what's popular in the links database. Is it me (administrator) who decides so by selecting it, or does the script determine it by calculating how mant times a link is clicked?

or...something else?
Quote Reply
Re: Who determines what's popular? In reply to
The script calculates which links are considered popular based on the links.cfg configuration:

Quote:
# Setting for popular cutoff, can either be a percent (i.e. top 3%), or
# a fixed value (i.e. top 10). Enter 0.03 or 10 respectively.
$db_popular_cutoff = 0.03; # Top 3%

If you specify a number less than 1 (i.e., 0.03), the script calculates based on the total number of links in your database and will display the top 3% of all links with hits. As the number of links increases, the total number of popular links displayed may also increase.

If you specify a non-decimal number, then Links will display only the links with the most hits, not to exceed the number you specify. That is, if you put 5 here, then only the top 5 links are included in the What's Cool page. The number of links will never increase because you have said to only show that number.

I hope this answers your question.
Quote Reply
Re: Who determines what's popular? In reply to
It answers my question beautifully.

Thank you so much. Anything I can do for you?

Quote Reply
Re: Who determines what's popular? In reply to
 
Quote:
Thank you so much. Anything I can do for you?

Want to pay off all my debts? Wink
Quote Reply
Re: Who determines what's popular? In reply to
Ummmmmmmmm!! NO Smile
Quote Reply
Re: Who determines what's popular? In reply to
Has anyone put together a mod for a "cool" graphic next to popular links, ala "new" graphics? It doesn't seem like this would be too hard, although I haven't delved into the necessary code just yet. If nobody has already done it, I'll probably give it a try...

Dan
Quote Reply
Re: Who determines what's popular? In reply to
Dan,

This is just an HTML edit! Just replace your "pop" text with an <img src...> tag. Depending on wether you are using Templates or not will depend on what file you make the changes in. site_html_template.pl with templates or site_html.pl without.

Rod