Notifications Turn OFF

This topic contains 10 replies, has 3 voices, and was last updated by  Tom Chambers 2 years, 2 months ago.

  • Author
    Posts
  • #391358

    Tom Chambers
    Full Member
    Post count: 90

    Hey Guys,

    There is no option to turn off email notifications to the user and admin each time a new listing is created. This is 2 extra emails, that have to be paid for and aren’t necessary. We need the option to turn these off.

    How can we get this done asap?

    Thanks!

    #391392

    Kor
    Moderator
    Post count: 14554

    Hi Tom,

    GeoDirectory doesn’t provide an option to stop sending notifications. But please check out this article and see if it helps. https://wptavern.com/how-to-stop-wordpress-from-sending-emails or https://wordpress.org/plugins/disable-emails/

    #391721

    Tom Chambers
    Full Member
    Post count: 90

    Thanks, unfortunately we do want some emails. We want to control. You have an option on others so I’m confused as to why not the rest? Simple, no?

    #391812

    Stiofan O’Connor
    Site Admin
    Post count: 22709

    Hi Tom,

    Please let me know the exact emails you wish to disable and i’ll let you know if possible and how.

    Thanks,

    Stiofan

    #396611

    Tom Chambers
    Full Member
    Post count: 90

    Hi Stiofan, missed your reply on this, sorry.

    We want all notitications turned off. The only thing we want sending through system is the send enquiry form.

    Because we need to use 3rd party smtp provider and pay for each email. So we need to minimize that as much as possible.

    Thanks

    #396620

    Stiofan O’Connor
    Site Admin
    Post count: 22709

    Hi Tom,

    That sounds a bit extreme but it can be done but you would need to make a small plugin.
    What SMTP provider are u using? Maybe you need to find a new one.

    Stiofan

    #396624

    Tom Chambers
    Full Member
    Post count: 90

    We’re hosted at wpengine and going to use sendgrid.

    I’m not sure why these can’t be included in the control where we turn others off also? This seems like something everyone with any serious plans would want to do to control costs, no?

    #396746

    Stiofan O’Connor
    Site Admin
    Post count: 22709

    Hi Tom,

    Most people don’t want to turn off basic emails so we don’t provide an option for that.

    I see sendgrids lowest pricing is 40k emails for $9.95/month, do you send over 40k emails a month at the moment?
    We use https://www.sparkpost.com/pricing/ which used to be free for upto 50k month but recently started charging.
    We also use https://aws.amazon.com/ses/pricing/ for some things.

    The question is how many emails do you expect to send a month?

    I can help you out with the code to do what you want but i don’t think its the right solution.

    Thanks,

    Stiofan

    #396785

    Tom Chambers
    Full Member
    Post count: 90

    We are building a worldwide site at photographer.org, yes we are anticipating very high volume. And we need to contain costs, really that simple.

    How can we adjust the code? thx!

    #396800

    Stiofan O’Connor
    Site Admin
    Post count: 22709

    That is a VERY nice domain you have there 🙂

    This is what i would do:
    1. make a basic 1 file plugin and name it a_ANYTHING.php (so it loads before GD)
    2. copy the only two email functions in GD that send emails
    function geodir_sendEmail() and function adminEmail()
    3. Add some conditions for what emails should send and what should return to the start of the functions, something like:

    if ( $message_type != 'send_enquiry' ) { return;}

    If you have any questions or need help implementing it just let me know.

    Thanks,

    Stiofan

    #396801

    Tom Chambers
    Full Member
    Post count: 90

    Thank you!! Will let you know how it goes. Cheers

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘Notifications Turn OFF’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.