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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2005, 08:32 PM
patriotcow patriotcow is offline
 
Join Date: Nov 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Anyone know why postbit like this?

Can anyone help tell me why my postbit has gone like this, smaller than the main header bit.

http://web.hostinglibrary.com/suppor...hp?p=11#post11

All I have done is edited the header and footer of the forum.

Any help is appreciated.

Thanks
Reply With Quote
  #2  
Old 05-12-2005, 10:34 PM
Kaishi Kaishi is offline
 
Join Date: Apr 2005
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can't really help u if u don't post your code here... but probably your width wasn't set to 100%
Reply With Quote
  #3  
Old 05-12-2005, 10:56 PM
patriotcow patriotcow is offline
 
Join Date: Nov 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is, Its only the header and footer of the actually vbulletin I have changed.

Well anyway code for header is:

HTML Code:
<script type="text/javascript" language="JavaScript1.2" src="stm31.js">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body onLoad="MM_preloadImages('http://web.hostinglibrary.com/images/hb_comp3_82.gif')">
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="4"><table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tbody>
    <tr>
      <td width="585"><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tbody>
            <tr>
              <td width="5%"><div align="center"><img src="http://web.hostinglibrary.com/images/hb_comp1_97.gif" alt="alt" height="32" width="16" /></div></td>
              <td class="features" width="6%"><a href="http://web.hostinglibrary.com/index.php">home</a></td>
              <td width="5%"><div align="center"><img src="http://web.hostinglibrary.com/images/hb_comp1_97.gif" alt="alt" height="32" width="16" /></div></td>
              <td class="features" width="7%"><a href="http://web.hostinglibrary.com/index.php?do=sitemap">sitemap</a></td>
              <td class="features" width="5%"><div align="center"><img src="http://web.hostinglibrary.com/images/hb_comp1_97.gif" alt="alt" height="32" width="16" /></div></td>
              <td class="features" width="72%"><a href="http://web.hostinglibrary.com/50.html">contact</a></td>
            </tr>
          </tbody>
      </table></td>
      <td rowspan="2" width="509"><img src="http://web.hostinglibrary.com/images/hb_comp1_06.gif" alt="" height="146" width="126" /></td>
      <td rowspan="2" width="154">&nbsp;</td>
    </tr>
    <tr>
      <td><table width="661" border="0" align="left" cellpadding="0" cellspacing="0">
        <tbody>
          <tr class="logo_background">
            <td class="logo_background" width="42%"><div align="center"><img src="http://web.hostinglibrary.com/images/hb_comp1_09.gif" alt="" height="114" width="104" /></div></td>
            <td width="3%"><img src="http://web.hostinglibrary.com/images/hb_comp1_11.gif" alt="" height="114" width="19" /></td>
            <td width="30%"><img src="http://web.hostinglibrary.com/images/hb_comp1_12.gif" alt="" height="114" width="249" /></td>
            <td width="25%"><img src="http://web.hostinglibrary.com/images/hb_comp1_13.gif" alt="" height="114" width="162" /></td>
          </tr>
        </tbody>
      </table></td>
    </tr>
    <tr>
      <td colspan="3" background="index.php_files/hb_comp1_14.gif"><table id="menu" background="http://web.hostinglibrary.com/images/hb_comp1_14.gif" border="0" cellpadding="0" cellspacing="0" width="100%">
          <tbody>
            <tr>
              <td background="index.php_files/hb_comp1_14.gif" width="15"><img src="http://web.hostinglibrary.com/images/hb_comp1_14.gif" alt="" height="37" width="8" /></td>
              <td background="index.php_files/hb_comp1_14.gif" width="799">
                <div align="right"><a href="http://web.hostinglibrary.com/index.php"><img src="http://web.hostinglibrary.com/images/hb_comp1_16.gif" alt="home" border="0" height="37" width="97" /></a><a href="http://web.hostinglibrary.com/index.php?toprated"><img src="http://web.hostinglibrary.com/images/hb_comp1_17.gif" alt="rated" border="0" height="37" width="96" /></a><a href="http://web.hostinglibrary.com/stats.php"><img src="http://web.hostinglibrary.com/images/hb_comp1_18.gif" alt="statistics" border="0" height="37" width="98" /></a><a href="http://web.hostinglibrary.com/support"><img src="http://web.hostinglibrary.com/images/hb_comp1_19.gif" alt="forums" border="0" height="37" width="92" /></a><a href="http://web.hostinglibrary.com/15.html"><img src="http://web.hostinglibrary.com/images/hb_comp1_20.gif" alt="submit" border="0" height="37" width="122" /></a></div></td>
              <td width="40"></td>
              <td width="8"></td>
              <td width="319"></td>
            </tr>
          </tbody>
      </table></td>
    </tr>
    <tr> </tr>
  </tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" id="wrapper" align="center"> 
