2017-04-05, 02:56 PM
After update to 1.8.11 the rating is broken, no stars shown in their places
someone any idea, why?
this is the original code
second problem: categories shown in one row, see attachment no.2
someone any idea, why?
this is the original code
<td class="trow2" align="center">
<script type="text/javascript">
<!--
lang.ratings_update_error = "{$lang->ratings_update_error}";
// -->
</script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/game_rating.js?ver=1000"></script>
<strong>{$lang->game_rating}</strong><br />
<div class="inline_rating">
<ul class="star_rating{$not_rated}" id="rating_game_{$game['gid']}">
<li style="width: {$game['rating_width']}%" class="current_rating" id="current_rating_{$game['gid']}">{$ratingvotesav}</li>
<li><a class="one_star" title="{$lang->one_star}" href="./arcade.php?action=rate&gid={$game['gid']}&rating=1&my_post_key={$mybb->post_code}">1</a></li>
<li><a class="two_stars" title="{$lang->two_stars}" href="./arcade.php?action=rate&gid={$game['gid']}&rating=2&my_post_key={$mybb->post_code}">2</a></li>
<li><a class="three_stars" title="{$lang->three_stars}" href="./arcade.php?action=rate&gid={$game['gid']}&rating=3&my_post_key={$mybb->post_code}">3</a></li>
<li><a class="four_stars" title="{$lang->four_stars}" href="./arcade.php?action=rate&gid={$game['gid']}&rating=4&my_post_key={$mybb->post_code}">4</a></li>
<li><a class="five_stars" title="{$lang->five_stars}" href="./arcade.php?action=rate&gid={$game['gid']}&rating=5&my_post_key={$mybb->post_code}">5</a></li>
</ul>
</div>
</td>
second problem: categories shown in one row, see attachment no.2