PDA

View Full Version : pulling my hair out on showthread template


sailnet
11-10-2009, 06:03 PM
can you help.

I want to have a left hand column on my page of 200 pixels wide to display banner ads.

I have a fixed with for my website of 800 pixels.

when I try to insert


$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar
<table>
<tr>
<td width=200>&nbsp;</td>
<td>



and then insert the closing

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

down before the page footer all of the thread shift to the right and outside of the page confines

ideas?

I know this can be done, I just don;t know how or what to change?

thanks in advance

--------------- Added 1257891996 at 1257891996 ---------------

nevermind folks - I put mu head down and dug into the code and found out that showthread uses spacer_open which inherits the width from the forum width.

I created my a new template to replace spacer_open on the showthread page and that took care of it.

doob
12-07-2009, 07:42 PM
I think I'm having the same issue but not sure I understand your fix. I deleted all the $spacer_open and $spacer_close variables and the posts are still sizing to the full size of the forums even though they should be constrained by css I've placed on the div the posts should now be in.

In my Control Panel, the spacers are set to 0 anyway so why would they have an effect?

Are you suggesting I track down the actual variable and recode it somehow?

I see this bit of code in the SHOWTHREADS template and wonder where the css for "posts" is stored, as I can't find it anywhere...

<div id="posts">$postbits<div id="lastpost"></div></div>

Could that "posts" style be what's inheriting the sizing of the posts?

-Doob