I may be blind but I can't seem to figure out how to turn off the admin notification email. At least while I am getting hundreds of email/day I would like to be able to turn it off.
I may be blind but I can't seem to figure out how to turn off the admin notification email. At least while I am getting hundreds of email/day I would like to be able to turn it off.
Officially there isn't a way to disable the email on submission.
If you're getting hundreds per day you either have an amazing directory, or you're being flooded with spam/crap by bots. And by the way, this won't slow down, it will only get worse.
I would suggest that you enable registration before submission. This will cut down the submissions probably by 95% or more. Or you can upgrade to 1.3.3 (or wait a week or so for 1.4) and then leave registration off but enable recaptcha which will kill the bots as well.
In add.php
would commenting out SendEmail($v, $body['subject'], $body, $from); cause any unpleasant side effects? I (admin) is the only one can edit submissions so...Code:// send email to all editors, subscribers and admin $plug->PluginPlace("hook_php_add_ProcessFormAddUrl_before_send_email_all_editor"); $emails = $links_obj->GetEditorEmail($cat); $emails[] = $email_address; $subscriber_emails = $category_obj->GetSubscriberEmail($cat); while (list(, $v) = @each($emails)) { $body = ReadEmailTemplate("add_ok_editor", $links_obj->email_template_fields. ",\$site_url,\$site_name,\$contact_name,\$email"); $from = $email_address; SendEmail($v, $body['subject'], $body, $from); } $plug->PluginPlace("hook_php_add_ProcessFormAddUrl_before_send_email_all_subscriber");
Would it be bad? No, but the next time you upgrade that would be overwritten.
Don't forget that IndexU has a spam filter as well. Add some common spam words and it will stop a ton of the crap you're seeing.