One star rating system - Rating.php?

Hello everybody I´m newcomer to this forum and have question.
I am building an gallery and I have added the rating plugins who works great.

But I only want One star or No star option with the rating system! How should I do this? Is it possible to change the text under now its says rating and i want something else there?

Please help me.

Comments

  • acrylian Administrator, Developer
    1. You will have to modify the script/plugin to change that. See http://www.fyneworks.com/jquery/star-rating

    2. You can disable the text via a parameter I think (look at the documentation), then modify your theme to show different text below it.

    Changing the text is not possible without modifying the plugin which you would have to do on every Zenphoto update. So it is not recommended. Instead make a custom version.
  • Ok, I have looked in all the files and not very good at changing in code. Which one is it I should change in?

    Is it the rating.php or is it the files in the folder rating?

    All help is preciated.
  • acrylian Administrator, Developer
    Sorry, I don't know at the moment and have no time to look. You could submit a ticket so maybe we make the number of stars at least an option then.
  • That would be great to have an option there we can choose how many stars u can vote with.
  • Give tonight's Development nightly build a try. I've updated the ratings plugin to allow you to choose the number of stars.
  • Wow, this is what I call customer satisfaction =)

    Very good, so simple now. Is it possible to just copy the rating folder to the stable version? Or is it something more to change.

    Thank you very much!
  • acrylian Administrator, Developer
    I guess in this case you can copy it but we didn't test it.
  • I think it will work, but as acrylian has said, we have not tested it. On the other hand, the 1.4.2 release is now in Beta, so why not use it? That would be the trunk nightly builds. (This way we get something as well--your testing of the new release)
Sign In or Register to comment.