Ich häge bereits beim MOD an sich. Dort steht:
Comments
around line 104
Find
Tip: This may be a partial find and not the whole line.
Code: Alles auswählen
}
$db->sql_freeresult($result);
Tip: Replace the preceding line(s) to find with the following lines.
Code: Alles auswählen
if (trim($row['user_email']) && $config['birthday_emails'])
{
$bd_list_ary[] = array(
'method' => $row['user_notify_type'],
'email' => $row['user_email'],
'jabber' => $row['user_jabber'],
'name' => $row['username'],
'lang' => $row['user_lang']
);
}
}
$db->sql_freeresult($result);
$check_time_bdemail = (int) gmdate('mdY',time() + (3600 * ($config['board_timezone'] + $config['board_dst'])));
if ( sizeof($bd_list_ary) && ($user->data['user_timezone'] == $config['board_timezone'] && $user->data['user_dst'] == $config['board_dst']) && ($config['birthday_run'] != $check_time_bdemail) && $config['birthday_emails'] )
{
set_config('birthday_run', $check_time_bdemail);
include_once($phpbb_root_path . 'includes/functions_messenger.' . $phpEx);
$messenger = new messenger();
foreach ($bd_list_ary as $pos => $addr)
{
$messenger->template('birthday_email', $addr['lang']);
$messenger->to($addr['email'], $addr['name']);
$messenger->im($addr['jabber'], $addr['name']);
// if you want to receive copies of the birthday emails, just uncomment below line
//$messenger->cc('your@email.com', 'your_name');
$messenger->assign_vars(array(
'USERNAME' => htmlspecialchars_decode($addr['name'])
));
$messenger->send($addr['method']);
$bd_list_log_ary[] = $addr['name'];
}
add_log('admin', 'LOG_BIRTHDAY_EMAIL_SENT', implode(', ', $bd_list_log_ary));
unset($bd_list_ary);
unset($bd_list_log_ary);
$messenger->save_queue();
unset($messenger);
}
Ich finde das zu suchende aber 3x in der index.php, wie hier auf den Bilder zu erkennen ist:
http://img72.imageshack.us/img72/5038/3xbirthday.jpg
http://img189.imageshack.us/img189/1164/2xbirthday.jpg
Welches davon muß ich nun ersetzen? Alle 3 doch bestimmt nicht, oder?
Gruß und danke schon mal
Pascal