vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Forum Main body width wont change! (https://vborg.vbsupport.ru/showthread.php?t=219540)

mrconfus3d 07-27-2009 01:29 AM

Forum Main body width wont change!
 
when i attempt to make the main body width lower in percentage or pixels (in StyleVars), it dosnt do anything. It stays at the default. What can be the problem?

$spacer_open is still in the templates as well...

Lynne 07-27-2009 02:26 AM

Are you using the default Jelsoft/vbulletin style or a custom style? If it's custom, it may be that they didn't include the stylevars needed to change the width through the style manager. You may have to ask them how to change the width for that style.

mrconfus3d 07-27-2009 04:49 AM

Its my style.

Dismounted 07-27-2009 06:08 AM

If you removed the StyleVar from the templates that use it, changing the StyleVar will not do anything. Make sure that the StyleVar is actually there.

mrconfus3d 07-27-2009 08:34 AM

Ah, and where would i check for this?

Lynne 07-27-2009 02:59 PM

Look for $stylevar[outertablewidth]. Normally it is in the header, footer, and spacer_open, at least. However, if it's your own style, you may need it in other places and if you didn't put it there, then changing the value will have no effect.

mrconfus3d 07-27-2009 05:56 PM

$stylevar[outertablewidth] has not been removed from anywhere but the header because i need a specific code for my banner. This is how it goes
Code:

<!-- logo -->
<a name="top"></a>
<br style="display: none;">
<table class="bordercolor" align="center" bgcolor="#000" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td width="100%" height="100%" align="center"><font size="+1"><a href="http://www.clansgfh.com/forum/index.php"><img src="http://www.clansgfh.com/forum/images/clansgfh/clanlogo.gif" border="0"></a></font>
</td>
</tr>
</tbody></table>
</td>
</tr>
</td>
<!-- /logo -->

<!-- content table -->
$spacer_open


$_phpinclude_output

$ad_location[ad_header_end]

As you can see, there is no $stylevar[outertablewidth]. Basicly that code aligns the banner to the center and it will contract and expand according to the users resolution.

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

Ok heres something new as well. I changed the stylevar, and the main forum page. The index.php did not change. But when you go looking at threads it did. Also, The header still did not change, but the thread (viewing posts) Has changed.

Lynne 07-27-2009 06:30 PM

Well, it sounds like it is something wrong in your style. I don't know how to tell you to find the problem except to compare your templates to the default Jelsoft ones and see if you have ended a table or something like that when they don't (and thus it works fine on theirs).

mrconfus3d 07-27-2009 08:09 PM

Ok, I did just as you told me to and it still dosnt work... when you look at the main page, (/forum/index.php) everything is 100%, as if it didnt change, but the one table on the bottom with Contact Us - Index - Admin - Mod - Archive - Top and the style chooser on the left. That table has changed to 50%. But the rest of the page is still 100%. And if you look at the screenshot below, you will see what I have done. I was pretty sure it would work, but it didnt....Also, this is the only template I have editted that you have stated
Quote:

header, footer, and spacer_open
SCREENSHOT:
https://vborg.vbsupport.ru/external/...g?t=1248728900

Ugh. Also ignore my noob underlining. On the left side, $stylevar[outertablewidth] is on the third line.

Lynne 07-27-2009 09:19 PM

But notice that in yours, you close the table that has the outertablewidth. In the default, that table is left still open to be used for the rest of the page (another table in one of the cells is closed, but it isn't the one with the outertablewidth).


All times are GMT. The time now is 05:15 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.01028 seconds
  • Memory Usage 1,738KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete