View Full Version : Showthread weirdness
dark_landz
05-26-2006, 03:38 PM
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 (http://www.ssdd.be/question4.jpg)
Any help ?
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 ...
<style type="text/css">
<!--
body {
background-image:url($stylevar[imgdir_misc]/darklandz_bak.gif);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</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"> </td>
<td valign="top">
<table width="790" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
Footer ...
!-- 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 © 2004 - 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 :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.