Birthdays in newsfeed are showing 2 hours before, I mean 10:00 PM instead 12:00 AM. Maybe that's the time of my web hosting...how I can fix it? Under my main settings TimeZone is set to America/Hermosillo.
Birthdays are never shown. I've changed my birthday to today, but no mention.
I use Dutch date notation (dd/mm/yyyy) does this have anything to do with that?
Martin
looks like we have two dynamic values which may not be parsing correctly
line 248 'key' => 'birthdays+console_notification_comment',
line 318 'key' => 'birthdays+console_notification_like',
so on my newsfeed it shows this currently
member pic, member name
------------- birthdays+birthday Sep 01
So now im looking to see what it should say...
maybe it should be show at all, i looked at some old newsfeeds and this is not there next to the pic
birthdays+birthday Sep 01
so im thinking maybe it should not be showing...
its in the function onNewsfeedItemRender inside of ow_plugins/birthdays/classes/event_handler.php
i dont know why its doing this but i know how to quickly fix it lol.. bandaid temp
here is the section
$html = '<div class="ow_user_list_data">
<a href="'.$content['userData']["url"].'">'.$content['userData']["title"].'</a><br><span style="font-weight:normal;" class="ow_small">'. OW::getLanguage()->text('birthdays', 'birthday') . ' '. $birthdate . '</span></div>';
}
$content['content'] .= $html;
$content['content'] = '<div class="clearfix">'.$content['content'].'</div>';
$event->setData($content);
and i did this for temp fix.
just reset the var to '' before the array storage.. (after the original storage value)
$html = '';
$content['content'] .= $html;
once its blank it dont show, ill let you try to figure out why its not showing correctly... :)