Support > cpg1.5 themes (visuals)

Hide vote counting..

<< < (3/3)

Αndré:
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270618.html#msg270618

mr.bena:
I am sorry for breaking the rule, the mod is working great, Andre. The vote could not be seen other than the admin or the file uploader, however, it is still seen when they click the vote. It says "Your vote was accepted (Current rating : 1/1 with 6 votes)"

Could you please help me to display only "Your vote was accepted" ?

Αndré:
Open ratepic.php, find

--- Code: ---$new_rating_text = $lang_rate_pic_php['rate_ok'] . ' ' . sprintf($lang_rate_pic['rating'], $new_rating, $rating_stars_amount, $row['votes'] + 1);
--- End code ---
and replace with

--- Code: ---$new_rating_text = "Your vote was accepted";
--- End code ---

mr.bena:
Solved. Thank you, Andre.

Navigation

[0] Message Index

[*] Previous page

Go to full version