On Sale - Peach MyBB Theme - 10$ For limited time Check here
On Sale - Focus Responsive Theme - 20$ For limited time Check here
Sidebar support
#1
Hey,

I am using the free Focus theme with MyBB for my forums, but I got a slight problem. Here you can the Board Statistics on the very right of the forums, I probably removed something that I shouldn't but I don't know what it is. Here is the screenshot https://imgur.com/a/fKCj9

Here is my code in index https://pastebin.com/KqrZK8QF

Thanks,
Kimon
#2
Two issues, first you are trying to divide forum section in two parts and second you missed a div closure, use this code instead
Code:
<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}
<div class="forum">
{$forums}
</div>
<div class="sidebar"><br/>
{$sidebar}
<br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong><i class="fa fa-pie-chart"></i> Forum Stats</strong></td>
</tr>
<tr>
<td class="trow1">
<span class="smalltext">
{$mybb->settings['bbname']} has {$stats['numusers']} members<br />
Our Newest Member is {$newestmember}<br />
We have total number of Threads : {$stats['numthreads']}<br />
We have total number of Posts : {$stats['numposts']}
</span>
</td>
</tr>
</table>
</div>
<br />
{$boardstats}
<dl class="forum_legend smalltext">
    <dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
    <dd>{$lang->new_posts}</dd>

    <dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span></dt>
    <dd>{$lang->forum_locked}</dd>

    <dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
    <dd>{$lang->forum_redirect}</dd>
</dl>
<br class="clear" />
{$footer}
</body>
</html>
#3
Okay, thanks, it's working now Smile
#4
Thread Closed Smile




Users browsing this thread: 2 Guest(s)