PDA

View Full Version : A new icon for unrated Threads


memobug
07-22-2002, 05:39 AM
Greetings,

There seems to be some confusion on my forum over the images/clear.gif which is used to mark threads that are as yet unrated. Some people think these threads are bad because they have no stars, when in fact they may just not have received enough votes either way to be displayed.

I would prefer to create and use a unique images/unrated.gif and was wondering if someone can tell me where I might make the substitution of unrated.gif for clear.gif so that it will appear properly in the display.

Many thanks

Matt

Admin
07-22-2002, 05:54 AM
In forumdisplay.php, find these bits of code:
$thread[rating]='clear.gif';
eval("\$threadrating = \"".gettemplate('forumdisplaybit_threadrate')."\";");
$thread[rating]='clear.gif';
$thread[votenum] = '0';
if ($thread[votenum] >= $showvotes) {
$rating = intval(round($thread[voteavg]));
$thread[rating] = $rating . 'stars.gif';
} else {
$thread[rating] = 'clear.gif';
}
And chage clear.gif to unrated.gif in every one of them.

memobug
07-22-2002, 06:06 AM
Thanks x 10^6 !