Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 11-01-2011, 06:47 PM
richy96's Avatar
richy96 richy96 is offline
 
Join Date: Apr 2008
Location: England
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default What sets the width of forum posts?

Hi

I have a problem with my site - this may be related to other mods I have done.... but anyway

What sets the width of the forum posts in a thread?

I have a lot of threads that display correctly - inspecting the elements show the width of the thread posts themselves are always 605 (pixels?)

Some threads display much too wide and these always seem to be 929 pixels wide - then on the same thread go to page 2 or 3 and that one may display the correct width

I also have some threads which display a bit to wide and these seem to be 657 pixels wide

This is obviously related to the content of the thread as far as I know they all start off the correct width (can't be certain about that but I'm pretty sure it is the case at least for ones I create)

I've tried to pin it down to some factor like someones sig, or the fact the thread contains quotes, or attached images, but I can't seem to find the common factor

So what controls the width of this central table with the forum postbits/ posts and are there common causes that can mess it up?

Additional info
My site uses VBa CMPS so has modules displayed vertically, to both sides of the forum thread, and one module across the top of all threads before the page content. This contains some Quick Link buttons and is the same for every thread (generated from the same template) as are the modules to left and right. I use horizontal postbits if that is relevant

Rich
Reply With Quote
  #2  
Old 11-02-2011, 12:14 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You probably have "Auto" set here Message Area Width (pixels)
Admincp>Styles & Templates>Style Manager>YOUR STYLE: StyleVars>Message Area Width (pixels)
Reply With Quote
  #3  
Old 11-02-2011, 10:25 AM
richy96's Avatar
richy96 richy96 is offline
 
Join Date: Apr 2008
Location: England
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply

The attached image shows my settings, I do not have that set to auto.

I have not changed these settings since the site was first created

We did some more investigating on this last night

First of all we have a thread in the admin only forum which has this problem
However on Firefox I see page 1 much too wide, page 2 and 3 OK, page 4 a bit too wide. Another mod on Firefox sees the same

However one of my mods on Google Chrome seems PAge 1 and 4 OK, Page 2 and 3 much too wide

I checked on IE8 and see all four pages OK !

Also we tried a test thread - all posting till it went wide

One of our admins posted and it triggered the problem (in firefox at least) - deleting his post the thread went to normal width

But when he posted again (there were a few other posts too from other mods) something made the thread go a bit to wide - but deleting his post this morning did not return things to normal!

I am really confused
Attached Images
File Type: jpg width.jpg (102.3 KB, 0 views)
Reply With Quote
  #4  
Old 11-02-2011, 03:41 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we get a link to see the problem?
Reply With Quote
  #5  
Old 11-02-2011, 05:21 PM
richy96's Avatar
richy96 richy96 is offline
 
Join Date: Apr 2008
Location: England
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure

This thread is a perfect example - page one displays wide in both IE8 and Mozilla (not tried Chrome myself) but page two of the thread is fine

page one of the thread
http://www.swapscene.com/forums/showthread.php?t=1182 shows much too wide


page two of the thread
http://www.swapscene.com/forums/show...?t=1182&page=2 shows OK

The forum is visible to non-members (though you can't see images, avatars etc and usernames are reversed when not logged in)

However you can still see the problem with the forum width and I guess it proves that the vbA custom modules are not causing the problem?

Or feel free to log in as

user: guest
password: testaccount


and see the page as members would see it, with the VBa modules around the forum thread, and my custom written 'quick links' bar across the top of every site page, including all the option from 'My Control Panel' (Which is called 'My Account' on this site)

Or sign your own account - it's a free site.


I'm very interested to know what the cause of this problem is, and of course I want to fix it!

We have had occasional thread showing too wide since the site opened I beleive (for example sometimes with images attached) but just recently this has become a problem - and strangely enough threads with attached images seem to display OK
Reply With Quote
  #6  
Old 11-02-2011, 05:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your problem is the length of your user titles. Your user ssergit1ondnaregit has a really long user title and it pushes the whole postbit out for the whole page.
Reply With Quote
  #7  
Old 11-24-2011, 10:22 AM
richy96's Avatar
richy96 richy96 is offline
 
Join Date: Apr 2008
Location: England
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for not returning sooner and thanking Lynne for the advice.

Yes that fixed the problem
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:30 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.04846 seconds
  • Memory Usage 2,235KB
  • Queries Executed 14 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete