vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help. Forum Unaligned in explorer (https://vborg.vbsupport.ru/showthread.php?t=190025)

danielc2384 09-04-2008 03:07 PM

Help. Forum Unaligned in explorer
 
So I had my forum set up and working fine an hour ago until I added a new style and made it a parent of my default style. Anyway.....


I got the forum back to normal in firefox. No problems there. In explorer everything is unalined. You can see it at www.dollhousetvforum.com

Here is the code on the header:

Code:

<a name="top"></a>

<table width=775 height=100% cellspacing="0" cellpadding="0" border="0" align="center" valign=top>
<tr>
<td align=center width=5 height=100%

</td>

<td align=center valign=top width=765>

<table cellspacing="0" cellpadding="0" border="0" align="center" valign=top width=100% height=100%>
<tr>
<td align=center valign=top height=188 width=100%


                                <table width="100%" height=188 cellspacing="0" cellpadding="0" border="0"

align="center" valign=top>
                                <tr>

                                <td align=left valign=top height=188 width=183>
               
                               
<center>
<td align="$stylevar[center]"><a href="http://www.dollhousetvforum.com"> <img src=images/voodoo/misc/logo.jpg></a></td>
</center>
 
                                </td>

                                <td align=right width=100% valign=top height=188 align=right>
                                               
                                                </td>
                                                </tr>
                                                </table>
                                                                                               
        </td>
                                                </tr>

<tr>
                <td width=100% height=100% align=center valign=top bgcolor=#000000>
               
<table width=100% height=100% align=center valign=top border=0 cellpadding=0 cellspacing=0>
<td align=center width=100% height=100% valign=top>
               
<!-- /logo -->

<!-- content table -->

$spacer_open
<br>
<!-- nav buttons bar -->
<div align="center">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
        <tr align="center">       
                <!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->

                <td class="vbmenu_control"><a href="arcade.php">Arcade</a></td>
                <if condition="$show['registerbutton']">
                        <td class="vbmenu_control"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td>
                </if>
                <td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
                <if condition="$show['popups']">               
                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
                                </if>
                                <td id="navbar_search" class="vbmenu_control"><a href="search.php?$session[sessionurl]">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
                        </if>
                        <if condition="$bbuserinfo['userid']">
                                <td id="usercptools" class="vbmenu_control"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>               
                        </if>
                <else />               
                        <if condition="$show['searchbuttons']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]">$vbphrase[search]</a></td>
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
                                </if>
                        </if>
                        <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
                        <if condition="$bbuserinfo['userid']">                       
                                <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>                       
                        </if>                       
                </if>
                <if condition="$bbuserinfo['userid']">
                        <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout" onclick="return log_out()">$vbphrase[log_out]</a></td>
                </if>
        </tr>
        </table>
</div>
<!-- / nav buttons bar -->
<br>
$_phpinclude_output


Lynne 09-04-2008 03:10 PM

This is not going to work:

HTML Code:

<td align=center width=5 height=100%

</td>

Try:
HTML Code:

<td align=center width=5 height=100%>

</td>

Check all your lines. You've done that in a couple of places. Also, you really should use quotes around the attributes, ie. align="center"

danielc2384 09-04-2008 03:17 PM

Quote:

Originally Posted by Lynne (Post 1614457)
This is not going to work:

HTML Code:

<td align=center width=5 height=100%

</td>

Try:
HTML Code:

<td align=center width=5 height=100%>

</td>

Check all your lines. You've done that in a couple of places. Also, you really should use quotes around the attributes, ie. align="center"

Thats heaps! It's all working now. I spent about 2 hours looking through that code and there it was.


One other small problem when I log out. Where it should say "are you sure you want to log out" it says undefined and when I click ok after that it says An error occurred while attempting to log you out. Click here to log out.

Lynne 09-04-2008 04:00 PM

It sounds like you need to update your logout lines in your style. I think they changed a while back and maybe you are using the old code with the new php pages and thus getting the errors.


All times are GMT. The time now is 01:28 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.02063 seconds
  • Memory Usage 1,748KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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