4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Jay10 on May 08, 2002, 12:54:39 AM
-
I want to change the rating number count from "5" to "10" where do I change it? Thanks
-
Disregard! I fixed it.
-
I changed the rating numbers from "5" to "10". I tried to rating a picture using rating "10" but it won't add the 10 rate to the rating votes. I'm having the same problem with 6,7,8 and 9.
Here's what I changed in the "rate_form"
<select name="rating" class="select">
<option value="">--</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>
-
See "includes/constants.php" and change:
define('MAX_RATING', 5);
to:
define('MAX_RATING', 10);
Greets Jan
-
It's still not working. Do you think I need to change something else in another file?
-
No, can i see this in action?
Jan
-
The rating isn't voting and rating at all now. Please check your PM for the link to my Gallery. Thanks
-
It works perfectly. You have to know that you can vote for an image only one time per session.
Jan
-
Thanks, I have it. I wasn't pressing the actual rating button first.