</tr>
<tr style="height:100%">
<td style="height:100%" valign="top">
<table border="0" cellpadding="4" cellspacing="0" align="center" width="100%" style="height:100%">
<tr style="height:100%" valign="top">
 <td id="content" width="100%" valign="top">
  <!-- content -->

<!-- Sidebar -->
<table width="$stylevar[tablewidth]" cellpadding="0" cellspacing="7" border="0">
	<tr>
		<td style="width:150px" valign="top">$sidebar</td>
		<td valign="top">
<!-- Update -->
<table width="$stylevar[tablewidth]" cellpadding="0" cellspacing="0" border="0">
<tr>
        <td style="width:100%">
<!-- /Update -->
<!-- /Sidebar -->
Code for footer:

HTML Code:
<!-- Sidebar -->
<!-- Update -->
		</td>
	</tr>
</table>
<!-- /Update -->
		</td>
	</tr>
</table>
<!-- /Sidebar -->
</tr>
</tr>
</table>
</td>
</tr>
<tr>
</tr>
</table>
</body>
</html>
  <tr class="footer_bg" />
    <td width="55%" valign="top"><img src="http://web.hostinglibrary.com/images/hb_comp1_89.gif" width="232" height="56" />
    <td width="7%"><div align="right"><img src="http://web.hostinglibrary.com/images/hb_comp1_93.gif" width="52" height="68" alt="" />
    <td width="34%" class="footer_bg_two"
$timer
Code for sidebar:
HTML Code:
<table width="90%"  border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr class="domain_header"> 
                <td width="13%"><img src="http://web.hostinglibrary.com/images/hb_comp4_22.gif" width="29" height="32" alt="" /></td>
                <td width="62%" class="domains"><div align="center">Forum Menu:</div></td>
                <td width="25%"><div align="right"><img src="http://web.hostinglibrary.com/images/hb_comp4_26.gif" width="9" height="32" alt="" /></div></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td class="domain_background"><table width="100%"  border="0" cellspacing="0" cellpadding="1">
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/">Forum Index</a>$flagged </div>  
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/register.php">Register</a></div>            
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/faq.php">Frequently Asked Questions</a></div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/memberlist.php">Member List</a></div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/calendar.php">Calendar</a></div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/search.php?do=getnew">New Posts</a></div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/search.php">Search</a></div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/login.php?do=logout&u=1">Logout</a></div>
</table></td>
        </tr>
        <tr> 
          <td><img src="http://web.hostinglibrary.com/images/hb_comp1_36.gif" width="232" height="16" alt="" /></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="90%"  border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr class="domain_header"> 
                <td width="13%"><img src="http://web.hostinglibrary.com/images/hb_comp4_22.gif" width="29" height="32" alt="" /></td>
                <td width="62%" class="domains"><div align="left">Advertisements:</div></td>
                <td width="25%"><div align="right"><img src="http://web.hostinglibrary.com/images/hb_comp4_26.gif" width="9" height="32" alt="" /></div></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td class="domain_background"><table width="100%"  border="0" cellspacing="0" cellpadding="1">
              </table>
            <div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-0330649888885782";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "666666";
google_color_url = "666666";
google_color_text = "6F6F6F";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
            </div></tr>
        <tr> 
          <td><img src="http://web.hostinglibrary.com/images/hb_comp1_36.gif" width="232" height="16" alt="" /></td>
        </tr>
      </table></td>
  </tr>
</table>
Thanks!
Reply With Quote
  #4  
Old 05-13-2005, 12:03 AM
WhSox21 WhSox21 is offline
 
Join Date: Feb 2004
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem is in the spacer_open template. It's being called before it displays the postbit and the code has the left and right side set to 25 pixels.
Reply With Quote
  #5  
Old 05-13-2005, 12:36 AM
patriotcow patriotcow is offline
 
Join Date: Nov 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WhSox21
The problem is in the spacer_open template. It's being called before it displays the postbit and the code has the left and right side set to 25 pixels.
Can you point me in an easier direction please, I could not find spacer_open anywhere. Thanks

I figured it out, Thanks for your help
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 10:14 AM.


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.04035 seconds
  • Memory Usage 2,262KB
  • Queries Executed 11 (?)
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
  • (3)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete