Listing Notifications

Discussion in 'GeoCraft WordPress Theme' started by ldrouillard, Dec 1, 2012.

Thread Status:
Not open for further replies.
  1. ldrouillard

    ldrouillard Member

    Joined:
    Oct 7, 2012
    Messages:
    70
    Likes Received:
    2
    Currently I receive an email if a new subscriber signs up but if the user adds new listings after they have signed up there is no email notification to alert the admin that a new listing has been submitted.
     
  2. Krish

    Krish Support Staff

    Joined:
    Oct 22, 2012
    Messages:
    210
    Likes Received:
    1
    Location:
    India
    Ok i noticed your issue, we'll add this feature in our theme.

    Thanks
     
  3. scfadmin

    scfadmin Member

    Joined:
    Dec 23, 2012
    Messages:
    57
    Likes Received:
    7
    Has this feature been added yet? If not could you point me toward the program I need to work with, and I'll add it myself. I need to approve listings before they get published, and need an email notification to tell me when they get added.

    Thanks.
     
  4. markbringitlocal

    markbringitlocal New Member

    Joined:
    Jan 16, 2013
    Messages:
    5
    Likes Received:
    0
    We also need this. This is an important feature. Please update us on the status. thank you.
     
  5. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    We are working on this issue and reply you as soon as possible.
     
  6. markbringitlocal

    markbringitlocal New Member

    Joined:
    Jan 16, 2013
    Messages:
    5
    Likes Received:
    0
    In the meantime for those that need it this plugin seems to do the trick: Peter's Collaboration E-mails
     
  7. Krish

    Krish Support Staff

    Joined:
    Oct 22, 2012
    Messages:
    210
    Likes Received:
    1
    Location:
    India
    If you want to get notifications when a subscriber submit a listing, just you have to add the following code in geocrafttheme -> functions.php at ending of the code. Or you can add this code in your child theme functions.php.

    PHP:
    add_action('wp_insert_post''send_admin_email');
    function 
    send_admin_email($post_id){
        
    $admin_email get_option('admin_email');
        
    $to $admin_email//You can put your email directly like $to = 'your email here' or "your email here"
        
    $subject 'mail subject here';
        
    $message "your message here ex: new post published at: ".get_permalink($post_id);
        
    wp_mail($to$subject$message );
    }
     
  8. scfadmin

    scfadmin Member

    Joined:
    Dec 23, 2012
    Messages:
    57
    Likes Received:
    7
    Gourav likes this.
Thread Status:
Not open for further replies.

Share This Page