View Full Version : Force users to leave a review score

04-07-2009, 12:33 PM
Im using Gars for Movie ratings.

I would like to have members being able to reply ONLY if they have chosen a rating score (i.e. will give them an error if they haven't selected a number)

There is also the issue of the quick reply - membesr are using the quick reply and that doesnt give a score option - so how do I get around that too ?


Edit: I got rid of the quick reply box by making my own GARS_showthread template and removing all the quickreply / quick edit code

I have also disabled the tick so the score will post - however if its 0 because they forgot to change I have given member ability to change rating.

This is a work around so far but is there a better way - like a pop up msg or something to remind them to leave a rating (or a template edit to make it stand out more?)


04-09-2009, 02:53 AM
In the GARS_ratings template, at the location of the red X (the X is not in the template), you can add a message or some JavaScript for a pop-up alert:

<td align="center" colspan="2">X<if condition="$GARS_submit_tick"><input type="checkbox" name="GARS_submit_rating" />$vbphrase[GARS_submit_tick]<else /><input type="hidden" name="GARS_submit_rating" value="on" /></if></td>