vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   IE Image Problem (https://vborg.vbsupport.ru/showthread.php?t=141677)

johnstires 03-10-2007 07:30 PM

IE Image Problem
 
I've been trying to figure out this problem for the last 3-4 weeks and have gotten no where. If anyone can figure this one out, you're a superstar...

This only happens in IE For some reason when I add an image to a GARS thread, the template gets all messed up.

This is the same thread, first with only text:

http://www.prenatalyogacenter.com/fo...t=2061&garpg=3

Now with an image:

http://www.prenatalyogacenter.com/fo...ead.php?t=2061

I have no clue what could be causing this.

Here's some background if it helps...

This happens under the following conditions:

If you have a fixed width forum
Are trying to post images in a GARS forum
Have a left hand column hack
Have the spaceropen template hacked as below

This is complicated and I do not know how to fix it.

left column hack works fine for most pages on fixed width boards. The only page it doesn't work with is the post view. If order to make it work you need to change your spaceropen template from:

Code:

<!-- open content container -->
<if condition="$show['old_explorer']">
        <table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center"><tr><td class="page" style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
<else />
<div align="center">
        <div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
                <div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
</if>

to the following:

Code:

<!-- open content container -->
<if condition="$show['old_explorer']">
        <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr><td class="page" style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
<else />
<div align="center">
        <div class="page" style="width:100%; text-align:$stylevar[left]">
                <div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
</if>

That makes the post view look fine. However when you convert the forum to a GARS forum and then add images, the entire thing breaks. and the width gets all jacked up.

There is some conflict between the left column, the spaceropen template and GARS.

But I have no clue what. All I know is that when I remove the left column and revert the spaceropen template, the GARS forum looks fine. And when I remove the GARS forum but leave the left column and the spaceropen (with the width change above) everything is fine.

I just can't have both. Well I can as long as I do not add images. once I add images everything get mucked up.

Can someone else please try to recreate this so I don't feel crazy.


All times are GMT. The time now is 06:51 AM.

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.00898 seconds
  • Memory Usage 1,718KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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