The Arcive of vBulletin Modifications Site. |
|
how do i *force* a user to rate when submitting a reply? Details »»
|
|||||||||||||||||||||||||||
|
how do i *force* a user to rate when submitting a reply?
Developer Last Online: Aug 2006
what template do i edit, and what do i change in order to force a user to select a rating for when they reply to a thread?
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Edit newreply_ratethread template and removed this:
Code:
<option value="0"$rate[0]>Select a rating (optional)</option> ![]() BTW, you might want to replace this: Code:
<option value="3"$rate[3]>3 .. Average</option> Code:
<option value="3"$rate[3]$rate[0]>3 .. Average</option> |
|
#3
|
|||
|
|||
|
doesnt work
![]() you know when you goto REPLY to a thread, it has a pulldown box to let you select 1 -5? well if a user doesnt select anything, how do you make it popup a window and say "Please rate this before submitting"? in other words the user is forced to select a rating, if he doesn't then a popup window will prompt the user to rate it, kind of like a required field... thats what i want to do. |
|
#4
|
||||
|
||||
|
Works for me.
|
|
#5
|
|||
|
|||
|
it does? so if you dont select a rating, it will pop up a window and tell you to rate it b4 submitting?
on mine, if i dont select anything, it still submits the post, which i dont want it to... i want it to popup a window if a user doesnt select a rating, telling him/her to select a rating from the dropdown list b4 he continues. thats what im trying to do.... |
|
#6
|
||||
|
||||
|
My way just doesn't let users choose the "No Rating" option.
|
|
#7
|
|||
|
|||
|
do you think you can make it where it pops up a window if a user doesnt select anything from the rating drop down list? do you know how to do it like that please?
|
|
#8
|
||||
|
||||
|
Nope.
|
|
#9
|
|||
|
|||
|
nope you don't know how to do it, or nope you don't want to tell me? please help me out
|
|
#10
|
||||
|
||||
|
I think what FireFly means is that you should try to do it yourself instead of asking others to do it all for you.
That way you will learn something. |
![]() |
|
|