MyBB Community Forums

Full Version: Thread counter not showing in this theme.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all!


So, I was editing and messing with a public theme. As i was editing i ran into an issue, the thread counter is just not working and im not sure how to get it to work again. I'm really new to MyBB software so i apologise if this fix ends up being really simple (which i bet it is)

Here's the "forumbit_depth1_cat" File's code if this helps also: 

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
  <thead>
    <tr>
      <td class="thead{$expthead}" colspan="5">
        <div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
        <div class="catname"><b><a href="{$forum_url}">{$forum['name']}</a></b></div>
        <div class="catdesc">{$forum['description']}</div>
      </td>
    </tr>
    <tr>
      <td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
      <td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
      <td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
      <td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
    </tr>
  </thead>
  <tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
    {$sub_forums}
  </tbody>
</table>
<br />



Sincerely, Carbon.
In forumbit_depth2_forum ensure that the following is somewhere. Perhaps there is a typo or the wrong variable is being referenced. This is what the thread count variable should look like.
{$threads}{$unapproved['unapproved_threads']}