MyBB Community Forums

Full Version: My Stats is broken
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi guys my stats is not good look

[Image: 2HYs8.png]

how can i make the board stats down not in same line i mean
who is online
then
board stats like new member etc......


i will be thankful
best wishes
Go to Templates > Your theme's template > Index Page Templates
And then revert index_stats and index_whosonline back to default, though you need only revert the index_stats template I believe.
Go to:
Admin CP >> Themes & Templates >> Templates >>**your Template** >> Index Templates >> index_boardstats

And Paste Below codes:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" 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}
{$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> |
			<a href="stats.php">{$lang->forumstats}</a>
		</span>
	</td>
</tr>
</tbody>
</table>
<br />

Or revert to original this template. this template is enough! Smile
Note: Backup previous codes
(2012-08-31, 11:26 AM)BlackChaos Wrote: [ -> ]Go to Templates > Your theme's template > Index Page Templates
And then revert index_stats and index_whosonline back to default, though you need only revert the index_stats template I believe.

thx mate u are the best

(2012-08-31, 11:28 AM)M.Abbasi Wrote: [ -> ]Go to:
Admin CP >> Themes & Templates >> Templates >>**your Template** >> Index Templates >> index_boardstats

And Paste Below codes:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" 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}
{$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> |
			<a href="stats.php">{$lang->forumstats}</a>
		</span>
	</td>
</tr>
</tbody>
</table>
<br />

Or revert to original this template. this template is enough! Smile
Note: Backup previous codes

are you kidding? its fu**ed my forum
(2012-08-31, 12:57 PM)Xbat Wrote: [ -> ]are you kidding? its fu**ed my forum

What you say?
index_stats for inspired :
<tr><td class="tcat"><span class="smalltext"><strong>{$lang->boardstats}</strong></span></td></tr>
<tr>
<td class="trow1"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span>
</td>
</tr>


and it's for default:
<tr><td class="tcat"><span class="smalltext"><strong>{$lang->boardstats}</strong></span></td></tr>
<tr>
<td class="trow1"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span>
</td>
</tr>

can you see any difference? So let me know please!!!!

according to below shot which templates are different from original templates?

[attachment=27163]

I checked it on my forum on localhost and it's the result.

[attachment=27164]

Only a Question. did you copy this code and paste them in you editor directly without copying in notepad or similar softwares? BE HONEST