Image auto-resize in Ultra-MGoBoard is live.

Submitted by BlockM on

Small update this morning that gives you the option to have all images that are too wide for their container to be automatically resized. This should prevent images from flooding over into the MGoBoard list, and other lists, on the right side of the page if they're huge.

I'll be working on getting it togglable (not sure that's a word) so that you can have the convenience of reasonable sized images with the ability to blow them up as big as you want.

Once again, the link to the extension is https://chrome.google.com/webstore/detail/plgbhpppodkjceilgjeepcjbjdamknld

Previous information about what else it can do is here: http://mgoblog.com/mgoboard/ultra-mgoboard-v15. My apologies for the gigantic Denard picture, I was using it to test the current version. (However, if you install it, Denard will be brought down to a more manageable size.)

Geaux_Blue

January 17th, 2011 at 11:25 AM ^

sarcastic jokes that go so far as to claim a plugin has already been posted on ESPN aren't even being detected? what has this coaching change done?

WHEN RR WAS THE COACH U COOD TELL WHEN SOME1 WAS JOKING!!1! UNAcCEPTABLE

Geaux_Blue

January 17th, 2011 at 11:30 AM ^

complaints/mockery of reposts are the new "RR needs to go."

Finkle is Einhorn.

come on man. stop trolling the people.com message board praising Sandra Bullock's new bangs (omg awful, what was she THINKING?!) and go all Playstation "step your game up" on this here board

joeyb

January 17th, 2011 at 11:31 AM ^

I started adding posters to the highlight list and unless you type the name in verbatim, it won't highlight. I suggest doing a toLowerCase() on the names in the list and the names on the board so that if you don't capitalize a letter, it still highlights.

BlockM

January 17th, 2011 at 11:49 AM ^

Great point. I'll give it a shot and let you know when it works.

EDIT: Done. I still wish there was a way to grab someone's actual username instead of just what's displayed. I hate that you have to add "Long user name ..." instead of "Long user name for the hell of it" if that's what's displayed, but I don't think the actual names are available in the DOM for me to just grab.

BlockM

January 17th, 2011 at 12:22 PM ^

Yeah, I thought about that... I should check if there are restrictions on special characters, etc. I know you can put a period in your username since a few people have them, but if someone had a " or something, I don't know how it would react.

Edit: It conveniently tells me this on the profile edit page... Nothing but periods, spaces, hyphens, and underscores. I'll play around with it a little bit later today and see what I can do.

joeyb

January 17th, 2011 at 12:26 PM ^

You could also check for the ellipsis. If it's there then compare against the url, and if it's not then compare against the name listed on the page.

Another option is to compare against the name on the page, and if it doesn't match then compare to the name in the url.

Whatever you decide to do, I'm sure will be great.

BlockM

January 17th, 2011 at 12:42 PM ^

Yep. Both good options. A couple things I'm a little worried about is names that are equivalent in terms of the displayed name ("This is a long username number 1" and "This is a long username number 2"), which your first solution would catch, and situations where the username URL has something appended to it. For example, it's possible that there could be urls /users/blockm and /users/blockm-0. I'm guessing it's because two usernames simplify to the same thing when creating urls so there needs to be a way to distinguish between the two.

From what I can tell, no method will be 100% functional, so I just need to think about which way will offer the most coverage without taking me forever to implement.

BlockM

January 17th, 2011 at 11:54 AM ^

Possibly, let me check!

EDIT: Nope. That executes the scripts before the DOM is constructed, and I use the DOM for just about everything I do. I'll keep an eye out for a way to use the DOM before it's displayed.

BlockM

January 17th, 2011 at 2:36 PM ^

Hmm, yeah. Javascript functions aren't always compatible with all browsers, so I'm guessing it's running into some issues with that. Thanks for trying it out though. I'll let everyone know if I ever get it to work in firefox at some point, but don't hold your breath. :)

mjv

January 17th, 2011 at 4:07 PM ^

Is there an ability in chrome to better utilize the full width of the screen in Chrome?  I had a template in Firefox that allowed for content of the page to fill the full width of the screen, but I haven't come across a similar capability in Chrome.

BlockM

January 17th, 2011 at 6:19 PM ^

That appears to be the case. I'm horrible with that type of thing, and I don't really feel like spending a ton of time adjusting things until they look just right. If you're so inclined and can tell me what CSS values need to be changed to what, I'll gladly put them in.

OMG Shirtless

January 17th, 2011 at 4:17 PM ^

For MGoBlog, I use the Stylish extension and a modified version of the firefox script: Here is the code: (The formatting of the code didn't paste correctly, I'm not sure whether that matters or not) 

#banner, #container, #headercontainer, #header-region-container, #footer-region-container, #suckerfish-container { width: 1300px !important ; } #page-right, #round-right { width: 1299px !important; } #page-left, #round-right {width:1299px !important;} #sidebar-left { width 380px !important; } #sidebar-right { width: 210px !important; } #sidebar-outside { width: 0px !important; } #inside-content { width: 1299px !important; } body { font-family : Liberation Sans, sans-serif !important; font-size : 16px !important; } .indented{ margin-left:50px !important; } .title{ font-family : Georgia, serif !important; font-size : 20px !important; } #mainContent { width: 900px !important; padding-left: 0px !important; padding-right: 0px !important; } #round-container { width: 1300px !important; }

And I set "Applies to" to  URLs starting with "http://mgoblog.com