com_massmail hacked to send to approved CB users

18 years 3 months ago #4578 by djsdjs
I have hacked com_massmail so that it will only send to CB users who are approved and not banned. Without this hack, all users who are not yet approved also receive the message.

For some reason this forum does not let me post any of my code fragments, even when using the proper bb code - keeps saying it can't find the page. Preview worked find.

Please Log in to join the conversation.

18 years 3 months ago #4611 by elesus
...try to submit it as attached zip file... or try using another browser (firefox/IE/Opera etc)...

СB3РD

Please Log in to join the conversation.

18 years 3 months ago #4613 by nant
[code:1]} else {
$successmessage .= "<font color=green>" . unHtmlspecialchars(getLangDefinition(_pg_FileUploadAndTnSucceeded)) . "</font><br />";
$successmessage = str_replace("%1", $final_uploaded_filename, $successmessage);
$successmessage = str_replace("%2", "tn" . $final_uploaded_filename, $successmessage);
}
return $successmessage;[/code:1]

code works ok for me

Post edited by: nant, at: 2006/01/24 15:03

Please Log in to join the conversation.

18 years 3 months ago #4693 by djsdjs
I have attached the modified admin.massmail.php.

Attachment admin.massmail.zip not found

Attachments:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.272 seconds

Facebook Twitter LinkedIn