MyBB Community Forums

Full Version: How to make sub forums like this??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

How can I make my sub forums like this... nice&small.

[Image: b1441b3c3e0bbdf745204fc6d444c38c.png]
Refer 2 column subforums tutorial in User submitted tutorial section.
Could you link me to it please?
2 column subforums with CSS
Author: Blackinci (thanx)

It is more useful than the plugin that it does. It doesnt run any MySQL quieries...

Please follow the steps which are below:
Admin CP=> Templates=> Edit/Delete=>The Theme that you use => Forumbit Templates => forumbit_depth3 Open:

Replace with:
<li>{$statusicon}<a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></li>


Admin CP=> Templates=> Edit/Delete=>The Theme that you use=>Forumbit Templates=> forumbit_subforums Open:
Replace with:
<br />{$lang->subforums}<br /><ul class="alt_forumlar">{$sub_forums}</ul>


Now, css codes are being added:

Admin CP=> Themes=> Edit/Delete=> Theme that you use => Additional CSS
.alt_forumlar {list-style: none; margin: 0; padding: 0;}
.alt_forumlar li {width: 50%; float: left;}

That's all.

Regarding Additional CSS:

You may include in global.css or need to create the additional css following these steps:
Your theme > Add stylesheet (the middle tab)
Set the name additional
Select: write my own content
Copy-paste two lines of css

save it.

Also:

Increase the no. of subforums to show from your
ACP > Configuration > Settings > Forum Home Options > Subforums to show on Index listing

by default its set to '2'.

[Image: 3BLPd.jpg]
Thank you for that!
Brillaint!

Now it gave me
http://gyazo.com/fd4b844887925a8656e9bc1c237fb5e1.png