Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forumdisplay Template - Sub Category Title & Description Display Fix Details »»
Forumdisplay Template - Sub Category Title & Description Display Fix
Version: 1.1, by phpdesk phpdesk is offline
Developer Last Online: Apr 2020 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.1.7 Rating:
Released: 11-04-2011 Last Update: 11-23-2011 Installs: 12
Template Edits
 
No support by the author.

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:



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:

Download Now

File Type: txt Forumdisplay Template - Sub Category Title & Description Display Fix (1.1).txt (1.2 KB, 68 views)

Screenshots

File Type: gif before.gif (32.9 KB, 0 views)
File Type: gif after.gif (33.1 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 11-05-2011, 01:30 PM
voglermc's Avatar
voglermc voglermc is offline
 
Join Date: Oct 2006
Location: Piedmont Triad, NC, USA
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could just add this to the additional.css file and be done with it
Reply With Quote
  #3  
Old 11-05-2011, 04:47 PM
phpdesk phpdesk is offline
 
Join Date: Jan 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by voglermc View Post
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};
}
Reply With Quote
  #4  
Old 11-07-2011, 12:06 PM
voglermc's Avatar
voglermc voglermc is offline
 
Join Date: Oct 2006
Location: Piedmont Triad, NC, USA
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice
Reply With Quote
  #5  
Old 11-07-2011, 06:53 PM
phpdesk phpdesk is offline
 
Join Date: Jan 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
Sunka
  #6  
Old 11-17-2011, 01:02 AM
bskr84 bskr84 is offline
 
Join Date: Aug 2010
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great guy!
Reply With Quote
  #7  
Old 11-17-2011, 01:44 AM
uninvited13th uninvited13th is offline
 
Join Date: Aug 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice but I wonder how to add subcategories??
Reply With Quote
  #8  
Old 11-17-2011, 09:14 AM
phpdesk phpdesk is offline
 
Join Date: Jan 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by uninvited13th View Post
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.
Reply With Quote
  #9  
Old 12-12-2011, 01:32 AM
phpdesk phpdesk is offline
 
Join Date: Jan 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Благодарность от:
HMBeaty
  #10  
Old 12-12-2011, 01:58 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: Nevermind lol
Reply With Quote
Reply


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 04:12 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.04593 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
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_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete