MyBB Community Forums

Full Version: HELP!! with sub-forums..
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Please help me how to make sub-forums like this one..

[Image: 217zg3.jpg]

I tried to make one but everythings goes on the same line and shows only 2 subforums and the rest are hidden..

Kindly help me with this..
+Admincp -> Template -> Forum Bit Templates -> forumbit_depth3
Replace:
<li>{$statusicon}<a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></li>

+Admincp -> Template -> Forum Bit Templates -> forumbit_subforums
Replace:
<br />{$lang->subforums}<br /><ul class="alt_sbc">{$sub_forums}</ul>

+add to global.css or add new Stylesheet
.alt_sbc {list-style: none; margin: 0; padding: 0;}
.alt_sbc li {width: 50%; float: left;}

+Admincp -> Configuration -> Forum Home Options -> Subforums to show on Index listing (set 10)
That is way too many subforums.. No one needs that many.
Sir, i dont know where to put in the global.css this codes you give..

Quote:+add to global.css or add new Stylesheet
PHP Code:
.alt_sbc {list-style: none; margin: 0; padding: 0;}
.alt_sbc li {width: 50%; float: left;}

and also sir, here is the result of the sub forums after i put the codes given.. except the code in the global.css.. i put the codes at the .subforum in the global.css....
[Image: 257hpnq.jpg]

how can i make it into 2 or 3 columns sir? so that the section is not very long..

Please help..[/quote]
(2012-10-31, 01:03 PM)Kolton T. Wrote: [ -> ]That is way too many subforums.. No one needs that many.

Half of them (the right side) are actually thread links.
He doesn't need all those subforums. That one forum will suffice for all of that.
3lidoffad, put it anywhere in your global.css. Just paste it to the very bottom, if you want.

.alt_sbc {list-style: none; margin: 0; padding: 0;}
.alt_sbc li {width: 50%; float: left;} 
ok thanks guys for all the ideas..