Quote:
Originally Posted by nate
If my guess is right, after a person votes, they'll only see the stars.
|
Yeah, that's the case. I actually have a page set up here:
http://www.exquisiteangelz.com/ratings/
What I would like is that for both users who have rated and who have not rated, they only see the total ratings stats. This is because I would like to have the stars displayed alone with the stats appearing in the TITLE tags so it is displayed when the surfer hovers over the stars.
I have modified it with the following but once the surfer have voted, the stats don't appear when they hover over the stars.
PHP Code:
for ($ncount = 1; $ncount <= $units; $ncount++) { // loop from 1 to the number of units
if(!$voted) { // if the user hasn't yet voted, draw the voting stars
$rater.='<li><a href="db.php?j='.$ncount.'&q='.$id.'&t='.$ip.'&c='.$units.'" title="Rating: '.$current_rating.'/'.$units.' ('.$count.' '.$tense.' cast)" class="r'.$ncount.'-unit rater" rel="nofollow">'.$ncount.'</a></li>';
}