MyBB Community Forums

Full Version: Subforums to show on Index listing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I have the theme, DIGITAL ART on my forum, but I just noticed recently, the subforums on the main page are not showing..the one like,

ABC
Blah blah
SubForums: Blah Blah

The part in bold is missing..is it the templates problem? Can anyone place me a clean code to patch the templates at the Index ?

Thanks!
Please check this setting: Admin-CP -> Board Settings -> Change -> Forum Home Options -> Modify -> Subforums to show on Index listing.

If you moved forums around please run the file from this post.
I setted 0

and I have not moved my forums around yet...

I might try the other solution

EDIT:// I tried the other solution, no change.
URL: xxxxxxxxxxxxx
xiaozhu Wrote:I setted 0
This will disable the display of subforums on your index. Please try setting it to 5.
Michael83 Wrote:
xiaozhu Wrote:I setted 0
This will disable the display of subforums on your index. Please try setting it to 5.

Did so, no change.
heloo there,

it might be a template problem as u said that what micheal had said, didn't work for u so

Admin CP > Templates > Modify / Delete > Expand > Forum bit templates >forumbit_subforums

make sure it looks like this
<br />$lang->subforums <span class="subft">$forums</span>

then in
Admin CP > Templates > Modify / Delete > Expand > Forum bit templates >forumbit_depth2_forum

find that this exisit

$subforums

regards
zaher1988 Wrote:Admin CP > Templates > Modify / Delete > Expand > Forum bit templates >forumbit_subforums
<br />$lang->subforums <span class="subft">$forums</span>
Indeed, my code don't look like that, it look like something else.


zaher1988 Wrote:Admin CP > Templates > Modify / Delete > Expand > Forum bit templates >forumbit_depth2_forum
$subforums
Ok, $subforums does not exist there, where should I put ?


My forumbit_depth2_forum is
<tr>
<td class="trow1" width="20" align="left"><img src="$theme[imgdir]/$folder.gif" alt="" /></td>
<td class="trow2" valign="top"><strong><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></strong>
<br /><span class="smalltext">$forum[description]$modlist</span>
</td>
<td class="trow1" valign="top" align="center" nowrap="nowrap">$threads</td>
<td class="trow2" valign="top" align="center" nowrap="nowrap">$posts</td>
<td class="trow1" valign="top" align="right" nowrap="nowrap">$lastpost</td>
</tr>
ok cool!!

replace forumbit_depth2_forum
with
<tr>
<td class="$bgcolor" align="center" valign="top"><img src="$theme[imgdir]/$folder.gif" alt="" /></td>
<td class="$bgcolor" valign="top">
<strong><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></strong><br /><div class="smalltext">$forum[description]$modlist$subforums</div>
</td>
<td class="$bgcolor" valign="top" align="center" nowrap="nowrap">$threads</td>
<td class="$bgcolor" valign="top" align="center" nowrap="nowrap">$posts</td>
<td class="$bgcolor" valign="top" align="right" nowrap="nowrap">$lastpost</td>
</tr>
Thanks! It worked now!