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

10.00 and 10 ratings

Quote Reply
10.00 and 10 ratings
Hello-

With regards to "Top Rated" page, some of the sites listed are listed with a rating of "10" and some are listed as "10.00"...

Any ideas??

Thanks,

Jason
Quote Reply
Re: 10.00 and 10 ratings In reply to
Did you make any changes to your sub build_update_ratings -OR- sub build_update_newpop routines in the nph-build.cgi file?

BTW: This type of question should be posted in the LINKS DISCUSSION FORUM.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: 10.00 and 10 ratings In reply to
Yes-

Per the following instructions in the FAQ for allowing sites with less than 10 ratings to be listed on the Top Rated page:

edit nph-build.cgi
find:
$votes = $values[$db_votes];

replace with:
$votes = $values[$db_votes] + 10;

I changed the above line to:
$votes = $values[$db_votes] + 5;
so that a site with 5 or more ratings would appear..

Thanks for the help..



Quote Reply
Re: 10.00 and 10 ratings In reply to
By changing those codes...the numbers will be different. Rather than 10.00, now the rating will be 10.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.