• How can I change max rating? 4 0 5 1
Currently:  

Author Topic: How can I change max rating?  (Read 19416 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
How can I change max rating?
« on: March 12, 2005, 10:36:50 PM »
In includes/constants.php change:
Quote
define('MAX_RATING', 5);

Then edit templates/<your template>/rate_form.html
and add more options acording to your max rating value
Code: [Select]
                <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>
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
Re: How can I change max rating?
« Reply #1 on: February 08, 2006, 07:55:04 AM »
what if I want to change it for a picture?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How can I change max rating?
« Reply #2 on: February 08, 2006, 08:45:59 AM »
Sorry, what picture?
maybe this?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Sir Sky-Walker

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: How can I change max rating?
« Reply #3 on: May 26, 2006, 02:29:17 PM »
I have now 1 - 10, but only 1 - 9 is selectablly. Why?

------------------------------

Habe jetzt von 1 - 10 angegeben, nur ist auf der Seite nur von 1 - 9 wählbar, wieso ?

Offline ivan

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.279
    • View Profile
    • Bilder Gallery
Re: How can I change max rating?
« Reply #4 on: May 26, 2006, 02:36:13 PM »
hallo, dies ist komisch. wenn du dich an die anleitung von vano haltest, kann nichts schiefgehen.

includes/constants wert abändern

und dies weiterführen bis 10 (rate_form.html)

                <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>

gruss ivan
greetings / grüsse
ivan

Facebook Fan Page | Follow Twitter

Blog: Reisen Blog
Bilder Gallery: Bilder Gallery