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)
-   -   Register.php and Login.php issue. (https://vborg.vbsupport.ru/showthread.php?t=193826)

ArgylePhoto 10-17-2008 01:12 AM

Register.php and Login.php issue.
 
I've take the following code out of the header and put it into the navbar template so that the navbar template can be 100% of the width of the header.

Code:

<!-- content table -->
$spacer_open

$_phpinclude_output

It's worked well on every page except (that I've found so far) register.php and login.php - neither are the right width or have a background colour, suggesting that they're not using the main body table. I thought this was caused by neither using the navbar template but ever if I add the code to the register template the problem remains. I don't know what template login.php uses, I can't seem to find one?

Can anyone help me with this? What's different about these two (and any others that I haven't found yet) that won't function properly unless the above code is contained with the header template? As far as I can see it shouldn't matter where exactly it's located so long as it's above the main content of the page? But I seem to be wrong.

Thanks in advance.

Dave

Lynne 10-17-2008 01:36 AM

To find the template - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Usually, to find the 'main' template used, it is listed at the top of the page source (like FORUMDISPLAY for the forumdisplay.php page and SHOWTHREAD for the showthread.php page).

That should help you find the template so you can see what html is missing.

ArgylePhoto 10-17-2008 06:13 AM

I got it from that it was the error template.

Thank you :)


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