Gossamer Forum
Home : Products : Links 2.0 : Customization :

2 questions about Rate It

Quote Reply
2 questions about Rate It
Hello,
I have some questions about "Rate It". I give the rate code to the visitors but when someone rate a site using that code on any page it don't rate it automatic, it takes the person to the rate it URL of my site and ones he/she rate it there it give you the thanks. What I must do to make it automatic?
The rate code that I give is:

<FORM METHOD="POST" ACTION="http://www.buffy-slayer.org/codes/rate.cgi" target="_top">
<table border="0" width="166" height="60"
background="http://www.buffy-slayer.org/codes/rate2.jpg" cellspacing="0" cellpadding="0"><tr><td width="164" valign="middle" align="center">
<p align="right"><INPUT
TYPE="HIDDEN" NAME="ID" VALUE="Enter_Site_ID_Here!"><small>
<SELECT NAME="R" SIZE="1">
<OPTION>--- </OPTION>
<OPTION>10</OPTION>
<OPTION> 9</OPTION>
<OPTION> 8</OPTION>
<OPTION> 7</OPTION>
<OPTION> 6</OPTION>
<OPTION> 5</OPTION>
<OPTION> 4</OPTION>
<OPTION> 3</OPTION>
<OPTION> 2</OPTION>
<OPTION> 1</OPTION>
</SELECT></small>
<INPUT TYPE="IMAGE" SRC="http://www.buffy-slayer.org/codes/rate2.gif" width="55"
height="19" VSPACE="5" ALT="RATE IT!" BORDER="0" ALIGN="absmiddle"></p>
</td></tr>
</table></FORM>

And one thing more, how can I change the URL of the sites at the "Top rate 10"? they have their real URL and I would like to put the URL "<%db_cgi_url%>/jump.cgi?ID=<%ID%>".
Bye bye and thanks in advanced...

Jorge

Quote Reply
Re: 2 questions about Rate It In reply to
Have a look at the Resource Center, there's an External Rate modification...

As for your second question: in sub build_rate_page in nph-build.cgi replace
Code:
<a href="$link{'URL'}">$link{'Title'}</a>
with
Code:
<a href="$build_jump_url?ID=$link{$db_key}">$link{'Title'}</a>
(two occurances, for top voted and top rated).

Thomas
http://www.japanreference.com