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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2006, 03:38 PM
dark_landz dark_landz is offline
 
Join Date: May 2006
Location: Belgium
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Showthread weirdness

I've been looking at showthread and postbit template code for 2 hours and still didn't find the bug that shows that table or whatever it is on the right side when i show a thread ...

screenshot shows it

Any help ?
Reply With Quote
  #2  
Old 05-26-2006, 04:40 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That has to do with the style.
Reply With Quote
  #3  
Old 05-26-2006, 05:33 PM
dark_landz dark_landz is offline
 
Join Date: May 2006
Location: Belgium
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you explain a bit more what you mean ?
Reply With Quote
  #4  
Old 05-26-2006, 05:34 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its your sidebar code thats causing that. try removing it.
Reply With Quote
  #5  
Old 05-26-2006, 05:43 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think he wants to remove the sidebar. I belive he wants the rest of the page to stretch to the right. Post your header and footer code and I'll take a look at the HTML for you.
Reply With Quote
  #6  
Old 05-26-2006, 08:02 PM
dark_landz dark_landz is offline
 
Join Date: May 2006
Location: Belgium
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Header ...

PHP Code:

<style type="text/css">
<!--
body {
    
background-image:url($stylevar[imgdir_misc]/darklandz_bak.gif);
    
margin-left0px;
    
margin-top0px;
    
margin-right0px;
    
margin-bottom0px;
}
-->
</
style>
</
head>
<
body>
<
table width="1000" height="160" border="0" align="center" cellpadding="0" cellspacing="0">
  <
tr>
    <
td height="160" align="left" valign="top" nowrap><a href="index.php"><img src="$stylevar[imgdir_misc]/header.jpg" width="1000" height="160" border="0"></a></td>
  </
tr>
</
table>
</
body>

<!-- 
content table -->
$spacer_open

$_phpinclude_output
<!-- Left Column Code  -->
<
table border="0" width="1000" cellpadding="0" cellspacing="0" align="center">

<
tr>
<
td width="200" valign="top" align="left">$leftcolumn</td>
<
td width="10" valign="top" align="left">&nbsp;</td>
<
td valign="top">
<
table width="790" cellpadding="0" cellspacing="0" border="0">
<
tr>
<
td valign="top">
<!-- 
End Left Column Code --> 
Footer ...

PHP Code:
!-- Left Column Code  -->
</
td></tr>
</
table>
</
td></tr>
</
table>
<!-- 
End Left Column Code -->

$spacer_close
<!-- /content area table -->

<
form action="$vboptions[forumhome].php" method="get">
    
<
table cellpadding="0" cellspacing="0" border="0" width="1000" height="81" background="images/darklandz/misc/footer.jpg"
align="center">
<
tr>
  <
td width="200" valign="top"><br>
    <
div class="smallfont" align="center" valign="top">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
  </
td>
<
td width="800" valign="top">
    <
div class="smallfont" align="center"><br>
    
www.darklandz.be Design Code &copy2004 2006 Darklandz<br>
    
$vbphrase[powered_by_vbulletin]
    <!-- Do 
not remove this copyright notice -->
</
div>

  </
td>    
  
</
tr>
</
table>

<
br />

<
div align="center">
    
    
    <
div class="smallfont" align="center">
    <!-- Do 
not remove $cronimage or your scheduled tasks will cease to function -->
    
$cronimage
    
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
    
    
$vboptions[copyrighttext]
    </
div>
</
div>

</
form>

<if 
condition="$show['dst_correction']">
<!-- 
auto DST correction code -->
<
form action="profile.php" method="post" name="dstform">
    <
input type="hidden" name="s" value="$session[sessionhash]/>
    <
input type="hidden" name="do" value="dst" />
</
form>
<
script type="text/javascript">
<!--
    var 
tzOffset $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
    var 
utcOffset = new Date().getTimezoneOffset() / 60;
    if (
Math.abs(tzOffset utcOffset) == 1)
    {    
// Dst offset is 1 so its changed
        
document.forms.dstform.submit();
    }
//-->
</script>
<!-- / 
auto DST correction code -->

</if>
<
script type="text/javascript">
<!--
    
// Main vBulletin Javascript Initialization
    
vBulletin_init();
//-->
</script
tnx to SirAdrian

Wouldn't it just be SHOWTHREAD? Try removing all occurances of $spacer_open and $spacer_close. Backup your template first of course...

I removed them in showthread and it dissapeared
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 03:54 PM.


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.05621 seconds
  • Memory Usage 2,252KB
  • 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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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