Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 06-29-2011, 01:26 AM
Phoebes Phoebes is offline
 
Join Date: Jun 2011
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Category Display

It looks like vBulletin has all of the features I need for a new project, but I need to be able to display the categories a certain way given I will have around 20 main categories with 5 sub categories each.

We found a way to list the categories in a vertical column but would like to display them in 3 or more columns similar to this: http://www.ehow.com/how-to.html

(preferably with indented subcategories under main categories)

Can anyone give me an idea of what would have to be edited to achieve this, or a code snip from someone that has done it before? Thanks in advance for any help.


Edit: Sorry. It's version 4.1.4 ... think the latest version.
Reply With Quote
  #2  
Old 06-29-2011, 04:37 AM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Categories or Sections?
Reply With Quote
  #3  
Old 06-29-2011, 03:57 PM
Phoebes Phoebes is offline
 
Join Date: Jun 2011
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eq4bits View Post
Categories or Sections?
Categories, thanks.
Reply With Quote
  #4  
Old 06-29-2011, 04:38 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vB 'Categories' don't have 'sub-categories'... Sections have 'sub-sections'... is why I was asking. The page you used as an example is a hardcoded html page.
Is this to be your 'landing'/'home' page? Sorry for all the questions, I'm curious. One of the pro-coders might be able to do this.
Reply With Quote
  #5  
Old 06-29-2011, 05:49 PM
Phoebes Phoebes is offline
 
Join Date: Jun 2011
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eq4bits View Post
vB 'Categories' don't have 'sub-categories'... Sections have 'sub-sections'... is why I was asking. The page you used as an example is a hardcoded html page.
Is this to be your 'landing'/'home' page? Sorry for all the questions, I'm curious. One of the pro-coders might be able to do this.
No, no, I appreciate the questions. Its obvious I'm just getting into this, sorry.

1. It wouldn't have to be hardcoded html and in fact it would probably be best if it wasn't because I'd like it to refresh when new categories are added. Search-engine-friendly would be a great plus though.

2. I would like it to be the landing page, but a link off of that would be fine as well.

--------------- Added [DATE]1309376315[/DATE] at [TIME]1309376315[/TIME] ---------------

I believe I had this worded incorrectly. I meant categories, but what I meant by the subcategories was the list of forums.

Here is a picture pointing to what I mean as categories and forums as subcategories.

Reply With Quote
  #6  
Old 06-29-2011, 06:48 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if it's possible (again, one of the pro-coders might be able to do it), but the first thought that comes to mind would be for the main 'content.php' to just contain the 'section' (since you are wanting 'subs' and categories don't have those) navigation widget and nothing else. But, I'm not sure that could be configured to display in 3 columns.... vB doesn't use 'tables' per se. If you don't get any other replies, I'd suggest posting a request in either (or both) the Unpaid Mod request forum or the Paid request forum.

--------------- Added [DATE]1309381619[/DATE] at [TIME]1309381619[/TIME] ---------------

Oh. I see now, I thought you were talking about the CMS sections/categories. But, yes, there is a mod here somewhere I know for having sub-forums display in columns under their respective main forums, but not sure if the board as a whole can be displayed the way you want.

--------------- Added [DATE]1309382149[/DATE] at [TIME]1309382149[/TIME] ---------------

You *can* have the 'sub-forums' display under their respective 'forums' on FORUMHOME; it's a matter of setting the 'depth' to display in your admincp>options, and as I said I believe there is a mod to have those sub-forums display in columns. I'll look and see if I can find the mod and will post a link to it.

--------------- Added [DATE]1309382330[/DATE] at [TIME]1309382330[/TIME] ---------------

Here's a link to the sub-forum display mod: https://vborg.vbsupport.ru/showthread.php?t=236960
and a link to a screenshot the mod writer put up: https://vborg.vbsupport.ru/attachmen...1&d=1267216874

--------------- Added [DATE]1309382622[/DATE] at [TIME]1309382622[/TIME] ---------------

Here's another: https://vborg.vbsupport.ru/showthread.php?t=229148
and images: https://vborg.vbsupport.ru/attachmen...6&d=1259543824
and
https://vborg.vbsupport.ru/attachmen...4&d=1263759752
Reply With Quote
  #7  
Old 06-29-2011, 08:52 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check my forum for proof of concept.
Reply With Quote
  #8  
Old 06-29-2011, 08:59 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think part of my confusion about what you meant was the site you pointed to as an example used the term 'articles' and in vB 'articles' are in the CMS (though they *can* have originally been a topic/thread in a forum/subforum).

--------------- Added [DATE]1309386088[/DATE] at [TIME]1309386088[/TIME] ---------------

Love your site TheWindows7Site... wish I could afford to pay for your services
Reply With Quote
Благодарность от:
LifesGreatestGift
  #9  
Old 06-30-2011, 01:12 AM
Phoebes Phoebes is offline
 
Join Date: Jun 2011
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a bunch! Will check it out, but it looks like it will help a lot!
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:12 PM.


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.03950 seconds
  • Memory Usage 2,242KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete