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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2009, 11:08 PM
abmm abmm is offline
 
Join Date: Aug 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How can I solve this little problem? ... part II

Hello,

I came from this thread : https://vborg.vbsupport.ru/showthread.php?t=152664

Lynn suggested I start my own thread... so here I am.



Basically, I have the same exact problem as the person from the thread above. It seems that there is something off in the showthread bit but I can't figure it out.

You can check out what im talking about at this link : http://tinyurl.com/nrbm3c

By looking at the pic or going to the link above, you can see how the page shoots off to the right off the page. Not exactly sure what the problem is, but the forum width is set correctly, as well as most of the html in there.

Any assistance would be appreciated.

Regards,

ab
Reply With Quote
  #2  
Old 06-09-2009, 11:16 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This makes no sense:

Code:
 <td width="655">
<!-- /logo -->

<!-- content table -->
<!-- open content container -->
<div align="center">
    <div class="page" style="width:775px; text-align:left">
Reply With Quote
  #3  
Old 06-09-2009, 11:23 PM
abmm abmm is offline
 
Join Date: Aug 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would I change that in the showthread bit? I'd like to change that 655 to 775.
Reply With Quote
  #4  
Old 06-09-2009, 11:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know what template they are in. Do this 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. Sometimes the template is the one mentioned at the very top of the page source.
Reply With Quote
  #5  
Old 06-09-2009, 11:34 PM
abmm abmm is offline
 
Join Date: Aug 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did that, but I'm not able to find the html that you quoted above.

Edit:

Found this code
Code:
<div id="posts"><!-- BEGIN TEMPLATE: postbit_wrapper -->
<!-- post #129134 -->

	<!-- BEGIN TEMPLATE: spacer_open -->
<!-- open content container -->

<div align="center">

	<div class="page" style="width: 775px; text-align: left;">
		<div style="padding: 0px 10px;" align="left">

<!-- END TEMPLATE: spacer_open -->
	<div id="edit129134" style="padding: 0px 0px 6px;">
Couldn't find that 655 Seems that's what needs to be changed.
Reply With Quote
  #6  
Old 06-09-2009, 11:59 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code with the 665 is from the template called above that one. Could be the showthread template. It could also be a variable being used in place of the 665. Look for that logo comment line and I'm sure you'll find it. (I don't think you found the correct template for the other lines. Look in your page source for the lines I posted - they are all together. I'm pretty sure the lines I was looking at are from somewhere near the navbar cuz that is out of whack too - that's where it first happens.)
Reply With Quote
  #7  
Old 06-10-2009, 01:36 AM
abmm abmm is offline
 
Join Date: Aug 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was able to find out where the tag was... it was in the header template. lol

I then tried changing it to 775 and the problem persisted. Even went as far as changing the site to a wider 900 and it seemed to not matter.

Any other ideas?
Reply With Quote
  #8  
Old 06-10-2009, 02:21 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remove the width from that div tag in the code I posted in my second post.

HTML Code:
 <!-- /logo -->

<!-- content table -->
<!-- open content container -->
<div align="center">
    <div class="page" style="text-align:left">
The problem is you are fixing the widths without looking at your padding or margins for those classes so they don't add up correctly and you are causing problems like what you are seeing.
Reply With Quote
  #9  
Old 06-10-2009, 04:55 PM
abmm abmm is offline
 
Join Date: Aug 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Makes sense, I'd like to remove that to see if it helps but I can't find the darn html

Code:
<tr>
<td width="775">
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
$welcomeheaders

<!-- USC header edit start -->
Is what I get in the header template (where I made the initial change). I tried the Welcome Header and Spacer_Open templates as well, to no avail.
Reply With Quote
  #10  
Old 06-10-2009, 05:40 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try doing what I said before 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. If it says it is in a specific template and you are positive you are looking at the correct style and template, then it could be a modification is adding it. Try looking through your plugins then.
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 01:15 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.04036 seconds
  • Memory Usage 2,257KB
  • 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
  • (3)bbcode_code
  • (1)bbcode_html
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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