Announcement

Collapse
No announcement yet.

Rating uses option buttons

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rating uses option buttons

    Tried this, and it works!

    When replying, instead of a drop down menu you can have option buttons instead (see attachment).

    To change:

    - Open the template New Posting > newreply_ratethread
    - Find
    Code:
    <select name="rating">
    		<option value="0"$rate[0]>Select a rating (optional)</option>
    		<option value="5"$rate[5]>5 .. Best</option>
    		<option value="4"$rate[4]>4</option>
    		<option value="3"$rate[3]>3 .. Average</option>
    		<option value="2"$rate[2]>2</option>
    		<option value="1"$rate[1]>1 .. Worst</option>
    	</select>
    replace with:
    Code:
    	<input type="radio" value="1" name="rating"> 1
    	  <input type="radio" value="2" name="rating"> 2
    	  <input type="radio" value="3" name="rating"> 3
    	  <input type="radio" value="4" name="rating"> 4
    	  <input type="radio" value="5" name="rating"> 5
    
    	<br>
    Save and your all done

    It should now look like this:
    HP DL-380 G6, 2x E5520, 28GB RAM, 4x300GB SAS, VMWare ESXi
    -
    Unreal Tournament : Assault forums - irc://irc.utassault.net:6667 -

  • #2
    damn attachments
    HP DL-380 G6, 2x E5520, 28GB RAM, 4x300GB SAS, VMWare ESXi
    -
    Unreal Tournament : Assault forums - irc://irc.utassault.net:6667 -

    Comment


    • #3
      Thanks buddy

      Comment


      • #4
        beautiful..

        Good work.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X