birthdays_user_hide_year option doesn't work
eridari - April 3, 2009 - 10:49
| Project: | Birthdays |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | eridari |
| Status: | reviewed & tested by the community |
Description
The option to hide user's age and year of birth doesn't work because of the mistake in checking this value in $account object. For version 6.x-1.0 it is here:
Should change $account->birthdays_user_hide_year
to $account->{$_birthdays_field->name}['birthdays_user_hide_year']
in lines # 715, 747, 988, 1037.
And also add this global $_birthdays_field;

#1
...And also add this
global $_birthdays_field;after lines #986, 1021#2
okay, you have to change that in the page.inc, too.
i made a patch for this:
http://dunkelfuerst.com/birthdays.patch
its huge, because i reformattet the files...
#3
okay, i'll upload the file here...
#4
Thanks for patch, seems to work for me.
Here is it without reformatting.
#5
Installed, tested and seems to work for me too.
#6
Can someone please tell me what you actually do with a patch.
#7
@darrenj1:
http://drupal.org/patch/apply
http://drupal.org/node/60179 (if you're on Windows)