[Fixed] Paralysis Bug.

Discussion in 'Solved Bugs' started by Pablonero, Apr 25, 2010.

  1. Pablonero

    Pablonero New Member

    Joined:
    Apr 24, 2010
    Messages:
    3
    Likes Received:
    0
    Spoiler tag would be fine ;)


    Screenshot of the bug:
    [​IMG]
     
    Last edited by a moderator: Apr 4, 2014
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Tag is < secret > :)

    And yeah, the berry message disappeard, and I'm not proud of it. It'll be restored next release.
     
  3. Pablonero

    Pablonero New Member

    Joined:
    Apr 24, 2010
    Messages:
    3
    Likes Received:
    0
    Oh, ok, thanks for all ;)

    That's all friends.
     
  4. zeroality

    zeroality Artificial Insanity

    Joined:
    Apr 22, 2010
    Messages:
    1,378
    Likes Received:
    1
    [secret] he meant, and I'm about to add
    which will do the exact same thing since people may be more familiar with that one.
     
  5. eric the espeon

    eric the espeon is an espeon.

    Joined:
    Apr 21, 2010
    Messages:
    854
    Likes Received:
    1
    I like
    best personally, it is short and explains what the tag does better (it always hides, but is rarely a secret or a spoiler).
     
  6. zeroality

    zeroality Artificial Insanity

    Joined:
    Apr 22, 2010
    Messages:
    1,378
    Likes Received:
    1
    Hide works now too. I left the button text the same for the sake of consistency so people won't wonder what the difference is when they see it.
     
  7. Pablonero

    Pablonero New Member

    Joined:
    Apr 24, 2010
    Messages:
    3
    Likes Received:
    0
    Deforms the forum when the pic it's too big, resize MOD would be fine.

    Thank you all.
     
  8. zeroality

    zeroality Artificial Insanity

    Joined:
    Apr 22, 2010
    Messages:
    1,378
    Likes Received:
    1
    Unfortunately, there is no reliable way to resize too-large images that I know of. The only modification I saw for it at vBulletin.org uses a css rule to automatically resize them all which is just poor web designing in itself and can increase the time the page loads as well as increasing server load if a lot of images are on a single page.

    If you find a way, let me know.
     
  9. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    If it's done with javascript or CSS, shouldn't it be the client that does the resizing job?

    Also the thing would be to add something like "style='max-width: 600px;'" to the image tags and a JS that on click removes / puts back the max-width attribute but that does sound complicated to do with VBulletin.
     
  10. zeroality

    zeroality Artificial Insanity

    Joined:
    Apr 22, 2010
    Messages:
    1,378
    Likes Received:
    1
    Oops we derailed the thread. Anyway, you're right - the server has nothing to do with it, I'm retarded sometimes. Do you want me to put together the javascript to restore/remove the max-width? I used 85% instead of setting pixels because of varying screen resolutions.

    Let's see if the css rule works...
    [​IMG]

    Edit: Yep works in Chrome, Firefox, IE8 and Safari. IE 6 and 7 may experience weird behavior but I have no way of testing that. Here is the css:
    Code (text):
    1. .postbody IMG{
    2.  max-width:85%;
    3. }
    I set it to the .postbody class so that it will only resize within posts, not elsewhere.
     
    Last edited: Apr 28, 2010