13th Mar, 01:44 am
(12th Mar, 09:52 pm)cocaine Wrote: I've got a bug:
When I have a category inside another category, it doesn't show up. For example, if my parent category is MyBB, an in it I have another category named Themes, the Themes category doesn't show up, but other standalone forums inside the MyBB category do.
Any fix for this?
Yes, here it is
Go to Templates & Styles > Templates > minimal > Forum Bit Templates > forumbit_depth2_cat
Paste the following code
Code:
<tr>
<td class="{$bgcolor}" align="center" valign="middle" style="width: 30px"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="middle">
<a href="{$forum_url}">{$forum['name']}</a>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="middle" width="15%" align="right" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']} topics<br />{$posts}{$unapproved['unapproved_posts']} posts</td>
<td class="{$bgcolor}" valign="middle" align="left" style="white-space: nowrap; width: 250px">{$lastpost}</td>
</tr>
That should make the sub categories visible now, i will include this fix in the next update for the theme.
Thanks