A Bug in the Birthday system

Discussion in 'Site Discussions & Suggestions' started by Fishaman P, Mar 13, 2012.

  1. Fishaman P
    OP

    Fishaman P Speedrunner

    Member
    3,237
    505
    Jan 2, 2010
    United States
    Wisconsin
    So, it's my birthday today! :toot:

    Anyway, I entered the month and day of my birth, but not my year (to protect my identity).
    So, the front page interpreted my DOB to be in year 0. As a result, it claims I am 2012 years old.

    I suggest using a simple question mark to denote an undefined age.
     
  2. Wizerzak

    Wizerzak Because I'm a potato!

    Member
    2,784
    847
    May 30, 2010
    United Kingdom
    Happy birthday! IIRC you can set your age then change it to hidden afterwards, though it will not display your birthday (correct me if I'm wrong).
     
  3. DinohScene

    DinohScene DinohScene <З MartyDreamy

    Member
    GBAtemp Patron
    DinohScene is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    14,805
    11,171
    Oct 11, 2011
    Antarctica
    В небо
    Happy b-day Fisha!
     
  4. Another World

    Another World Emulate the Planet!

    Former Staff
    10,487
    1,597
    Jan 3, 2008
    Colombia
    From Where???
    they could add a check box to keep the year private. that way the bday code doesn't need to be fixed, just the profile display code.

    -another world
     
  5. BORTZ

    BORTZ Neighborhood Friendly

    Global Moderator
    11,353
    13,542
    Dec 2, 2007
    United States
    Pittsburgh
    The title of this topic sounds like it would be a great song.
     
    1 person likes this.
  6. Wizerzak

    Wizerzak Because I'm a potato!

    Member
    2,784
    847
    May 30, 2010
    United Kingdom
    Yeah, now you've said it it sorta reminds me of this:
    [yt]IfeyUGZt8nk[/yt]
     
    2 people like this.
  7. Fishaman P
    OP

    Fishaman P Speedrunner

    Member
    3,237
    505
    Jan 2, 2010
    United States
    Wisconsin
    Even if there was such a "Hide Age" checkbox (which there isn't, I checked) the Birthday code would still have to be updated to support it, so why not just fix it in the first place?

    BIRTHDAY STREAM TOMORROW AT 7PM EST!
    http://www.twitch.tv/fishamanp
     
  8. Another World

    Another World Emulate the Planet!

    Former Staff
    10,487
    1,597
    Jan 3, 2008
    Colombia
    From Where???
    i'm pretty sure it would have nothing to do with the birthday code. it would just hide it when someone clicks on your profile. You would continue to show up it the bday box because the year is there its just hidden from view.

    -another world
     
  9. Fishaman P
    OP

    Fishaman P Speedrunner

    Member
    3,237
    505
    Jan 2, 2010
    United States
    Wisconsin
    But when it shows up in the B-Day box, would it show my actual age or 2013?

    Nonetheless, such an option does not exist yet, and I cannot begin to comprehend the complexity of GBAtemp's code.
     
  10. tj_cool

    tj_cool Site dev

    Supervisor
    9,982
    -1
    Jan 7, 2009
    Belgium
    This planet
    It should be fixed on the portal now. It didn't check whether the year was 0, so it just always did "currentyear - year".
    On other places it should already hide the age if no year is chosen (at least from what I've seen).

    Also, you shouldn't be worried about the complexity of the code and all, that's my problem :lol: