vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   vb.org width option (https://vborg.vbsupport.ru/showthread.php?t=271337)

Trevor Matthews 10-03-2011 04:00 PM

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.

HMBeaty 10-03-2011 04:36 PM

Pretty sure it's just a javascript plugin that controls both functions

Trevor Matthews 10-03-2011 05:24 PM

Thanks, so that means it should be a plugin that I can download from here somewhere?

HMBeaty 10-03-2011 05:27 PM

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

Trevor Matthews 10-03-2011 08:40 PM

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.

Trevor Matthews 10-07-2011 08:05 PM

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

doc_margin

doc_maxWidth

doc_minWidth

Job done.

Trevor Matthews 10-09-2011 08:05 PM

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.


All times are GMT. The time now is 04:44 AM.

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.01093 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete