Author Topic: The "rating" number count.  (Read 12078 times)

0 Members and 1 Guest are viewing this topic.

Offline Jay10

  • Newbie
  • *
  • Posts: 25
    • View Profile
The "rating" number count.
« 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

Offline Jay10

  • Newbie
  • *
  • Posts: 25
    • View Profile
The "rating" number count.
« Reply #1 on: May 08, 2002, 03:39:45 AM »
Disregard! I fixed it.

Offline Jay10

  • Newbie
  • *
  • Posts: 25
    • View Profile
The "rating" number count.
« Reply #2 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>

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
The "rating" number count.
« Reply #3 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
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Jay10

  • Newbie
  • *
  • Posts: 25
    • View Profile
The "rating" number count.
« Reply #4 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?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
The "rating" number count.
« Reply #5 on: May 08, 2002, 02:33:01 PM »
No, can i see this in action?

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Jay10

  • Newbie
  • *
  • Posts: 25
    • View Profile
The "rating" number count.
« Reply #6 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

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
The "rating" number count.
« Reply #7 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
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Jay10

  • Newbie
  • *
  • Posts: 25
    • View Profile
The "rating" number count.
« Reply #8 on: May 08, 2002, 03:42:52 PM »
Thanks, I have it. I wasn't pressing the actual rating button first.