PDA

View Full Version : Forum Home Enhancements - vb5 forum category spacing - SUPER SIMPLIFIED 1 STEP - No Error


napy8gen
03-21-2014, 11:00 PM
Hello Guys,
It's me Hanafi from sultantheme.com (http://www.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:
<!--added row -->
<tr><td style="height:10px"colspan="4">&nbsp;</td></tr>


have fun.

napy8gen
03-22-2014, 09:23 AM
deleted content.. no more sub pages problem

WanaGo
04-13-2014, 08:40 PM
Thank you

newuser886
10-14-2014, 04:14 AM
Thank you!

matheus21
11-25-2014, 12:55 AM
vb5 forum category spacing erro !!

https://tmpdmp.com/i/848735a2f37b6f03/19318c347d551cf1

Style manager> style name> edit templates> css templates> css_additional.css
https://vborg.vbsupport.ru/external/2014/11/7.png

/*-- 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;
}

shimei
04-03-2015, 03:40 PM
Is there a way to also add this to modules?

player2014
05-04-2015, 12:36 PM
No Fix For the Unwanted Spacing :(

justasiam
05-13-2015, 05:59 PM
This is pretty cool. TY.

beastmode1
07-04-2015, 09:55 PM
How can i add round upper corners to the top bar?

napy8gen
08-07-2015, 09:14 PM
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

.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;
}

matheus21
09-23-2015, 08:01 PM
does not work in version 5.1.9?
here to me did not work

rohit_123
01-22-2016, 12:08 PM
Works fine on 5.1.10. If anybody wants to have a look then check this url http://forum.miui.co.in

josueinaki
01-27-2016, 12:36 AM
the spacing in the main forum is ok but i get this problem in subforums

EDIT------------

i remove this part of code

<!--added 2nd row -->
<tr class="forum-list-header">
<th class="header-forum"><span>Forums</span></th>
<th class="header-topics"><span>{vb:rawphrase topics}</span></th>
<th class="header-posts"><span>{vb:rawphrase posts}</span></th>
<th class="header-lastpost"><span>{vb:rawphrase last_post}</span></th>
</tr>

its ok now

elroy15
06-06-2016, 06:12 PM
its doesnt work
vb 5.2.2
someone can help me ?

alsuheimat
09-29-2016, 12:28 AM
update plesea vb 5.2.4

منتديات ابناء الكرك (http://alkarak.biz/)

ppurchalak
12-18-2016, 02:50 PM
Hi.
I think that there must be close tag for <table>, where to add it?

watershed
11-22-2018, 12:49 PM
If anybody is interested in a version of this which works with the latest version (5.4.5), Glenn from vBMods.rocks made a nice one: https://vbmods.rocks/forum/vbulletin-5-modifications/vbulletin-5-template-only-modifications/2194-forum-category-spacing-on-homepage-no-template-editing-required-and-vbcloud-compatible

Ghost Shadow
12-10-2021, 10:42 PM
Please update for vb 5.6.5