Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
CSS - Sub-Forum-List in Columns Details »»
CSS - Sub-Forum-List in Columns
Version: 2.00, by hpwilhelm hpwilhelm is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 06-28-2005 Last Update: 09-16-2006 Installs: 255
Template Edits
 
No support by the author.

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.
  • Class attribute moved from <li> to <ul> element, and you now get full control through the stylesheet.
  • A clear:both style added below the list to constrict the floats, so that you can put stuff beneath the list.
Update:
  • Works for vb3.6.x with no changes.
  • Added .txt to textfile

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-30-2005, 02:58 PM
taffy056 taffy056 is offline
 
Join Date: Sep 2004
Location: In a house in Wales ;)
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect! Went with your first suggestion!

Thanks very much

taffy
Reply With Quote
  #13  
Old 07-05-2005, 02:14 PM
Azhrialilu's Avatar
Azhrialilu Azhrialilu is offline
 
Join Date: Aug 2003
Location: Stretton, Derbyshire
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

column-y goodness
Reply With Quote
  #14  
Old 07-10-2005, 07:26 AM
paulz paulz is offline
 
Join Date: Sep 2004
Location: Boston
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hpwilhelm
Screenshots: Before, and after on 1024px and 800px browser-window-width.
I LOVE THIS ONE!
Reply With Quote
  #15  
Old 07-11-2005, 07:21 AM
lionslair lionslair is offline
 
Join Date: Apr 2005
Location: Western Australia
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool that looks much better.
Reply With Quote
  #16  
Old 07-21-2005, 05:20 PM
slank slank is offline
 
Join Date: May 2005
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent idea...subforums in lines really clogged up the window
Reply With Quote
  #17  
Old 08-10-2005, 09:39 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, this one worked great with RC2... The other one broke teh forumz.
Reply With Quote
  #18  
Old 08-17-2005, 11:13 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool. It'd be nice if vBulletin spent a little more time on these little annoyances. Another happy RC2'er.
Reply With Quote
  #19  
Old 08-18-2005, 01:58 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #20  
Old 08-18-2005, 12:50 PM
Vizionz Vizionz is offline
 
Join Date: Jul 2003
Location: Chicago
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #21  
Old 08-19-2005, 08:13 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vizionz
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

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?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05129 seconds
  • Memory Usage 2,296KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete