Member
Member
HenrikAllberg   31-10-2011, 13:11
#1

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.

Administrator
Administrator
acrylian   31-10-2011, 13:21
#2
  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.

Member
Member
HenrikAllberg   31-10-2011, 13:36
#3

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.

Administrator
Administrator
acrylian   31-10-2011, 13:53
#4

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.

Member
Member
HenrikAllberg   31-10-2011, 19:35
#5

That would be great to have an option there we can choose how many stars u can vote with.

Member
Member
sbillard   01-11-2011, 01:49
#6

Give tonight's Development nightly build a try. I've updated the ratings plugin to allow you to choose the number of stars.

Member
Member
HenrikAllberg   02-11-2011, 11:04
#7

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!

Administrator
Administrator
acrylian   02-11-2011, 11:13
#8

I guess in this case you can copy it but we didn't test it.

Member
Member
sbillard   02-11-2011, 17:26
#9

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)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.