WallBB Forums
Sidebar support - Printable Version

+- WallBB Forums (https://wallbb.co.uk/forums)
+-- Forum: Theme Section (https://wallbb.co.uk/forums/forumdisplay.php?fid=5)
+--- Forum: Theme Support (https://wallbb.co.uk/forums/forumdisplay.php?fid=10)
+--- Thread: Sidebar support (/showthread.php?tid=31)

Sidebar support - Kimon - 12-04-2017


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


RE: Sidebar support - WallBB - 12-04-2017

Two issues, first you are trying to divide forum section in two parts and second you missed a div closure, use this code instead
<script type="text/javascript">
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
<div class="forum">
<div class="sidebar"><br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<td class="thead"><strong><i class="fa fa-pie-chart"></i> Forum Stats</strong></td>
<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']}
<br />
<dl class="forum_legend smalltext">
    <dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>

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

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

    <dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
<br class="clear" />

RE: Sidebar support - Kimon - 12-04-2017

Okay, thanks, it's working now Smile

RE: Sidebar support - WallBB - 12-04-2017

Thread Closed Smile