Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2002, 05:52 AM
+buG +buG is offline
 
Join Date: Jun 2002
Location: Bay Area CA
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 09-03-2002, 06:11 AM
foularou foularou is offline
 
Join Date: Jul 2002
Location: In your .........
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got the same problem on my forum i don't help you for the momment but if i find i tell you
Reply With Quote
  #3  
Old 09-03-2002, 07:19 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

check all your forumhome templates for the code for that line, mostly likely forumhome_level1 or something like that.
Reply With Quote
  #4  
Old 09-03-2002, 09:57 PM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Set widths in your 'forumhome_forumbit_level1_nopost' template for the cells that say Forum, Posts, Threads, Last Post, and Moderator =P.
Reply With Quote
  #5  
Old 09-03-2002, 11:28 PM
+buG +buG is offline
 
Join Date: Jun 2002
Location: Bay Area CA
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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%".
Reply With Quote
  #6  
Old 09-04-2002, 03:06 AM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 09-04-2002, 06:58 AM
foularou foularou is offline
 
Join Date: Jul 2002
Location: In your .........
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i found where is the problem.

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.
Reply With Quote
  #8  
Old 09-04-2002, 08:00 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did it work for you? I'll try this too if needed.
Reply With Quote
  #9  
Old 09-04-2002, 11:45 AM
foularou foularou is offline
 
Join Date: Jul 2002
Location: In your .........
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Tony
Did it work for you?
Yes it work
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 02:54 PM.


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.04656 seconds
  • Memory Usage 2,267KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete