warum so kompliziert?
in der news.php die zeile
PHP-Code:
$empfaenger = db_query('SELECT emailadresse FROM '.$db_prefix.'_emaildaten WHERE freigabe_fuer = 1 OR freigabe_fuer = 3 GROUP BY emailadresse');
in
PHP-Code:
$empfaenger = db_query('SELECT emailadresse FROM '.$db_prefix.'_emaildaten as e LEFT JOIN '.$db_prefix.'_kontodaten as k ON e.uid=k.uid WHERE (e.freigabe_fuer = 1 OR e.freigabe_fuer = 3) AND k.status=1 GROUP BY emailadresse');
ändern.
Und schon bekommen nur noch freigeschaltete User den Newsletter.
mfg
Aradiv