MyBB Community Forums

Full Version: Need Help with Advanced Board Statistics
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
this is how my index template looks like now i have an little problem and i´m not that good in that but i get it now where i want but i wanna remove something an image is on the button and an second one also as i want that it should look can someone tell me what i have to change please.

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
	<tr>
		<tbody>

<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_l.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbg.gif) repeat-x" align="center" width="100%"><div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" /></div>
<span class="thead"><div style="text-align: left;"><strong><a href="stats.php">{$lang->boardstats}</a></strong></div></span>
</td>
<td align="right"><img src="{$theme['imgdir']}/cat_r.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tbody style="" id="boardstats_e">
<!-- ASOIP_2_0_I -->
</tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
	<tr>
		<tbody>

<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_lb.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbgb.gif) repeat-x" align="center" width="100%">
</td>
<td align="right"><img src="{$theme['imgdir']}/cat_rb.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
<br />
{$forums}
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
	<tr>
		<tbody>

<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_l.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbg.gif) repeat-x" align="center" width="100%"><div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" /></div>
<span class="thead"><div style="text-align: left;"><strong><a href="stats.php">{$lang->boardstats}</a></strong></div></span>
</td>
<td align="right"><img src="{$theme['imgdir']}/cat_r.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tbody style="" id="boardstats_e">
{$whosonline}
{$birthdays}
{$forumstats}
</tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
	<tr>
		<tbody>

<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_lb.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbgb.gif) repeat-x" align="center" width="100%">
</td>
<td align="right"><img src="{$theme['imgdir']}/cat_rb.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="trow1">
			<table width="100%">
				<tr>
					<td>
						<img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">{$lang->new_posts}</span><br />
						<img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">{$lang->no_new_posts}</span><br />
						<img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" style="vertical-align: middle;" /> <span class="smalltext">{$lang->forum_locked}</span>
					</td>
					<td style="vertical-align: top; text-align: right;"><span class="smalltext">{$logoutlink}<a href="misc.php?action=markread">{$lang->markread}</a> | <a href="showteam.php">{$lang->forumteam}</a> | <a href="stats.php">{$lang->forumstats}</a></span>
						{$loginform}
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
{$footer}
</body>
</html>
Quote:an image is on the button and an second one also as i want that it should look
Huh? It looks fine to me, so you'll have to explain a bit more, or circle what you want removed on your screenshot.
http://community.mybboard.net/attachment.php?aid=9425

i want that it looks so but it looks right now so

http://community.mybboard.net/attachment.php?aid=9424

i hope now it is clear Smile

To say it in words i want the Foren Statistik not but i want the round borders on the Advanced Stats

charon
Well, if you're saying you don't want "Foren Statistik" there, then you need to get rid of {$lang->boardstats} in your index template.

Without seeing your whole board, it's hard to know exactly what you're doing here, but I am assuming you want just the advanced board stats at the top of your forum?

You might want to try changing this section:
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <tr>
        <tbody>

<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_l.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbg.gif) repeat-x" align="center" width="100%"><div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" /></div>
<span class="thead"><div style="text-align: left;"><strong><a href="stats.php">{$lang->boardstats}</a></strong></div></span>
</td>
<td align="right"><img src="{$theme['imgdir']}/cat_r.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tbody style="" id="boardstats_e">
<!-- ASOIP_2_0_I -->
</tbody>
</table>
to:
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <tr>
        <tbody style="" id="boardstats_e">

<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_l.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbg.gif) repeat-x" align="center" width="100%"><div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" /></div>
<!-- ASOIP_2_0_I -->
</td>
<td align="right"><img src="{$theme['imgdir']}/cat_r.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
This is untested, so make sure you copy/paste what you have in the index somewhere else, so you can restore it if this doesn't work.
no that didnt work Sad sorry that i forget an link to the forum here it is now

http://www.hdd-player.de/syabas/

i hope then that you understand what i want the box should look like this but i cant make that and i dont understand it Sad

http://community.mybboard.net/attachment.php?aid=9425

Thx for your help and sorry for my english Sad

cHarOn
if you don't want "Foren Statistik" there, then you need to get rid of the first mention of {$lang->boardstats} in your index template.

As far as getting rid of the line that says "Advanced Statistics"? Well, I don't have that line in my advanced stats, but I think that is a line you need to remove from the plugin itself. I think you're using an older version, so if you want to attach that plugin file, I will look and see if I can remember which line to remove.