06-23-2020, 09:09 PM
(This post was last modified: 06-23-2020, 09:11 PM by candlejacked.)
Thank you for your reply. Sorry that I had to repost in two separate areas. I am occasionally running into a MySQL error when trying to access this forum: ""SQL Error: 1040 - Too many connections Query: [READ] Unable to connect to MySQL server." I've encountered this problem twice today where I have been unable to access it for a short while. I am unsure if it's an error on my side or not.
The skin is beautiful and I am happy with it. However, I am still having trouble with getting the recent threads to work as intended. I am unsure if it's because I am not doing something correctly or if I had to make a tweak somewhere in the theme to make it work. I have been using the dev's thread as a reference, trying a number of suggestions. I am trying to weed out what the problem might be so that I can narrow down the issue and find the correct fix from the correct person.
I have checked the permissions for the plugin to make sure that everyone, including me, can see the recent threads.
Index template to show that I have included the variables:
I am hoping that I haven't removed something in the index template when originally following the instructions to install the previous plugin. Thank you for your time.
The skin is beautiful and I am happy with it. However, I am still having trouble with getting the recent threads to work as intended. I am unsure if it's because I am not doing something correctly or if I had to make a tweak somewhere in the theme to make it work. I have been using the dev's thread as a reference, trying a number of suggestions. I am trying to weed out what the problem might be so that I can narrow down the issue and find the correct fix from the correct person.
I have checked the permissions for the plugin to make sure that everyone, including me, can see the recent threads.
Index template to show that I have included the variables:
Code:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}{$recentthread_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/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong><i class="fa fa-comments"></i> Recent Posts</strong>
</td>
</tr>
<tr>
<td class="trow1">
<div id="recentthreads">{$recentthreadtable}</div>
</td>
</tr>
</table>
<br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong><i class="fas fa-chart-pie"></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>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong><i class="fas fa-registered"></i> Advertise here</strong>
</td>
</tr>
<tr>
<td class="trow1">
Please use contact us to advertise here, dimensions 250px X 250px<br/>
</td>
</tr>
</table><br/>
</div>
{$boardstats}
<br class="clear" />
{$footer}
</body>
</html>
I am hoping that I haven't removed something in the index template when originally following the instructions to install the previous plugin. Thank you for your time.