Download & Extend

birthdays_user_hide_year option doesn't work

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...

AttachmentSizeStatusTest resultOperations
birthdays.patch75.13 KBIgnored: Check issue status.NoneNone

#4

Thanks for patch, seems to work for me.
Here is it without reformatting.

AttachmentSizeStatusTest resultOperations
birthdays-6.x-1.0-birthdays_user_hide_year.patch3.67 KBIgnored: Check issue status.NoneNone

#5

Status:active» reviewed & tested by the community

Installed, tested and seems to work for me too.

#6

Can someone please tell me what you actually do with a patch.

#7

#8

Status:reviewed & tested by the community» closed (won't fix)

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