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

Reply
 
Thread Tools
vb5 forum category spacing - SUPER SIMPLIFIED 1 STEP - No Error Details »»
vb5 forum category spacing - SUPER SIMPLIFIED 1 STEP - No Error
Version: 1.3, by napy8gen napy8gen is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 5.3.2 Rating:
Released: 03-21-2014 Last Update: 08-23-2014 Installs: 23
Supported Template Edits
Re-useable Code  

Hello Guys,
It's me Hanafi from sultantheme.com

No script very small changes. Added 1 row to add space.
Tested with vb5.3.2

1. Style manager> style name> edit templates>Display Templates> display_Forums_list

on line 7 : <!-- Categories -->
paste below the line:
HTML Code:
<!--added row -->
        <tr><td style="height:10px"colspan="4">&nbsp;</td></tr>

have fun.

Screenshots

File Type: jpg cat-spacing.jpg (94.2 KB, 0 views)
File Type: png display-forum-list.png (31.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
tuerkraider

Comments
  #2  
Old 03-22-2014, 09:23 AM
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Location: port ++++son
Posts: 519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

deleted content.. no more sub pages problem
Reply With Quote
  #3  
Old 04-13-2014, 08:40 PM
WanaGo WanaGo is offline
 
Join Date: Mar 2014
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
Reply With Quote
  #4  
Old 10-14-2014, 04:14 AM
newuser886 newuser886 is offline
 
Join Date: Sep 2014
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
Reply With Quote
  #5  
Old 11-25-2014, 12:55 AM
matheus21 matheus21 is offline
 
Join Date: Sep 2014
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vb5 forum category spacing erro !!



Style manager> style name> edit templates> css templates> css_additional.css


Code:
/*-- fix the first unwanted 2ndrow forum/topic/post/last post --*/
/*-- fix at forumhome only not in subpages --*/
#forum-tab table:first-child{display:none}

/*-- custom spacing --*/
.catspace{margin-top:20px;}

/*-- category styling --*/
.forum-list-container .category-header {
background: #033145 url("images/css/sprite_gradients_vb.png") repeat-x 0px -50px;
}
/*-- category title text --*/
.forum-list-container .category-header .category{color:#fff!important;}

/*-- category 2nd row, last post, topic post count --*/
.forum-list-container .forum-list-header{height:25px;line-height:25px;}
.forum-list-container .forum-list-header .header-forum {border-left: 0px!important;}
.forum-list-container .forum-list-header .header-lastpost{border-right: 0px!important;}


/*-- forums bordering --*/
.forum-list-container {
border: 1px solid #c4c4c4;
border-top: 0px solid #c4c4c4;
box-shadow: 1px 1px 1px #ddd;
}
Reply With Quote
  #6  
Old 04-03-2015, 03:40 PM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to also add this to modules?
Reply With Quote
  #7  
Old 05-04-2015, 12:36 PM
player2014 player2014 is offline
 
Join Date: Jul 2014
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No Fix For the Unwanted Spacing
Reply With Quote
  #8  
Old 05-13-2015, 05:59 PM
justasiam justasiam is offline
 
Join Date: Feb 2010
Location: Los Angeles, CA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is pretty cool. TY.
Reply With Quote
  #9  
Old 07-04-2015, 09:55 PM
beastmode1 beastmode1 is offline
 
Join Date: Jun 2015
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can i add round upper corners to the top bar?
Reply With Quote
  #10  
Old 08-07-2015, 09:14 PM
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Location: port ++++son
Posts: 519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by beastmode1 View Post
How can i add round upper corners to the top bar?
This modification to add border radius will make original bordering in this mod, looks ugly and we'll need a new bordering model.

Put this code into your css_additional.css
style manager> style name> edit templates> CSS templates> css_additional.css

Quote:
.forum-list-container .category-header td{
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.forum-list-container .forum-item td {
border-top: 1px solid #ddd;
}
.forum-list-container .forum-item .lastpost{
border-right: 1px solid #ddd;
}
.forum-list-container .forum-item .cell-forum{
border-left: 1px solid #ddd;
}
.list-footer,.forum-list-container .subforum-list > td{
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}
.forum-list-container .forum-item:last-child td{
border-bottom: 1px solid #c4c4c4!important;
}
/*-- forums bordering overwrites existing css --*/
.forum-list-container {
border: 0px solid #c4c4c4!important;
border-top: 0px solid #c4c4c4!important;
box-shadow: 0px 0px 0px transparent!important;
}
Reply With Quote
Благодарность от:
TheLastSuperman
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:09 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.04395 seconds
  • Memory Usage 2,326KB
  • Queries Executed 24 (?)
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)bbcode_code
  • (1)bbcode_html
  • (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
  • (2)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_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
  • 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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete