vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Showthread weirdness (https://vborg.vbsupport.ru/showthread.php?t=116742)

dark_landz 05-26-2006 03:38 PM

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 ?

Rich 05-26-2006 04:40 PM

That has to do with the style.

dark_landz 05-26-2006 05:33 PM

can you explain a bit more what you mean ?

Zachery 05-26-2006 05:34 PM

Its your sidebar code thats causing that. try removing it.

Logikos 05-26-2006 05:43 PM

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.

dark_landz 05-26-2006 08:02 PM

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 :)


All times are GMT. The time now is 07:25 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.02455 seconds
  • Memory Usage 1,762KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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