PDA

View Full Version : Show Thread Enhancements - Drop Down Menu for Thread Rating


cheat-master30
24 Aug 2008, 14:17
As can be seen in the screenshots, this modification replaces the stars thing in the rating menu with a drop down menu to choose the score. It's still in early beta, hence it's a bit clunky, and I had to use the numerical values as the drop down options because vBulletin expects them as the value, not the excellent/good/average type text.

Screenshot:

85983

To edit:

Open SHOWTHREAD template:

Find:


<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>

Replace with:

<select name="vote">
<option id="vote5">5</option>
<option id="vote4">4</option>
<option id="vote3">3</option>
<option id="vote2">2</option>
<option id="vote1">1</option>
</select>

That's it.

cheat-master30
24 Aug 2008, 14:28
Oh, and for more clearer ratings, add a space then 'stars' after the closing select tag.

mesdar
12 Dec 2008, 06:35
thanks

installed