(16.10.2017, 16:26)NeeqRR napisał(a): masz dodane {$boardstats} w szablonie index ? albo masz go w odpowiednim miejscu ? wklej mi szablony index, index_boardstats oraz index_whosonline
Tutaj jest index:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$serversboard}
<div class="sidebar" style="float: right; width: 22%; margin-top: 18px;">
{$topStats['LastThreads']}
{$topStats['MostViews']}
{$topStats['Posters']}
{$topStats['TimeOnline']}
{$topStats['NewestUsers']}
{$topStats['Reputation']}
{$topStats['Moderators']}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead_2">
<strong>Kto jest online?</strong>
<div class="float_right" style="padding-top: 3px;"><i class="fa fa-child"></i></div>
</td>
</tr>
<tr>
<td class="trow1">
{$whosonline}
</td>
</tr>
</table>
<br />
</div>
<div class="forums" style="float: left; width: 76%;">
{$dvz_shoutbox}
{$forums}
</div>
<br class="clear" />
{$footer}
</body>
</html>
Tutaj jest index_boardstats:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$collapsedthead['boardstats']}">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.png" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
{$whosonline}
{$online_today}
{$birthdays}
{$forumstats}
<tr>
<td class="tfoot" style="text-align: right">
<span class="smalltext">
{$logoutlink}
<a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a> |
<a href="showteam.php">{$lang->forumteam}</a>
{$statspage}
</span>
</td>
</tr>
</tbody>
</table>
<br />
Tutaj jest index_stats
<span class="smalltext">
<span class="float_left">Total Threads:</span> <span class="float_right">{$stats['numthreads']}</span> <br />
<span class="float_left">Total Posts:</span> <span class="float_right">{$stats['numposts']}</span> <br />
<span class="float_left">Members:</span> <span class="float_right">{$stats['numusers']}</span> <br />
<span class="float_left">Most Online:</span> <span class="float_right">{$mostonline['numusers']}</span> <br />
<span class="float_left">Newest Member:</span> <span class="float_right">{$newestmember}</span>
</span>
A tutaj jest index index_whosonline
<span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span>