Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 07-03-2005, 02:08 AM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would rather have a fixed layout, could you give me an idea of which templates I would have to fix?
Reply With Quote
  #12  
Old 07-03-2005, 02:11 AM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do a search for $spacer_open
Reply With Quote
  #13  
Old 07-07-2005, 04:00 AM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have gotten rid of a few. If you were to click on a user name to get the page that will allow you to pm, send an email, and see the profile fields. I am still getting a width problem. Below is for sure the area of code I am getting the problem in, (if I remove everything works right) Where could it be in this?
Code:
<if condition="$webpage['quickedit_form']">
$webpage[quickedit_form]
</if>

<table align=center width="$wghtml[webgbtotalwidth]" border=0 cellspacing=0 cellpadding=0>
<tr>
<if condition="$webpage[gb_onoff] == 'on'">
<if condition="$webpage[gb_position] == 'left'">
<!-- START HEADER POS. LEFT GUESTBOOK ON/OFF CHECK -->
<td valign=top width="$wghtml[gbwidth]">$webpage[gb_html]</td>
<!-- END HEADER POS. LEFT GUESTBOOK ON/OFF CHECK -->
</if>
</if>
<td valign=top width="$wghtml[webpagewidth]">

<if condition="$webpage[webpage_onoff] == 'on'">

<if condition="$webpage[text]">
<!-- START MAIN WEBPAGE ON/OFF CHECK -->
$webpage[header]

<table style="margin-top: 6px" align=center width=99% bgcolor="$webpage[bordercolor]" border=0 cellspacing="$webpage[bordersize]" cellpadding="$webpage[bordersize]">
<tr><td valign=top bgcolor="$webpage[bgcolor]">

<font size=3 face="$webpage[fontface]" color="$webpage[fontcolor]"><b>$webpage[name]</b><br>
</font>
<br>

<font size="$wghtml[defaultfontsize]" face="$wghtml[defaultfontface]" color="$wghtml[defaultfontcolor]">
$webpage[text]<br>
</font>

</td></tr>
</table>
<div style="margin-right: 10px" align=right><font size=1><b>$vbphrase[views]:</b> $webpage[hits]</font><br>
<if condition="$webpage['quickedit_button']">
$webpage[quickedit_button]
</if>
</div>

<else />
<center>
<font color="$wghtml[no_content_textcolor]">$vbphrase[webpage_has_no_content]
</font></center><br>
</if>

<br />
<!-- END MAIN WEBPAGE ON/OFF CHECK -->
</if> 

<if condition="$webpage[gb_onoff] == 'on'">
<if condition="$webpage[gb_position] == 'right'">
<!-- START POS. RIGHT GUESTBOOK ON/OFF CHECK -->
</td><td valign=top width="$wghtml[gbwidth]">$webpage[gb_html]</td></tr>
</table>
<!-- END POS. RIGHT GUESTBOOK ON/OFF CHECK -->
</if>
<if condition="$webpage[gb_position] == 'left'">
<!-- START POS. LEFT GUESTBOOK ON/OFF CHECK -->
</td></tr>
</table>
<!-- END POS. LEFT GUESTBOOK ON/OFF CHECK -->
</if>
<if condition="$webpage[gb_position] == 'bottom'">
<!-- START BOTTOM GUESTBOOK ON/OFF CHECK -->
</table>
$webpage[gb_html]
<!-- END BOTTOM GUESTBOOK ON/OFF CHECK -->
</if>
<else />
<table>
</if>

<br>
Reply With Quote
  #14  
Old 07-07-2005, 12:37 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not familiar with the hack but you should try looking in the the html source.
My guess is that it will be $wghtml[webgbtotalwidth] ...

TIP
Remove all the <font> tags or remove the XHTML DOCTYPE
Reply With Quote
  #15  
Old 07-07-2005, 03:03 PM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I looked through that file, tried to change alot of the things, it didn't change the width issue. Here is the code. Any advice would be appreciated.
Code:
<?
//This file includes settings for Webpage and Guestbook script
//Preconfigured for vB default blue scheme
$wghtml['webgbtotalwidth'] = '100%	';
$wghtml['webpagewidth'] = '55%'; //Default 60%
$wghtml['gbwidth'] = '35%'; //Default 40%
$wghtml['gbpagelimit'] = '10';
$wghtml['gbpagestoshow'] = '10';

$wghtml['defaultfontface'] = 'Arial, Helvetica';
$wghtml['defaultfontsize'] = '2';
$wghtml['defaultfontcolor'] = 'black';

$wghtml['borderline'] = 'black';
$wghtml['lastupdatebgcolor'] = '#C7D0DF';
$wghtml['lastupdatetextcolor'] = '#000000';
$wghtml['gbentrytimetextcolor'] = '#444444';
?>
Reply With Quote
  #16  
Old 07-07-2005, 07:11 PM
m0nde's Avatar
m0nde m0nde is offline
 
Join Date: Mar 2005
Location: Toronto, ON Canada
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The usual size of a site is 760 pixels if you want it to fit on an 800 pixel screen.

Remember the user has scroll bars to deal with and other junk. It's unwise to make it a full 800 pixels across because you're likely to have the bottom scroll bar show up.

Also, as another user said, you should consider both a fixed width and a liquid or scalable width to make it easier on people who have a bigger screen.

Also, the liquid one, if set up as a child style of the fixed width one can make it easier for you to see problem areas because they will show up with weird formatting when you change the size of the browser on a really big screen.

This has helped me debug size issues before.

Just my two cents.

- Sid
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03951 seconds
  • Memory Usage 2,219KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete