![]() |
CSS - Sub-Forum-List in Columns
For vb3.5.x --> vb3.6.x
Tested and working on Firefox, Safari and IE6. What this does: It converts the sub-forum-list into a unordered list, then by using CSS arranges the sub-forums into columns. The columns are liquid - number of columns depends on browser-window-width or page width. The column width is set in the CSS. Note that you need to enable sub-forums in your ACP. 3 CSS class definition added. 8 template edits. See the zip for further instructions / full details. Enjoy! :) Update: v2.
|
Screenshots: Before, and after on 1024px and 800px browser-window-width.
|
I just requested it, perfect job!
/me installs |
A very neat mod, thank you for sharing it. :D
|
This is clever :up:
|
Thanks for sharing A+
|
Very clever use of CSS. Simple and effective. Well done.
|
I like to see template mods in CSS instead of hard coded tables! Nice!
|
Hi,
Nice, thanks for sharing :) One thing though, how do you get the text of the sub-forums to be a little smaller? taffy |
Thanks for all the nice feedback :)
I'm probably going to tweak this a little more before my board launches with vb3.5.0. So I'll update this thread when I do. ;) Taffy056: You can add: Code:
font-size: XXpx; |
Perfect! Went with your first suggestion!
Thanks very much :) taffy |
column-y goodness :D
|
Quote:
|
Cool that looks much better.
|
excellent idea...subforums in lines really clogged up the window
|
Thanks, this one worked great with RC2... The other one broke teh forumz.
|
Very cool. It'd be nice if vBulletin spent a little more time on these little annoyances. Another happy RC2'er.
|
love this hack...some quick questions:
1. Is it possible to change the title "Sub-Forums" to something else? 2. is possible to decrease the spacing size between the title "Sub-Forums" and the subforums' titles. its rather a big gap on mine. anyway..... love this kind of hack. THANKS! |
i liked how it looked in the screenshots but when i did it it didnt look like that at all.
1.i had the huge space like the above post 2/ my subforums didnt go in two columns like yours it was all in one column |
Quote:
1. yah. iky!! :( 2. this depends on your screen resolution as well as how big you opened your browser window size to. open your browser window to full and/or set a higher screen res. it should go to the second column relative to window size. still to make it make a column "sooner", go to: Admincp >>Styles & Templates>>> (choose your style) >> Additional CSS Definitions (second box) >>> edit the "width: 150px;" small px makes it go to second column a relatively small browser window size. I use 170 on mine. try a few and see what works for you. :) 3. anyone know where to go to change if I want to change the "Sub-Forums" to something else? |
Quote:
|
Quote:
|
Dumb Question: How do I turn on sub-forums.
|
Quote:
2. Click vBulletin Options 3. Select "Forum Listings Display Options" from the drop down list 4. In "Depth of Sub-Forums" replace 0 with 1 |
Installed
|
i am using 1024 x 768 resolution
and still it wont go into seperate lines |
you didnt have the css at the right place
|
Quote:
|
Simple but very effective. Nice mod.
Clicks install |
Just beautiful!
One simple question :) I want to add a small space on the bottom of my columns to even out the layout with the top of the layout. How could I do that? say add 1 line space on the bottom under the columns? |
I was also wondering if there was a way to turn turn on/off the subforum in columns option by individual forums? if not, could this become a featiure? In some cases i would like to let the smaller (2 or less) subforum, forums in there original state, justified next to the Subforum: subtitle in the forumhome layout.
Just thought |
perhaps anybody only needs a clean table-like list?
use: Code:
<if condition="$show['subforums']"><ul style='margin:0px; padding:0px;'>$forum[subforums]</ul></if> |
Great mod, but I have a question.. Is there any way to make it sort the forums in the list alphabeticaly?
|
Quote:
|
Quote:
I'll post it later today. |
what does the post by R1D1 do I dont understand the clean table can you attach a picture for us?
|
did any one tried this on Gold?
|
Quote:
stinger2: It works with Gold. |
Quote:
Quote:
Quote:
|
Quote:
were always adding them, is there ANY way to make them sort alphabetically? |
All times are GMT. The time now is 04:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|