Du hast folgende Funktion in die func/user.php eingefügt?
function birthdaymail() {
global $allgAr;
$userabf = "SELECT `id`, `name`, `gebdatum`, `email` FROM `prefix_user` WHERE '".$allgAr['birthdaymail_recht']."' >= `recht` ORDER BY `id` DESC";
$usererg = db_query($userabf);
while ($urow = db_fetch_object($usererg)) {
$ugbdex = explode("-",$urow->gebdatum);
$usergbdate = $ugbdex[1].'-'.$ugbdex[2];
$akdate = date('m-d', time());
$arge = getAlter($urow->gebdatum);
$uid = $urow->id;
if ( $usergbdate == $akdate AND db_count_query("SELECT COUNT(ID) FROM `prefix_birthdaymail` WHERE `userid` = $uid AND `arge` = $arge") == false ) {
db_query("INSERT INTO `prefix_birthdaymail` VALUES ('','".$urow->id."','".$urow->name."','".getAlter($urow->gebdatum)."')");
$mailtitle = $allgAr['birthdaymail_title'];
$mailtitleaus = str_replace('#NAME#',$urow->name,$mailtitle);
$mailtitleaus = str_replace('#ALTER#',getAlter($urow->gebdatum),$mailtitleaus);
$mailtext = $allgAr['birthdaymail_text'];
$mailaus = str_replace('#NAME#',$urow->name,$mailtext);
$mailaus = str_replace('#ALTER#',getAlter($urow->gebdatum),$mailaus);
$html = true;
icmail($urow->email,$mailtitleaus,$mailaus,'',$html);
}
}
}