Results 1 to 15 of 15
  1. #1
    Community Member
    Join Date
    Apr 2013
    Posts
    3

    Default change forum width

    If you have firefox or chrome, download Greasemonkey

    add the following script:

    Code:
    // ==UserScript==
    // @name        DDO_Forum
    // @namespace   ddo.com
    // @description change width of the forums to 95%
    // @include    https://www.ddo.com/*
    // @include    http://www.ddo.com/*
    // @version     1
    // @grant none
    // ==/UserScript==
    
    
    elements = document.getElementsByClassName('body_wrapper');
    for (index = 0; index < elements.length; index++)
    {
            elements[index].style.width="95%";      // Only 95% to leave room for text in the margins.
    }
    elements = document.getElementsByClassName('above_body');
    for (index = 0; index < elements.length; index++)
    {
            elements[index].style.width="95%";      // Only 95% to leave room for text in the margins.
    }
    elements = document.getElementsByClassName('below_body');
    for (index = 0; index < elements.length; index++)
    {
            elements[index].style.width="95%";      // Only 95% to leave room for text in the margins.
    }
    change the 95% to whatever you like.
    Works great for me, I hope it can be useful to some of you.

    Edit: ugh ... white on white for the code tag... highlight to see/copy the code.

  2. #2
    The Hatchery danotmano1998's Avatar
    Join Date
    Dec 2010
    Location
    The rainy side of earth
    Posts
    4,199

    Default

    And once again, Turbine is powered by it's fans.

    Nice job.
    <-Curelite Bottling Company->

    Quote Originally Posted by Chilldude
    Dude, did you see they way that guy just pressed button 1? It was amazing! A display of skill unseen since the 1984 World Games where in the men's room, between events, a man washed his hands with such unbridled majesty that people were claiming the faucet he used was OP.

  3. #3
    Community Member
    Join Date
    Apr 2013
    Posts
    19

    Default

    Quote Originally Posted by danotmano1998 View Post
    And once again, Turbine is powered by it's fans.
    Now if only we had DDO's source code
    Playing since June 2010

  4. #4
    Community Member
    Join Date
    Apr 2013
    Posts
    16

    Default

    This was someones good idea. Treat it like someone laid out a well thought out product or we will all suffer the wrath.

  5. #5

    Default

    Nice idea OP. I happen to be using Stylish in Firefox at the moment and have made the forums wider and overall more tolerable and readable with this:

    Code:
    @namespace url(http://www.w3.org/1999/xhtml);
    
    @-moz-document url-prefix("https://www.ddo.com/forums/") {
        html#vbulletin_html div.body_wrapper {
    	   font-size: 100%;
    		width: 100% !important;
    	}
    	
    	html#vbulletin_html h3.threadtitle {
    	   font-size: 166% !important;
    	   font-family: Calibri !important;
    	   font-weight: normal !important;
    	   color: red !important;
    	}
    	
    	html#vbulletin_html h3.threadtitle a.title {
    	   font-weight: normal !important;
    	   color: #ececcc !important;
    	}
    	
    	html#vbulletin_html div.threadmeta span.label {
    	   color: #aaa !important;
    	}
    	
    	html#vbulletin_html div.threadmeta span.label a {
    	   color: #cc8 !important;
    	}
    
    	html#vbulletin_html .threadinfo .threadtitle {
    	   margin-top: 0 !important;
    	}
    	
    	html#vbulletin_html .threadbit .threadinfo {
    	   padding-top: 3px !important;
    	   padding-bottom: 3px !important;
    	   min-width: 65% !important;
    	}
    
    	html#vbulletin_html .threadbit .threadinfo .threadstatus {
    	   min-height: 40px !important;
    	}
    
        html#vbulletin_html div.body_wrapper ul.threadstats {
            margin-right: 0 !important;
            font-size: 115%;
            padding: 8px 0 0 0 !important;
        }
    
        html#vbulletin_html div.body_wrapper ul.threadstats li {
            margin-right: 0 !important;
            font-size: 115%;
        }
        
        html#vbulletin_html div.body_wrapper ul.threadstats li a {
            color: #bdf !important;
        }
        
        html#vbulletin_html .threadstatus {
            background-size: 30px 30px !important;
            background-position: 4px 8px !important;
            width: 41px !important;
        }
        
        html#vbulletin_html pre.bbcode_code {
            background: #444 !important;
        }
    
    }
    Not only does it fix the broken white code background, but it makes the forums look like this:



    Your mileage may vary. I guess my next step will be asking for my old forum name back. Oh well.

  6. #6
    Community Member
    Join Date
    Apr 2013
    Posts
    3

    Default

    very cool ! I like your solution much better (and you made me discover a new addon - thanks !)

  7. #7
    Community Member Eilierie's Avatar
    Join Date
    Aug 2010
    Posts
    573

    Default

    What does this do that CTRL + mousewheel doesn't ?

    Seriously not being facetious.

  8. #8
    Community Member carll78's Avatar
    Join Date
    Sep 2010
    Location
    Ghallanda
    Posts
    234

    Default

    Quote Originally Posted by Madmartigan View Post
    If you have firefox or chrome, download Greasemonkey

    add the following script:

    (snip)

    change the 95% to whatever you like.
    Works great for me, I hope it can be useful to some of you.


    Awesome!!!

    +1 for you and thank you very much!!!
    Follow me if I advance. Kill me if I retreat. Avenge me if I die.

  9. #9
    Community Member
    Join Date
    Apr 2012
    Posts
    2,673

    Default

    Thank you for this. I love the new layout, my only complaint is the strange decision for the narrow forums.

  10. #10
    Community Member Zenako's Avatar
    Join Date
    Aug 2006
    Location
    Massachusetts
    Posts
    8,751

    Default

    Quote Originally Posted by jalont View Post
    Thank you for this. I love the new layout, my only complaint is the strange decision for the narrow forums.
    I am guessing that part of the thinking, if you can call it that, was that forum activity might be on other platforms like smartphones and tablets where you might have small real estate available. Having the default fit those screen formats might, I said might, make sense. However for someone used to viewing the forums on a nice large monitor, the new defaults are really poor and all the extra wasted space is rather annoying and makes one scroll endlessly at times. Not a step in the right direction at all.
    Sarlona - Stormreach Requisition Company (SRC):Jareko-Elf Ranger12Rogue8; Hennako-Human Cleric20; Rukio-Human Paladin18; Taellya-Halfling Rogue16; Zenako-Dwarf Fighter10Cleric1; Daniko-Drow Bard20; Kerriganko-Human Cleric18; Buket-WF Fighter6; Xenophilia-Human Wiz20; Zenakotwo-Dwarf Cleric16; Yadnomko-Halfling Ftr12; Gabiko-Human Bard15;more

  11. #11
    Founder noneill's Avatar
    Join Date
    Feb 2006
    Location
    Massachusetts
    Posts
    1,530

    Default

    Quote Originally Posted by Zenako View Post
    I am guessing that part of the thinking, if you can call it that, was that forum activity might be on other platforms like smartphones and tablets where you might have small real estate available. Having the default fit those screen formats might, I said might, make sense. However for someone used to viewing the forums on a nice large monitor, the new defaults are really poor and all the extra wasted space is rather annoying and makes one scroll endlessly at times. Not a step in the right direction at all.
    It looks ridiculous on my widescreen monitor but better than the old forums on my iPad mini.
    Maybe they can make a tablet / smartphone setting , a widescreen setting and a low res mobile setting instead of the default or mobile settings they have now.
    Conn Niall Paladin 20 TRx2
    Cormac Mac Airt Ranger/Rogue 12/1
    Connyl Niall Paladin 1 Connlyssa Paladin/Fighter 18/2

  12. #12
    Community Member
    Join Date
    Apr 2013
    Posts
    5

    Default

    Quote Originally Posted by Zenako View Post
    I am guessing that part of the thinking, if you can call it that, was that forum activity might be on other platforms like smartphones and tablets where you might have small real estate available. Having the default fit those screen formats might, I said might, make sense. However for someone used to viewing the forums on a nice large monitor, the new defaults are really poor and all the extra wasted space is rather annoying and makes one scroll endlessly at times. Not a step in the right direction at all.

    I have a note 2 and even with my 5.5 inch screen I am having a huge problem with the layout. You have to zoom in, just to see the letters. It the worst forums I have seen on my phone so far

  13. #13
    The Hatchery DarkForte's Avatar
    Join Date
    Dec 2009
    Location
    Rio de Janeiro, Brazil
    Posts
    2,013

    Default

    You rock.
    Nerdrage/Endgame ~ Sarlona
    Ekkehart (human PM) - Hammet (WF AM) - Cerussite (helf THF kensei) - Anordineth (helf dark monk)
    Buy my stuff!

  14. #14
    Community Member
    Join Date
    May 2012
    Posts
    51

    Default

    Quote Originally Posted by hit_mutant_fido View Post
    Stylish in Firefox
    Thanks, works great. Can you please also make the forum search results 100% wide? Such as those when you click on the New Posts button, https://www.ddo.com/forums/search.php?do=getnew

  15. #15
    Community Member
    Join Date
    Apr 2013
    Posts
    3

    Default

    Quote Originally Posted by cru212 View Post
    Thanks, works great. Can you please also make the forum search results 100% wide? Such as those when you click on the New Posts button, https://www.ddo.com/forums/search.php?do=getnew
    here, I changed his script a bit:

    Code:
    @namespace url(http://www.w3.org/1999/xhtml);
    
    @-moz-document url-prefix("https://www.ddo.com/forums/") {
        html div.body_wrapper {
    	   font-size: 100%;
    		width: 100% !important;
    	}
    	html div.above_body {
    	   font-size: 100%;
    		width: 100% !important;
    	}
    	
    	html h3.threadtitle {
    	   font-size: 166% !important;
    	   font-family: Calibri !important;
    	   font-weight: normal !important;
    	   color: red !important;
    	}
    	
    	html h3.searchtitle {
    	   font-size: 166% !important;
    	   font-family: Calibri !important;
    	   font-weight: normal !important;
    	   color: red !important;
    	}
    	
    	html h3.threadtitle a.title {
    	   font-weight: normal !important;
    	   color: #ececcc !important;
    	}
    	html h3.searchtitle a.title {
    	   font-weight: normal !important;
    	   color: #ececcc !important;
    	}
    	
    	html div.threadmeta span.label {
    	   color: #aaa !important;
    	}
    	
    	html div.threadmeta span.label a {
    	   color: #cc8 !important;
    	}
    
    	html .threadinfo .threadtitle {
    	   margin-top: 0 !important;
    	}
    	
    	html .threadbit .threadinfo {
    	   padding-top: 3px !important;
    	   padding-bottom: 3px !important;
    	   min-width: 65% !important;
    	}
    
    	html .threadbit .threadinfo .threadstatus {
    	   min-height: 40px !important;
    	}
    
        html div.body_wrapper ul.threadstats {
            margin-right: 0 !important;
            font-size: 115%;
            padding: 8px 0 0 0 !important;
        }
    
        html div.body_wrapper ul.threadstats li {
            margin-right: 0 !important;
            font-size: 115%;
        }
        
        htmll div.body_wrapper ul.threadstats li a {
            color: #bdf !important;
        }
        
        html .threadstatus {
            background-size: 30px 30px !important;
            background-position: 4px 8px !important;
            width: 41px !important;
        }
        
        html pre.bbcode_code {
            background: #444 !important;
        }
        
        html .vb #navbar, html .vb .body_wrapper, html .vb .below_body, html#vbulletin_html .vb .breadcrumb, html .vb .notices li, html .vb .popupbody, html .vb .announcements .announcerow, html .vb .announcerow .announceinfo, html .vb .announcerow .announcement, html .vb .threadbit .sticky, htmll .vb .doc_header .toplinks .isuser,html .vb #usercp_nav .blockrow {
        background: none repeat scroll 0 0 #222222 !important;
        }
    
    }
    Last edited by Madmartigan; 04-30-2013 at 02:15 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

This form's session has expired. You need to reload the page.

Reload