Descrierea MODificării: Această MODificare va adăuga un câmp zi de naştere în profil şi va face vizibilă vârsta membrilor în cadrul mesajelor.
Pentru a descărca noua versiune, citeşte primul mesaj din acest subiect.
## MOD History:
##
## 2004/09/12 - Version 1.5.7
## - timezone fix, to page_header.php - a typo, made popup happen without timezone applyed
##
## 2004/04/25 - Version 1.5.6
## - add or update the Dutch, French, Hungarian, Icelandic,
## Romanian, Slovak, polish & Spanish translation in the MOD archive
## - add the 2 zodiac optional features and their available
## translations in the MOD archive
##
## 2004/04/22 - Version 1.5.5
## - fixed a isue in index.php, witch couse a error if username have special chars
Niels scrie:
I have update this mod to version 1.5.5.
it did turn out that a error would be displayed on the index, if one or more users did have special chars in the username
to fix this upgrade to lates version.
to upgrade 1.5.4. -> 1.5.5.
in file index.php
Cod: Selectaţi tot
[FIND]
'L_WHOSBIRTHDAY_WEEK' => ($board_config['birthday_check_day']>1) ? sprintf((($birthday_week_list) ? $lang['Birthday_week'].$birthday_week_list : $lang['Nobirthday_week']), $board_config['birthday_check_day']) : '',
[REPLACE WITH]
'L_WHOSBIRTHDAY_WEEK' => ($board_config['birthday_check_day'] > 1) ? sprintf( (($birthday_week_list) ? $lang['Birthday_week'] : $lang['Nobirthday_week']), $board_config['birthday_check_day']).$birthday_week_list : '',
Niels scrie:
gaarfouu, have notifyed me about a timezone isue,
upgrade 1.5.6 -> 1.5.7
to correct this, please modify page_header.php
Cod: Selectaţi tot
[FIND]
if ( $userdata['user_birthday']!=999999 && $board_config['birthday_greeting'] && create_date('Ymd', time(), $board_config['default_timezone']) >= $userdata['user_next_birthday_greeting'].realdate ('md',$userdata['user_birthday'] ) )
[REPLACE WITH]
// see if user has or have had birthday, also see if greeting are enabled
if ( $userdata['user_birthday']!=999999 && $board_config['birthday_greeting'] && create_date('Ymd', time(), $board_config['board_timezone']) >= $userdata['user_next_birthday_greeting'].realdate ('md',$userdata['user_birthday'] ) )