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 08-23-2002, 09:18 PM
mikey8270 mikey8270 is offline
 
Join Date: Oct 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default header problem

hey,

i have a header that stretches across the whole top of the page...

the code for it (in the header template) is:

Quote:
<table border="0" width="100%" cellpadding="0" cellspacing="0" background="images/header_bg.gif">
<tr valign="top">
<td valign="top" align="left" width="467" height="105"><img src="images/header_top_left.jpg" border="0" alt=""></td>
</tr>
<tr valign="bottom">
<td align="left" width="140" height="35"><a href="index.php?s=$session[sessionhash]"><img src="images/header_bottom_left.gif" border="0" alt="$bbtitle"></a></td>
<td width="100%" height="35"><img src="images/space.gif" alt=""></td>
<td align="right" width="347" height="35"><img src="images/header_bottom_right.gif" alt="" border="0"></td>
</tr>
</table>
it looks fine on the forumhome, but when i go to a forum it doesnt stretch across the whole page..it just stops.

and if i refresh the page when it doesnt stretch actoss the whole page it fixes on that page.

ive been trying to fix this for a while, can anybody help?

thanks,
mikey.

screenshots on the next 2 posts
Reply With Quote
  #2  
Old 08-23-2002, 09:24 PM
mikey8270 mikey8270 is offline
 
Join Date: Oct 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here it is without the space
Attached Images
File Type: jpg nospace.jpg (13.5 KB, 0 views)
Reply With Quote
  #3  
Old 08-23-2002, 09:25 PM
mikey8270 mikey8270 is offline
 
Join Date: Oct 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and here it is with the space
Attached Images
File Type: jpg space.jpg (13.8 KB, 0 views)
Reply With Quote
  #4  
Old 08-23-2002, 10:25 PM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like you might have a spacer still in your show thread template. You removed it from your forumhome template, but I think it still remains in your showthread template.

Without a larger screenshot it's hard to tell, but that would be my guess.
Reply With Quote
  #5  
Old 08-23-2002, 11:38 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm when I went to your home page everything seems to work fine, unless this is for another forum..
Reply With Quote
  #6  
Old 08-24-2002, 12:40 AM
mikey8270 mikey8270 is offline
 
Join Date: Oct 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its another style u cant see yet :P
Reply With Quote
  #7  
Old 08-24-2002, 12:42 AM
mikey8270 mikey8270 is offline
 
Join Date: Oct 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by mashby
It looks like you might have a spacer still in your show thread template. You removed it from your forumhome template, but I think it still remains in your showthread template.

Without a larger screenshot it's hard to tell, but that would be my guess.
thanks for the tip, ill check it in a sec....but why would it stretch out all the way if i refresh?
Reply With Quote
  #8  
Old 08-24-2002, 12:48 AM
mikey8270 mikey8270 is offline
 
Join Date: Oct 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and its not just showthread either, like if i go to a forum from forumhome it doesnt go all the way, and then if i hit back to go back to forumhome the header kepps the space and then when i hit refresh it goes back to normal.
Reply With Quote
  #9  
Old 08-24-2002, 01:35 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

Are there any spacers around the header variable in forumhome then?
Reply With Quote
  #10  
Old 08-24-2002, 04:31 PM
mikey8270 mikey8270 is offline
 
Join Date: Oct 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is my forumhome template:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
<meta name="description" content="$bbtitle">
<title>$bbtitle - where it all begins...</title>
$headinclude
</head>
<body>
$header

<!-- text -->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td><normalfont><b>$bbtitle</b></normalfont></td>
<td align="right"><smallfont>$welcometext<br><b>$newpo sts</b></smallfont></td>
</tr>
</table>

<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
$unregwelcomemessage
<tr valign="bottom">
<td><smallfont>
Members: $numbermembers, Threads: $totalthreads, Posts: $totalposts<br>
Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername </a>
</smallfont></td>
<td align="right"><smallfont>
The time now is $timenow.<br>
You last visited: $bbuserinfo[lastvisitdate].
</smallfont></td>
</tr>
</table>
<!-- /text -->

<br>

<!-- main -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor=""#FFFFFF" background="images/mainbg.gif"" width="100%" align="center"><tr><td>

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#6597D9" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">

$loggedinusers
$birthdaybits
$pminfo
</table>
</td></tr></table>

<table cellpadding="4" cellspacing="1" border="0" width="100%">
$forumbits
</table>
</td></tr></table>
<!-- /main -->

<br>

<!-- timezone/login-->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td><smallfont>$timezone</smallfont></td>
<td align="right">$logincode</td>
</tr>
</table>
<!-- /timezone/login -->

<br>

<!-- icons -->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td align="center">
<img src="images/on.gif" border="0" alt="On" align="absmiddle">
<b><smallfont>New posts</smallfont></b>
&nbsp;&nbsp;
<img src="images/off.gif" border="0" alt="Off" align="absmiddle">
<b><smallfont>No new posts</smallfont></b>
&nbsp;&nbsp;
<img src="images/lock.gif" border="0" alt="Closed Forum" align="absmiddle">
<b><smallfont>A closed forum</smallfont></b>
</td>
</tr>
</table>
<!-- /icons -->

$footer
</body>
</html>
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 11:18 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.07681 seconds
  • Memory Usage 2,275KB
  • Queries Executed 12 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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
  • 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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete