Support > cpg1.5 miscellaneous

Hiding previous average rating for voters

(1/1)

nambroque:
Hi there!

Our gallery is being used for photo contests, and we have this problem:

When a jury member is going to rate a picture (with the "new" system), if another or another members have rated it previously, the group of stars where he will select his ratinge, shows the average rating which that picture has received already from the previous voters

This may influye in his/her rating

Is there any way to hide this, so that only rate_empty.png stars appear in the group of stars?

Thanks in advance


My gallery

ron4mac:
Change images/rate_full.png to be the same as images/rate_empty.png.

nambroque:
Thanks for your reply
That's a solution, but if we do so, then we will lose the info of the rating for all the pictures in the gallery when you click on top rated anywhere...  ::)

ron4mac:
I see you are still using CPG 1.5.48

[ UNTESTED ]
In the file js/displayimage.js, at line ~404, replace:

--- Code: ---        var star11 = 'rate_full';
--- End code ---
with:

--- Code: ---        var star11 = (js_vars.can_vote == 'true') ? 'rate_empty' : 'rate_full';
--- End code ---

nambroque:
Thank you very much ron4mac
It works!
Yes, we tried to move a couple of times to 1.6.x but we had some problems: We could not install miniCMS plugin and also we had problems with the characters encoding. So we came back to 1.5
One question: If we have a specifical problem with my gallery, may I ask here publicly or privately so you may check it?, or I should not do that?

Navigation

[0] Message Index

Go to full version