vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Category spacing (https://vborg.vbsupport.ru/showthread.php?t=84430)

+buG 09-03-2002 04:52 AM

Category spacing
 
I've been installing my friends new vbulletin script for him and I just modified my categories to space from each other, they space, but at the top of the first category thers a line, im guessing its from the table I added to space them?

check it out an tell me what you thnik...
www.spotlessent.roffle.com/forums

foularou 09-03-2002 05:11 AM

I've got the same problem on my forum i don't help you for the momment but if i find i tell you

Tony G 09-03-2002 06:19 AM

check all your forumhome templates for the code for that line, mostly likely forumhome_level1 or something like that. :p

Austin Dea 09-03-2002 08:57 PM

Set widths in your 'forumhome_forumbit_level1_nopost' template for the cells that say Forum, Posts, Threads, Last Post, and Moderator =P.

+buG 09-03-2002 10:28 PM

Quote:

Originally posted by Austin
Set widths in your 'forumhome_forumbit_level1_nopost' template for the cells that say Forum, Posts, Threads, Last Post, and Moderator =P.
I'm sorry, but I don't quite understand what your saying. Are my table's width not set right? I have them at "100%".

Austin Dea 09-04-2002 02:06 AM

No, I mean for the cells that have the Forum, Posts, Threads, Last Post, and Moderators. Set widths for each one of them ;)

It should look like this in your 'forumhome_forumbit_level1_nopost' (without the space in { tableheadbgcolor} and { tableheadtextcolor}):
PHP Code:

<tr align="center">
  <
td bgcolor="{ tableheadbgcolor}"><smallfont>&nbsp;</smallfont></td>
  <
td bgcolor="{ tableheadbgcolor}" width="80%" align="left"><smallfont color="#000000"><b>Forum</b></smallfont></td>
  <
td bgcolor="{ tableheadbgcolor}"><smallfont color="{ tableheadtextcolor}"><b>Posts</b></smallfont></td>
  <
td bgcolor="{ tableheadbgcolor}"><smallfont color="{ tableheadtextcolor}"><b>Threads</b></smallfont></td>
  <
td bgcolor="{ tableheadbgcolor}" nowrap><smallfont color="{ tableheadtextcolor}"><b>Last Post</b></smallfont></td>
  <
td bgcolor="{ tableheadbgcolor}" width="20%"><smallfont color="{ tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</
tr

Just set widths for each < td> (Or maybe just for the cell with the last post info, since that's the one causing the misalignment =P).


edit: Replace tha block with this and see if it works.
PHP Code:

<tr align="center">
  <
td bgcolor="{tableheadbgcolor}"><smallfont>&nbsp;</smallfont></td>
  <
td bgcolor="{tableheadbgcolor}" width="60%" align="left"><smallfont color="{tableheadtextcolor}"><b>Forum</b></smallfont></td>
  <
td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Posts</b></smallfont></td>
  <
td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Threads</b></smallfont></td>
  <
td bgcolor="{tableheadbgcolor}" width="20%" nowrap><smallfont color="{tableheadtextcolor}"><b>Last Post</b></smallfont></td>
  <
td bgcolor="{tableheadbgcolor}" width="20%"><smallfont color="{tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</
tr


foularou 09-04-2002 05:58 AM

i found where is the problem. :D

In your forumhome template found


PHP Code:

<!-- main -->
<
table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextrawidth="{contenttablewidth}" align="center"><tr><td>
<
table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextrawidth="100%">
$forumbits 

and replace

PHP Code:

cellspacing="{tableinnerborderwidth}" 

by

PHP Code:

cellspacing="0" 

After this modification for my forum it's allright. I think you too.

Tony G 09-04-2002 07:00 AM

Did it work for you? I'll try this too if needed. :)

foularou 09-04-2002 10:45 AM

Quote:

Originally posted by Tony
Did it work for you?
Yes it work


All times are GMT. The time now is 05:43 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.02859 seconds
  • Memory Usage 1,754KB
  • 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
  • (5)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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