PDA

View Full Version : Thread rating visible in thread itself


goxy63
12-01-2011, 12:17 PM
Right now we can see thread rating in thread list but when you are in thread you cant see it
This would be neat option, something like here on vb.org (for mods)

Shame its not default option as like this its kinda dumb !

LifesGreatestGift
12-01-2011, 11:28 PM
Add this to SHOWTHREAD where you want the rating to display
feel free to style as needed

<style type="text/css">
.rating {
display:block;
padding:0;
padding-left:75px;
background:transparent url({vb:stylevar imgdir_rating}/rating-15_0.png) left center no-repeat;
}
</style>
<div class="rating<vb:if condition="!$show['rating']"> hidden</vb:if>">
{vb:rawphrase current_rating}
<img src="{vb:stylevar imgdir_rating}/rating-15_{vb:raw thread.rating}.png" alt="" />
</div>

pushpullbar
01-24-2012, 04:05 AM
Sorry, please bear with me as I don't know any scripting.

Does anyone know how I could make this match the rest of the items on that bar?
http://www.pushpullbar.com/forums/showthread.php?14886-Project-Naming

I have also change the <div class into a <li class for it to even fit there already. I am lost as to why it sits differently and with a different font size.

Thanks in advanced.

acast
05-24-2012, 11:07 PM
Add this to SHOWTHREAD where you want the rating to display
feel free to style as needed

<style type="text/css">
.rating {
display:block;
padding:0;
padding-left:75px;
background:transparent url({vb:stylevar imgdir_rating}/rating-15_0.png) left center no-repeat;
}
</style>
<div class="rating<vb:if condition="!$show['rating']"> hidden</vb:if>">
{vb:rawphrase current_rating}
<img src="{vb:stylevar imgdir_rating}/rating-15_{vb:raw thread.rating}.png" alt="" />
</div>

That seems to be vorg rate in vbulletin 4? It doesnt work for me.