Gemeldete Beiträge per PN

Alexdo
Hallo,

jeder Teamie kennt es, ein Beitrag wurde gemeldet und sofort trudelt die Email bei ihm ein, aber, warum eine Email?

Kann das nicht auch über PNs laufen? Oder über beides?
Was muss man da ändern, gibts Hacks dafür?
LadyMary
Würde mich auch interessieren! Hätte die Benachrichtigungen auch lieber per PM!
FunBoard4You
Das ist eine Standartfunktion des wBB. Wenn "notificationperpm" beim MOD nicht auf 0 steht, erhält er automatisch statt Email eine PN. Belehr
Alexdo
Damit jeder Mod eine PN und eine Email bekommt habe ich folgende zwei Zeilen in der report.php
php:
1:
2:
if ($mod['notificationperpm'] == 0mailer($mod['email'], $mail_subject$mail_text);
else sendPrivateMessage(array($mod['userid'] => $mod['username']), array(), $mail_subjectparseURL($mail_text));

ersetzt durch
php:
1:
2:
3:
4:
5:
// Send Email AND PM by reporting post
    mailer($mod['email'], $mail_subject$mail_text);
    sendPrivateMessage(array($mod['userid'] => $mod['username']), array(), $mail_subjectparseURL($mail_text));
//    if ($mod['notificationperpm'] == 0) mailer($mod['email'], $mail_subject, $mail_text);
//    else sendPrivateMessage(array($mod['userid'] => $mod['username']), array(), $mail_subject, parseURL($mail_text));


Einfach ein bisschen mit if ($mod['notificationperpm'] == 0) und else rumspielen cool