Closed (won't fix)
Project:
Birthdays
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Apr 2009 at 10:49 UTC
Updated:
3 Dec 2009 at 12:18 UTC
Jump to comment: Most recent file
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;
P.S. Great module
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | birthdays-6.x-1.0-birthdays_user_hide_year.patch | 3.67 KB | Grey Teardop |
| #3 | birthdays.patch | 75.13 KB | dunkelfuerst |
Comments
Comment #1
eridari commented...And also add this
global $_birthdays_field;after lines #986, 1021Comment #2
dunkelfuerst commentedokay, 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...
Comment #3
dunkelfuerst commentedokay, i'll upload the file here...
Comment #4
Grey Teardop commentedThanks for patch, seems to work for me.
Here is it without reformatting.
Comment #5
tormu commentedInstalled, tested and seems to work for me too.
Comment #6
darrenj1 commentedCan someone please tell me what you actually do with a patch.
Comment #7
Grey Teardop commented@darrenj1:
http://drupal.org/patch/apply
http://drupal.org/node/60179 (if you're on Windows)
Comment #8
PieWie commentedI 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