Hi guys
I'm having a weird trouble. Some images that shows 0 points in rating and 0 votes, show me the message Sorry, you've already rated for this image once recently. How is this possible if they have 0 votes and 0 rating. In fact, 0 is not a valid value for voting, so if you vote once, you could't get 0 rating.
Weird eh?
Some ideas? My code of rating_form.html is as follow:
<table border="0">
<tr>
<td><form method="post" action="{parent}">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td class="head1">
<table border="0" cellspacing="0" cellpadding="3" class="row1">
<tr>
<td valign="bottom">
<select name="rating" class="select">
<option value=""> -- Select and Vote -- </option>
<option value="10">10</option>
<option value="9">9</option>
<option value="8">8</option>
<option value="7">7</option>
<option value="6">6</option>
<option value="5">5</option>
<option value="4">4</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="1">1</option>
</select>
</td>
<td>
<input type="hidden" name="action" value="rateimage" />
<input type="hidden" name="id" value="{image_id}" />
<input type="submit" value="{rate}" class="button" name="submit" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</td>
<td width="50"></td>
<td>
<FORM>
<div align="center">
<INPUT name="Submit" type="submit" class="button" value="Return" action="index.php">
</div>
</FORM> </td>
</tr>
</table>
Cheers
David