dancing_serpent: (Default)
Phaeton ([personal profile] dancing_serpent) wrote in [community profile] getting_started2010-04-29 09:51 am

Birthday Notifications

Is there a way to opt out of the birthday notifications? I don't mean not having them sent to me, but keeping DW from notifying people about my birthday.
foxfirefey: A fox colored like flame over an ornately framed globe (Default)

[personal profile] foxfirefey 2010-04-29 08:08 am (UTC)(link)
You can set your birthday to private; that will prevent any notifications from being sent out, but if anyone has the permission to see your birthday in that slot, they'll get a notification about it (if they have birthday notifications set up).
Edited 2010-04-29 08:08 (UTC)
foxfirefey: A fox colored like flame over an ornately framed globe (Default)

[personal profile] foxfirefey 2010-04-29 08:20 am (UTC)(link)
If it's only the year, I don't think that notification goes out--it's your birthday that needs to be accessible to a person if they are going to get the notification about it, I'd imagine. If that is not the current behavior, then it needs to be changed.
foxfirefey: A fox colored like flame over an ornately framed globe (Default)

[personal profile] foxfirefey 2010-04-29 09:24 am (UTC)(link)
For your peace of mind, I went and dug up the code behind this:

sub should_fire_birthday_notif {
    my $u = shift;

    return 0 unless $u->is_person;
    return 0 unless $u->is_visible;

    # if the month/day can't be shown
    return 0 if $u->opt_showbday =~ /^[YN]$/;

    # if the birthday isn't shown to anyone
    return 0 if $u->opt_sharebday eq "N";

    # note: this isn't intended to capture all cases where birthday
    # info is restricted. we want to pare out as much as possible;
    # individual "can user X see this birthday" is handled in
    # LJ::Event::Birthday->matches_filter

    return 1;
}


You can see that if the month and day isn't shown, the function returns "0" which is like answering "no, don't show it". So, yes, I think you are good.