problem with adding birthday's to MyCalendar

Mod that adds a birthday field to the users profile, theire age are displayed beside the posts, and on there birthday they will have a greeting popup
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

problem with adding birthday's to MyCalendar

Postby angmar on Sun 28. Aug, 2005 21:04

hope someone will answer this a bit quicker than the last time, looks like everyone's on holiday :P don't blame you guys ;) Anyway, I've installed the birthday-mod in combination with the MyCalender, and I wanted to see instead of just "birthday" => "Birthday Christina" for example, and "Christina" as first name and not username! and "Christina" would be the link to the users profile. So this is what I've done:

I've replaced

Code: Select all
      $first_date = '<span style="line-height: 16px; font-size: 16px; font-weight: bolder; vertical-align: middle;">&middot;</span> ';
      $topic_text = strlen($lang['Birthday']) > 18 ? substr($lang['Birthday'], 0, 17) . '...' : $lang['Birthday'];


by

Code: Select all
      $first_date = '<span style="line-height: 16px; font-size: 16px; font-weight: bolder; vertical-align: middle;">&middot;</span><span class="gensmall">Birthday </span><br /> ';
      $topic_text = strlen($users['user_name_first']) > 18 ? substr($users['user_name_first'], 0, 17) . '...' : $users['user_name_first'];



Now, at first sight, everything looks normal. But when I go to the month January, it's showing "Birthday" on the first of that month, without a name or anything.. And there aren't users who are having birthday on that date.. And that doesn't look very nice. Can someone help me with this? Thx a lot!
angmar
Poster
Poster
 
Posts: 6
Joined: Tue 23. Aug, 2005 17:14

Postby angmar on Sun 28. Aug, 2005 22:27

I think I've found a little bug into Niels' mod to include the users birthdays into MyCalendar.. After deleting my own modifications and going back to January the first, I still see the little "square" which normally appears before an event.. Without the mod of Niels, I don't see this. But that isn't really disturbing so no one notices or gives a damn about it.. But I do, because I want to put a text-field after the cube, which of course becomes disturbing when viewing the unlogical text "birthday" on january the first.. Niels or anyone else, can you fix this, so january the first doesn't get automatically this "square" (code: &middot; ) .

Thanks anyway
angmar
Poster
Poster
 
Posts: 6
Joined: Tue 23. Aug, 2005 17:14


Return to Birthday [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron