Blackskyliner
Forum Replies Created
-
Okay now on pastebin: https://pastebin.com/XR46xLuz
Nah I did not made an german translation, till now will work on that though and reply if I got one.
The failure was somehow that the ical was empty like stated above, idk why but it works for now…
I also fixed smth. else_:
DESCRIPTION:Geburtstag von ".get_user_meta($user_id, 'first_name', true)." ".get_user_meta($user_id, 'last_name', true).($birthday_age==1?" - Alter ".age($real_date):"")."
(wp-birthday-users/functions.php:~54)Now the age will displayed correctly instead of just having nothing there…
Whereas $real_date = $date;.
My patch that you want to integrate fixed the other problems I (maybe) had. (wp-birthday-users/wp-birthday-users.php:68)
write2file(birthday2ical($$birthday, $user->ID, $birthdayage, $changes), plugin_dir_path(__FILE__)."icals/b2i_".$user->user_login);
should be
write2file(birthday2ical($birthday, $user->ID, $birthdayage, $changes), plugin_dir_path(__FILE__)."icals/b2i_".$user->user_login);
in wp-birthday-users/wp-birthday-users.php:68
Ahh okay I see its hard-coded :-\
I also get Verjaardag instead of ‘Geburtstag’ so the locale seems to be wrong ??
Ahh okay… Got it… I just shared the age but not the date though it could not work… but the display-name selector would be a nice-to-have feature ??
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//WP-BIRTHDAY-USERS//WPBU Calendar 0.1//EN CALSCALE:GREGORIAN METHOD:PUBLISH X-WR-CALNAME:WP BIRTHDAY USERS X-WR-TIMEZONE:Europe/Berlin X-OWNER;CN="Birthday":mailto:[email protected] BEGIN:VTIMEZONE TZID:Europe/Berlin X-LIC-LOCATION:Europe/Berlin BEGIN:DAYLIGHT TZOFFSETFROM:+0100 TZOFFSETTO:+0200 TZNAME:CEST DTSTART:19700329T020000 RRULE:FREQ=YEARLY;BYMONTH=12;BYDAY=-1SU END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:+0200 TZOFFSETTO:+0100 TZNAME:CET DTSTART:19701025T030000 RRULE:FREQ=YEARLY;BYMONTH=12;BYDAY=-1SU END:STANDARD END:VTIMEZONE END:VCALENDAR
Created ics for 1 Person having bithday on 19.06.1990
It would also be great if ti would be possible to select the field you want to have as name inside the ics event. Like the selection of the display name for the user, so you could select: ‘Displayname’, ‘Loginname’, ‘First Name Last Name’, ‘Last Name’, etc…
Thanks in advance ??