vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   pulling my hair out on showthread template (https://vborg.vbsupport.ru/showthread.php?t=227727)

sailnet 11-10-2009 06:03 PM

pulling my hair out on showthread template
 
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

HTML Code:

        $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

HTML Code:

</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 [DATE]1257891996[/DATE] at [TIME]1257891996[/TIME] ---------------

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


All times are GMT. The time now is 04:50 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.01076 seconds
  • Memory Usage 1,715KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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