vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Replacing the top forum page (https://vborg.vbsupport.ru/showthread.php?t=325874)

Jim Maki 12-13-2017 02:31 PM

Replacing the top forum page
 
We have many forums and they all have numerous sub forums. This makes the front page very long and busy. We'd like to keep this structure but only displaying the forums, not the subs.

This can be done with a separate html page, but we also like the promotional features of the vB top page such as latest posts, trending, etc. We can program the html for a separate page to show what we want with links to the forum pages, but are not sure how to get the promotional items to automatically update.

Any guidance would be appreciated.

noypiscripter 12-14-2017 04:06 AM

You can hide the subforums via CSS. Add the below CSS in css_additional template in AdminCP or in Style > CSS Editor in Sitebuilder.

Code:

.forum-list-container .subforum-list {
    display: none;
}


Jim Maki 12-14-2017 10:27 PM

Thanks so much, will definitely give that a try. When navigating to the each forum, will the sub forums show up there?

Mark.B 12-14-2017 10:35 PM

Quote:

Originally Posted by Jim Maki (Post 2591604)
Thanks so much, will definitely give that a try. When navigating to the each forum, will the sub forums show up there?

Yes, you're only hiding them from the front page list using css.

Jim Maki 12-16-2017 09:26 PM

Hmmm, I pasted the code into the style CSS editor in Sitebuilder and while it took it, all the subforums were still visible. The forums were recently changed to categories, so all the subforums under them ... might not be considered subforums anymore??

I tried to get back in to undo the pasted code and got an error "error_information _x"

Luckily I had a CSS editor window still open in another tab. phew!

What the best way to do this using an html page and redirect the domain link to it. Would like recent posts, trending, etc. to auto update.


All times are GMT. The time now is 09:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01003 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete