DukeeH
Active Member
- Joined
- Dec 6, 2010
- Messages
- 550
- Solutions
- 3
- Reaction score
- 39
I'm trying to show rebirths on highscores box and characters page on MyAAC (Last version).
On characters page i've tried this, but no success. Always blank.
I found this function to show storage, but it doesn't work.
On my highscores box it's a bit harder, since I use storage and getTopPlayers doesn't gets it.
I have no idea how to do. Can someone help?
Highscores box:
And the last one, is guilds are not being created through website, no errors on creating, but they don't work.
Where I can find some log that shows what is wrong with guilds? System/logs is clean.
Thanks!
PHP:
{% set rows = rows + 1 %}
<tr bgcolor="{{ getStyle(rows) }}">
<td>Resets:</td>
<td>{{ player.getStorage(14310) }}</td>
</tr>
On characters page i've tried this, but no success. Always blank.
I found this function to show storage, but it doesn't work.
On my highscores box it's a bit harder, since I use storage and getTopPlayers doesn't gets it.
I have no idea how to do. Can someone help?
Highscores box:
PHP:
<div>
<div id="Topbar" class="Themebox" style="background-image:url(templates/tibiacom/images/themeboxes/bg_top.png); margin-left:7px; height:320px; margin-top:-11px;" >
<div class="top_level">
<?php
foreach(getTopPlayers(5) as $player) {
echo '<div style="text-align:left"><a href="'.getPlayerLink($player['name'], false).'" class="topfont ' . ($player['online'] == 1 ? 'online' : 'offline') . '">
<img src="'. $config['outfit_images_url'] . '?id='.$player['looktype'].'&addons='.$player['lookaddons'].'&head='.$player['lookhead'].'&body='.$player['lookbody'].'&legs='.$player['looklegs'].'&feet='.$player['lookfeet'].'" width="64" height="64" style="width: 64px; height: 64px; position: relative; margin-left: -30px; margin-top: -26px;">
<span style="margin-left: 3px; margin-top: 13px; position: absolute"><font color="white">'.$player['rank'].' -</font> '. (strlen($player['name']) > 15 ? substr($player['name'], 0, 15) . "..." : $player['name'] ) .'</span>
<span style="margin-left: 3px; margin-top: 26px; color: white; position: absolute"><small>Level: ('.$player['level'].')</span></small>
</div>';
}
?>
</div>
</div>
And the last one, is guilds are not being created through website, no errors on creating, but they don't work.
Where I can find some log that shows what is wrong with guilds? System/logs is clean.
Thanks!