Not a bug What in the hell is this.

Discussion in 'Site Discussions & Suggestions' started by Tom Bombadildo, Nov 21, 2012.

Nov 21, 2012
  1. Tom Bombadildo
    OP

    Contributor Tom Bombadildo Honk!

    pip
    Joined:
    Jul 11, 2009
    Messages:
    8,795
    Location:
    I forgot
    Country:
    United States
    Warning: Spoilers inside!

    Is this like a thing now and I've just missed it or is this a bug or something?
     
    plasma dragon007 and Snailface like this.
  2. Hyro-Sama

    Member Hyro-Sama I'm from the fucking future.

    Joined:
    Oct 25, 2009
    Messages:
    4,255
    Location:
    After Earth
    Country:
    Japan
    This has been brought up a lot and I've never encountered such a screen.
     
    gifi4 and porkiewpyne like this.
  3. BORTZ

    Global Moderator BORTZ wtf, nintendo

    Joined:
    Dec 2, 2007
    Messages:
    10,644
    Country:
    United States
    Yeah see everyone is getting it now, but no one believed me when i got that shiz.
     
    B-Blue, porkiewpyne and DinohScene like this.
  4. DinohScene

    Member DinohScene The Gift of Dino

    Joined:
    Oct 11, 2011
    Messages:
    12,891
    Location:
    В небо
    Country:
    Antarctica
    Lemme try this.

    edit: not getting any screen.
    SpiderBortz confirmed to awesome for confirmation screens
     
    plasma dragon007 and BortzANATOR like this.
  5. BORTZ

    Global Moderator BORTZ wtf, nintendo

    Joined:
    Dec 2, 2007
    Messages:
    10,644
    Country:
    United States
    I mean im not getting it anymore. Just a few days after the site reopened.
     
  6. emigre

    Member emigre Has complex motives

    Joined:
    Jan 28, 2009
    Messages:
    7,919
    Location:
    London
    Country:
    United Kingdom
    Its just added protection to stop people liking shit posts.
     
  7. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,719
    Country:
    United Kingdom
    Looking around it is either a bug in the forums caused by pressing the button before everything has finished loading (not sure what it would have been in that thread but in those with lots of images the last bits of javascript can come a bit later). That would probably also explain why it happened in the first days of the forum before it started to be optimised a bit more.

    Personally I would have set it so that if someone did more than a given number of likes in a day that it came up as a soft anti abuse measure.
     
    B-Blue likes this.
  8. McHaggis

    Member McHaggis Fackin' Troller

    Joined:
    Oct 24, 2008
    Messages:
    1,656
    Country:
    United Kingdom
    Yeah, this is a result of late binding of events to buttons, coupled with gracefully degrading features for users with Javascript turned off.

    A common practice in web development is to separate all JavaScript from HTML markup. This generally means setting event handlers using script and not in your HTML code. However, in order to set an event handler on something, that item needs to be loaded by the browser first, otherwise an error is thrown and script execution halts. To get around this, many developers will wait until the entire document has been parsed before setting event handlers. Thus, if you click before the entire document is parsed, the default action of the Like button (which is actually a link) is carried out as if your browser has JS disabled or does not support it.

    Real™ developers can do this better. Click events and many other events propagate (or "bubble") up the document tree through the ancestors, firing the same event on each one until it gets to the root element or document object. If you set the event handler on the document object, then implement some checking code to see which element the event originated from, you can handle the event without having to wait till the page loads. XenForo's developers probably haven't thought of this, or don't think it's important enough to change how their event binding system works.
     
    Alexrose, Cyan and ekko25 like this.
  9. Lucifer666

    Member Lucifer666 all the world needs is me

    Joined:
    Apr 22, 2011
    Messages:
    1,392
    Location:
    The Fourth Dimension
    Country:
    Antarctica
    Can I just point out that this only happens exactly once to every user?
    At least that's how it was for me. First time I liked a post with the new 'Temp, that popped up, and it never showed up again.
     
  10. Tom Bombadildo
    OP

    Contributor Tom Bombadildo Honk!

    pip
    Joined:
    Jul 11, 2009
    Messages:
    8,795
    Location:
    I forgot
    Country:
    United States
    It's ok, I was just liking a Gahars pun.
     
  11. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,719
    Country:
    United Kingdom
    I know it is a few days later but it would be rude to not reply.

    Guess I have to stop saying "yeah I can kind of build websites" when people ask (about the only thing I can stand remotely tall on is that I find the occasions where someone would try to teach HTML and CSS as separate entities truly jarring). The main reason for actually replying is having now run with noscript, requestpolicy and a whole bunch of similar settings/addons in "a speedfreak would say "damn son, that is a bit paranoid"" mode for several years now I can safely say if a site still works at full functionality (give or take being able to do things on page without visiting a new one) without javascript and it is not something that obviously requires javascript and such like I consider it a truly good day.
     
  12. B-Blue

    Member B-Blue im a slut

    Joined:
    Sep 18, 2006
    Messages:
    2,444
    Country:
    It's probably that, but unfortunately my internet connection is way too fast to confirm it. :(
     
  13. raulpica

    Supervisor raulpica With your drill, thrust to the sky!

    Joined:
    Oct 23, 2007
    Messages:
    10,667
    Location:
    _____________ PowerLevel: 9001
    Country:
    Italy
    But it didn't appear to me when I liked this post! :O
     
    Depravo likes this.
  14. emigre

    Member emigre Has complex motives

    Joined:
    Jan 28, 2009
    Messages:
    7,919
    Location:
    London
    Country:
    United Kingdom
    I'm exempt from rules on limiting shit posts because my username isn't inspired by Pokemon, Naruto, Final Fantasy, Mario, Kingdom Hearts and my little pony.
     
  15. Arras

    Member Arras ★02

    Joined:
    Sep 14, 2010
    Messages:
    5,717
    Location:
    The Netherlands
    Country:
    Netherlands
    Don't you mean or? I haven't seen anyone with the username RoxasPikaSephirothPeachSasukePinkyPie1337 yet.
     
  16. emigre

    Member emigre Has complex motives

    Joined:
    Jan 28, 2009
    Messages:
    7,919
    Location:
    London
    Country:
    United Kingdom
    I quote a great learned man whom we call learn from. He said something very mighty and influential.

    "Fuck you." - Alan John (2011-2012)
     
    plasma dragon007 likes this.
  17. Depravo

    Global Moderator Depravo Jaded curmudgeon

    Joined:
    Oct 13, 2008
    Messages:
    5,076
    Location:
    Purgatory
    Country:
    United Kingdom
    It's only a matter of time.
     
  18. Arras

    Member Arras ★02

    Joined:
    Sep 14, 2010
    Messages:
    5,717
    Location:
    The Netherlands
    Country:
    Netherlands
    And unfortunately this is probably true. Anyone who tried this should honestly start off with 90% warn level though.
     
  19. Alexrose

    Member Alexrose Untitled

    Joined:
    Jan 20, 2009
    Messages:
    783
    Location:
    England
    Country:
    United Kingdom
    Eevee
    Moogle
    Iruka
    Goomba
    Rainbow Dash
    Eraqus

    emigre. It all makes sense now.
     
  20. McHaggis

    Member McHaggis Fackin' Troller

    Joined:
    Oct 24, 2008
    Messages:
    1,656
    Country:
    United Kingdom
    Dang.

    I agree; it's very important to work without Javascript. Many forum systems were built before the AJAX rush, so it's common for them to gracefully degrade anyway (and kind of expected). But for other sites, I'd always recommend coding for noscript users too.

    This bug would be considered a low priority by anyone because it doesn't really affect anything and is only mildly annoying. In fact, I had a hard time getting a repro for this because the forums load pretty quickly, hence why only a few people have reported it.
     

Share This Page