Posted by eridari on April 3, 2009 at 10:49am
| Project: | Birthdays |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | eridari |
| Status: | closed (won't fix) |
Issue Summary
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;
Comments
#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)
#8
I apologize for the opening
but for me, patch is not working
I still do not operate the function "hide age"
i use
Birthdays 6.x-1.0
Drupal 6.14