WallBB Forums
Go Dark Theme - Latest Posts Issue - 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: Go Dark Theme - Latest Posts Issue (/showthread.php?tid=124)



Go Dark Theme - Latest Posts Issue - Serpius - 12-14-2018

Installed and am using the latest Go Dark theme.

I installed the Latest Posts plugin from HERE, but the Latest Posts column is misplaced as seen in this screenshot.

How do I fix this and remove the words 'Latest Posts' in that column, but leave in the words 'Recent Threads' in?

[Image: 0ac016f092ddd05bacc57c73a52edbda.png]


RE: Go Dark Theme - Latest Posts Issue - Serpius - 12-15-2018

Does anyone have any idea how to fix this issue?

I would like to use this theme as my default theme, but I cannot do this until I get a few issues fixed.


RE: Go Dark Theme - Latest Posts Issue - amanda_2011 - 12-15-2018

I'm using the sidebar DVZ Stream.


RE: Go Dark Theme - Latest Posts Issue - WallBB - 12-16-2018

Can you share your index template code, I will modify the code so that you can use it Smile

DVZ Stream is also a good plugin, we use it at WallBB.


RE: Go Dark Theme - Latest Posts Issue - WallBB - 12-16-2018

Edit: Found that I disabled DVZ Stream during WallBB update, it is added again Smile


RE: Go Dark Theme - Latest Posts Issue - Serpius - 12-16-2018

(12-16-2018, 04:03 AM)WallBB Wrote: Can you share your index template code, I will modify the code so that you can use it Smile

DVZ Stream is also a good plugin, we use it at WallBB.
Here is my Go Dark Theme index.template code. 
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 id="home">
{$header}
<div class="forums">
{$forums}
</div>
<div class="sidebar">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><a href="{$mybb->settings['bburl']}/online.php" alt="Online users now" title="Online users now"><i class="fa fa-globe"></i></a> Currently Active Users</td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>
</table>
<br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><i class="fa fa-pie-chart"></i> Our Forum Statistics</td>
</tr>
<tr>
<td class="trow1">
<span class="stats_right">
<i class="fa fa-file" aria-hidden="true"></i> Total Threads <strong>{$stats['numthreads']}</strong><br/>
<i class="fa fa-comments" aria-hidden="true"></i> Total Posts<strong>{$stats['numposts']}</strong><br/>
<i class="fa fa-users" aria-hidden="true"></i> Total Members<strong>{$stats['numusers']}</strong><br/>
<i class="fa fa-user-circle" aria-hidden="true"></i> Newest Member<strong>{$newestmember}</strong>
</span>
</td>
</tr>
</table>
<br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="float_left"><i class="fa fa-bar-chart"></i> Advertise with Us</div
</td>
</tr>
<tr>
<td align="center" class="trow2">
Please add a banner in this area
</td>
</tr>
</table>
<br />
    
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<i class="fa fa-comments"></i> Recent Threads
</td>
</tr>
<tr>
<td class="trow1">Recent Threads will show here</td>
</tr>
</table>
    
</div>
<br class="clear" />
{$footer}
</body>
</html>



RE: Go Dark Theme - Latest Posts Issue - WallBB - 12-16-2018

I believe this is the same plugin that is linked in this tutorial
https://wallbb.co.uk/forums/showthread.php?tid=9

Download this plugin again, install it and activate

replace your index template with this
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 id="home">
{$header}
<div class="forums">
{$forums}
</div>
<div class="sidebar">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><a href="{$mybb->settings['bburl']}/online.php" alt="Online users now" title="Online users now"><i class="fa fa-globe"></i></a> Currently Active Users</td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>
</table>
<br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><i class="fa fa-pie-chart"></i> Our Forum Statistics</td>
</tr>
<tr>
<td class="trow1">
<span class="stats_right">
<i class="fa fa-file" aria-hidden="true"></i> Total Threads <strong>{$stats['numthreads']}</strong><br/>
<i class="fa fa-comments" aria-hidden="true"></i> Total Posts<strong>{$stats['numposts']}</strong><br/>
<i class="fa fa-users" aria-hidden="true"></i> Total Members<strong>{$stats['numusers']}</strong><br/>
<i class="fa fa-user-circle" aria-hidden="true"></i> Newest Member<strong>{$newestmember}</strong>
</span>
</td>
</tr>
</table>
<br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="float_left"><i class="fa fa-bar-chart"></i> Advertise with Us</div
</td>
</tr>
<tr>
<td align="center" class="trow2">
Please add a banner in this area
</td>
</tr>
</table>
<br />
{$sidebar}
    
</div>
<br class="clear" />
{$footer}
</body>
</html>

This will work.


RE: Go Dark Theme - Latest Posts Issue - Serpius - 12-16-2018

(12-16-2018, 07:39 AM)WallBB Wrote: I believe this is the same plugin that is linked in this tutorial
https://wallbb.co.uk/forums/showthread.php?tid=9

Download this plugin again, install it and activate

replace your index template with this
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 id="home">
{$header}
<div class="forums">
{$forums}
</div>
<div class="sidebar">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><a href="{$mybb->settings['bburl']}/online.php" alt="Online users now" title="Online users now"><i class="fa fa-globe"></i></a> Currently Active Users</td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>
</table>
<br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><i class="fa fa-pie-chart"></i> Our Forum Statistics</td>
</tr>
<tr>
<td class="trow1">
<span class="stats_right">
<i class="fa fa-file" aria-hidden="true"></i> Total Threads <strong>{$stats['numthreads']}</strong><br/>
<i class="fa fa-comments" aria-hidden="true"></i> Total Posts<strong>{$stats['numposts']}</strong><br/>
<i class="fa fa-users" aria-hidden="true"></i> Total Members<strong>{$stats['numusers']}</strong><br/>
<i class="fa fa-user-circle" aria-hidden="true"></i> Newest Member<strong>{$newestmember}</strong>
</span>
</td>
</tr>
</table>
<br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="float_left"><i class="fa fa-bar-chart"></i> Advertise with Us</div
</td>
</tr>
<tr>
<td align="center" class="trow2">
Please add a banner in this area
</td>
</tr>
</table>
<br />
{$sidebar}
   
</div>
<br class="clear" />
{$footer}
</body>
</html>

This will work.

Yes, it did work... sort of...

I ended up with a double column of the Latest Threads, but the tutorial that you mentioned suggested a fix, which I did apply and it now works good.


RE: Go Dark Theme - Latest Posts Issue - WallBB - 12-16-2018

Cheers :-)
/Closed