Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Admin rating only and still having top rated??

Quote Reply
Admin rating only and still having top rated??
Hi all.

I have designed a site where admin can only rate the link, but i would like the top rated page to display the top rated links which have been rated highest.

I have changed the line in the nph-build.cgi file as specified in the faq, but the template i have doesnt have any tags in the rate_top.html page what should the tags be and will it work



------------------
Regards
MDJ
http://www.isee-multimedia.co.uk
Quote Reply
Re: Admin rating only and still having top rated?? In reply to
Which FAQ are you looking at? I don't see the one you are referring to.

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: Admin rating only and still having top rated?? In reply to
Eliot here is alink to the resource

http://www.gossamer-threads.com/...es/Detailed/367.html



------------------
Regards
MDJ
http://www.isee-multimedia.co.uk
Quote Reply
Re: Admin rating only and still having top rated?? In reply to
Thanks for showing me the exact FAQ...You do not need to change the rate_top.html file. Use the same tags that came with the original file.

The only thing that the codes that you are using now do is to stop the Ratings field from incrementing with outside votes. Only the Admin can set the value of that field in the LINKS MANAGER.

Do you understand?

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: Admin rating only and still having top rated?? In reply to
Hi eliot,

Im using the altavista style templates but the page hasnt got any tags in it

Can some one enlighten me??



------------------
Regards
MDJ
http://www.isee-multimedia.co.uk
Quote Reply
Re: Admin rating only and still having top rated?? In reply to
The tags you need to use for the rate_top.html template are the following:

Code:
<%top_rated%>

AND

Code:
<%top_votes%>

If you look in the nph-build.cgi in the sub build_rate_page, you can see the variables that are used...also, the tags should already be defined in the sub site_html_ratings in the site_html_templates.pl...If not, the Mod author made a big boo boo.

Regards,

------------------
Eliot Lee....
* Check Resource Center
* Search Forums