vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Forumdisplay Template - Sub Category Title & Description Display Fix (https://vborg.vbsupport.ru/showthread.php?t=273419)

phpdesk 11-04-2011 11:00 PM

Forumdisplay Template - Sub Category Title & Description Display Fix
 
1 Attachment(s)
If you check the screenshots, some of you may have stumbled upon this tiny display issue, also noticeable on the vB.com official website. This may look insignificant but for a perfectionist like me it may be a problem.

This affects vB4 forums with the following structure:

Your Forum
-- Top Category
-- -- Sub Category One
-- -- -- Forum Title
-- -- -- Forum Title
-- -- Sub Category Two
-- -- -- Forum Title
-- -- -- Forum Title

The screenshot below is an example:

https://vborg.vbsupport.ru/attachmen...hmentid=134239

The fix for this is very simple, I hope it will picked up by the vBulletin team and included into future script versions.

Read the instructions attached below.
---------------------------------------
Here's the result:

https://vborg.vbsupport.ru/attachmen...hmentid=134240

voglermc 11-05-2011 01:30 PM

You could just add this to the additional.css file and be done with it

phpdesk 11-05-2011 04:47 PM

Quote:

Originally Posted by voglermc (Post 2264713)
You could just add this to the additional.css file and be done with it

Thanks for the suggestion, voglermc.

I'll update the original post to reflect the adjusted code that needs to be added to the additional.css template file to avoid edit of a core template file (forumdisplay.css that is).

I'll paste version 1.0 of the template changes for future reference:

Go to:
AdminCP -> Styles & Templates -> Search in Templates

Look for:
forumdisplay.css

Find:
Code:

.forumbits .forumbit_nopost .forumhead .forumrowdata .subforumdescription {
        background: transparent;
        border-top: 0;
}

Replace with:
Code:

.forumbit_nopost .forumhead .forumtitle, .forumbit_nopost .forumhead span, .forumbit_nopost .forumhead .collapse, .forumbit_post .forumhead h2 span {
        display:block;
        float: {vb:stylevar left};
        clear: {vb:stylevar right};
        font: {vb:stylevar forumhead_font};
        padding: {vb:math {vb:stylevar padding}/2-1} 0;
        color: {vb:stylevar forumhead_color};
}

.forumbit_nopost .forumrowdata {
        clear:both;
        display:block;
        width: 100%;
}

.forumbit_nopost .subforumdescription {
        padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding};
        font-weight: normal;
        color: {vb:stylevar blocksubhead_color};
        background: {vb:stylevar blocksubhead_background};
}


voglermc 11-07-2011 12:06 PM

Nice

phpdesk 11-07-2011 06:53 PM

I wish this thread were taken note of by the vBulletin crew, as I really hope to end facing a truly perfect looking and functioning product. That being said, the Blog product as part of the vBSuite needs attention in form of fine touches, too.

bskr84 11-17-2011 01:02 AM

great guy!

uninvited13th 11-17-2011 01:44 AM

nice but I wonder how to add subcategories??

phpdesk 11-17-2011 09:14 AM

Quote:

Originally Posted by uninvited13th (Post 2268753)
nice but I wonder how to add subcategories??

We call a "Category" a forum with the following Posting Options:
(see the forum edit page inside AdminCP)

Act as Forum: NO
Forum is Open: NO


Logically, to add a sub-category you have to assign it to a parent category.

phpdesk 12-12-2011 01:32 AM

I'm sorry I completely forgot to post an important update for this template modification. Paul M has confirmed that the issue described above has been corrected and we should expect the fix to be merged into vBulletin 4.1.10.

This is good news, thanks Paul!

HMBeaty 12-12-2011 01:58 AM

EDIT: Nevermind lol


All times are GMT. The time now is 03:42 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
  • Page Generation 0.01108 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete