vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Problem displaying page correctly, footer not at foot (https://vborg.vbsupport.ru/showthread.php?t=79662)

smju 04-09-2005 10:29 AM

Problem displaying page correctly, footer not at foot
 
I am having a little problem and don't know what the solution is, if there is one.

I have a php program that has 2 parts. Part 1 displays a basic form asking the user to select a member name for reporting upon. This then passes the selected user back into the same php program that then runs part 2, that produces the report output.

In both cases I make use of a basic vBulletin base template in order to have the output display looking like part of the Bulletin Board.

Part 1, runs through and correctly displays the Bulletin Board {i.e. BB Header, ?my output?, BB Footer/Trailer}.

Part 2, however, displays the BB Footer / Trailer to the right of ?my output? instead of at the bottom.

A quick explanation of the main php file:
All the ?doing? is done inside the SWITCH statement. The first time through the DEFAULT is executed. The second time through, CASE 1 is executed. In Case 1, I have tried (with no difference to the output) putting Form and Body tags around the output report

Here be all the code:

This be the vBulletin Template

This is the php code file

and here be screen shots of the results:

This is the correct result from the SWITCH, DEFAULT

Incorrect display of SWITCH CASE 1 {left hand side of screen}

Incorrect display of SWITCH CASE 1 {right hand side of screen}

As mentioned above I have no idea why, if anyone has any suggestions as to how to fix ?Part 2?, I would be very greatful.

Princeton 04-09-2005 01:37 PM

it's your html ...

smju 04-10-2005 09:25 AM

Care to give me a clue?

Marco van Herwaarden 04-10-2005 10:02 AM

Difficult to tell if we can't see the actual code.

Princeton 04-10-2005 12:55 PM

me runs to the cellar and gets me a crystal ball
:D

smju 04-10-2005 03:20 PM

That's why I provided a link to the various bits of code ...

However, I have since upgraded the program to add an additional facility on "Switch case 1", and the problem has been solved.

Still don't know WHY, but I guess it must have been a logic problem as I did not change any of the html, just moved it.

That's life I guess.

Many thanks to those who took the time to look.


All times are GMT. The time now is 01:46 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.01038 seconds
  • Memory Usage 1,719KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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