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)
-   -   Width Issues in Various Templates (https://vborg.vbsupport.ru/showthread.php?t=193913)

ArgylePhoto 10-18-2008 04:04 AM

Width Issues in Various Templates
 
Hi,

I posted something similar to this the other day but then solved it, but it's struck again!

I'm using a table around my whole forum to give it rounded edges, this is working fine on all pages so far except calendar, showthread and memberslist. What these pages seem to be doing is opening the main container table (ie the one that contains the whole forum's width etc) again inside the table I've created for the rounded edges. They're certainly using the same background image.

For calendar and memberslist I removed the:

Code:

$spacer_close
$spacer_open

bits of code and that solved the problem. But doing the same for showthread hasn't worked, the background image is still there.

So can anyone help? What's causing showthread to do this? And can I remove the above code from the calendar and memberslist templates or will that cause them to do something odd under certain conditions?

--------------- Added [DATE]1224313180[/DATE] at [TIME]1224313180[/TIME] ---------------

Also, why does the main content table not open when the 'standard error' template is used?

--------------- Added [DATE]1224333747[/DATE] at [TIME]1224333747[/TIME] ---------------

Found a solution to the showforum problem, it was the postbit_wrapper template to blame.

Still having trouble with the other bits though...

Lynne 10-18-2008 03:04 PM

Removing $spacer_open and $spacer_close should not be a problem as long as they are removed in pairs. $spacer_open is three <div> tags and $spacer_close is three </div> tags, so if you don't remove them in pairs, then your html will not validate correctly.

ArgylePhoto 10-19-2008 02:30 AM

Thanks that's what I hoped.

Anyone any idea about the register.php/standard_error problem?

And also when I edit a post the edit box doesn't go away on clicking 'save'. Where is the code for that form? Is it likely to be due to changes in the showthread template?


All times are GMT. The time now is 04:50 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.01725 seconds
  • Memory Usage 1,710KB
  • 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