• Resolved Bladecenter

    (@bladecenter)


    Hi.
    I use Better Notifications for WordPress and WP Adverts.

    I have some problem when I want send me a notification for a new add.
    I never receive mail.
    The test mail work well.
    When I change the notification has (update add) the notification work well.

    Do you have an Idea ?

    Is it posible to send notification when a add is posted, not to one category like (administrator or membrer ) but only for one subscriber ?

    I already post a message on Better Notification support.
    Am waiting for answer

    Sorry for bad english

    Regards

    https://www.ads-software.com/plugins/wpadverts/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    i am not really familiar how the Better Notifications plugin work so i can’t tell why it is not sending emails, as far as WPAverts goes you can send notification to admin by adding following code in your functions.php file

    add_filter("adverts_action_save", "my_adverts_action_save");
    function my_adverts_action_save($content) {
        wp_mail( get_option("admin_email"), "New Ad Posted", "New Ad posted on your site." );
        return $content;
    }
    Thread Starter Bladecenter

    (@bladecenter)

    Thanks.

    Where i can find this functions.php file?

    If I want send to one mail (admin or other) I must rwrite that :

    wp_mail( get_option(“[email protected]”), “New Ad Posted”, “New Ad posted on your site.” );
    return $content;
    }

    that correct ?

    How I can personalize the mail notification ?

    Plugin Author Greg Winiarski

    (@gwin)

    1. You can edit this file from wp-admin / Appeareance / Editor panel after clicking on “Theme functions” in right sidebar or via FTP.
    2. yes, in order to send additional email add second wp_mail( … ) line although you are using it a bit incorrect, the get_option(“admin_email”) will return email email specified wp-admin / Settings panel, if you want to send to some other email address use

    wp_mail( "[email protected]", "New Ad Posted", "New Ad posted on your site." );
    Thread Starter Bladecenter

    (@bladecenter)

    Yeah!! Great thanks

    It work very fine !!

    Plugin Author Greg Winiarski

    (@gwin)

    Ok great, i am closing this thread then.

    BTW. If you are finding WPAdverts useful i would appreciate if you could post really short one or two sentences review here https://www.ads-software.com/support/view/plugin-reviews/wpadverts, thanks!

    Hi. i want realise idea send notification to subscribers group ( group by city ). Example user sent add to category “city1” and subscribers from “city1” have email notification. But i did check few notifications plugins, now i am use Email Subscribers plugin, and plugin can’t see categories, only ‘advert’. Could you advise how i can realise this idea.
    Thanks
    Yuri

    Plugin Author Greg Winiarski

    (@gwin)

    Hi, the categories in WPAdverts are registered as custom taxonomy (advert_category), as for Email Subscribers plugin i am not really familiar with it so i am afraid i can’t tell why it does not see categories.

    Thanks for very quick answer. may be know which email plugin will work?

    Plugin Author Greg Winiarski

    (@gwin)

    I am not familiar with any so i can’t tell, sorry.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Notification and WP Adverts plugin’ is closed to new replies.