4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Jay10 on May 08, 2002, 12:54:39 AM

Title: The "rating" number count.
Post 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
Title: The "rating" number count.
Post by: Jay10 on May 08, 2002, 03:39:45 AM
Disregard! I fixed it.
Title: The "rating" number count.
Post by: Jay10 on May 08, 2002, 01:58:03 PM
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>
Title: The "rating" number count.
Post by: Jan on May 08, 2002, 02:07:14 PM
See "includes/constants.php" and change:

define('MAX_RATING', 5);

to:

define('MAX_RATING', 10);

Greets Jan
Title: The "rating" number count.
Post by: Jay10 on May 08, 2002, 02:31:05 PM
It's still not working. Do you think I need to change something else in another file?
Title: The "rating" number count.
Post by: Jan on May 08, 2002, 02:33:01 PM
No, can i see this in action?

Jan
Title: The "rating" number count.
Post by: Jay10 on May 08, 2002, 03:17:26 PM
The rating isn't voting and rating at all now. Please check your PM for the link to my Gallery. Thanks
Title: The "rating" number count.
Post by: Jan on May 08, 2002, 03:20:10 PM
It works perfectly. You have to know that you can vote for an image only one time per session.

Jan
Title: The "rating" number count.
Post by: Jay10 on May 08, 2002, 03:42:52 PM
Thanks, I have it. I wasn't pressing the actual rating button first.