Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 10-03-2011, 04:00 PM
Trevor Matthews Trevor Matthews is offline
 
Join Date: Oct 2010
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vb.org width option

Hi all

Not sure if this is the right place to ask but here goes.

I just noticed today that at the bottom of all vbulletin.org pages there is a Layout option. With width and colour options.

Can anyone tell me how the width mod is done, is that an add-on or plug-in?

Many thanks.
Reply With Quote
  #2  
Old 10-03-2011, 04:36 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pretty sure it's just a javascript plugin that controls both functions
Reply With Quote
  #3  
Old 10-03-2011, 05:24 PM
Trevor Matthews Trevor Matthews is offline
 
Join Date: Oct 2010
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, so that means it should be a plugin that I can download from here somewhere?
Reply With Quote
  #4  
Old 10-03-2011, 05:27 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Possibly. Not all modifications made to vBulletin.org are released, but I believe someone made a similar modification to do this.

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

Ah, here it is. But I don't think it includes the width option...

https://vborg.vbsupport.ru/showthrea...ghlight=vb.org
Reply With Quote
  #5  
Old 10-03-2011, 08:40 PM
Trevor Matthews Trevor Matthews is offline
 
Join Date: Oct 2010
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for taking the time to find that, just my luck, it doesn't do the width where my problem lies.

I am trying to correct the forum logo that is not wide enough on widescreen monitors but is perfect on 4:3 monitors.

Have a look at www.television-magazine-forum.co.uk it is the top forum image that is the issue. I wondered if there is a way to restrict the page width on widescreen monitors so there are big borders left and right.

Thanks again.
Reply With Quote
  #6  
Old 10-07-2011, 08:05 PM
Trevor Matthews Trevor Matthews is offline
 
Join Date: Oct 2010
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I resolved the issue by slightly resizing my forum image and then tweaked the following files.

doc_margin

doc_maxWidth

doc_minWidth

Job done.
Reply With Quote
  #7  
Old 10-09-2011, 08:05 PM
Trevor Matthews Trevor Matthews is offline
 
Join Date: Oct 2010
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The real solution was to make the image the correct size, in my case 1300px wide and 90px high.

I uploaded it and then found the vbulletin-chrome.css template

I added the following to the code overflow: hidden;

As shown below.

.doc_header {
_background-image:none;
border:{vb:stylevar header_border};
color:{vb:stylevar header_color};
font:{vb:stylevar header_font};
position:relative;
min-height:35px;
overflow: hidden;

doc_width was then set to 1300px
doc_margin was set to left and right auto
doc_minwidth was set to 1000px
doc_width was set to 90%

My logo image is now correctly aligned on all screen types and sizes.
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 11:21 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.04450 seconds
  • Memory Usage 2,206KB
  • 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
  • (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
  • (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_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