• Resolved Luis

    (@chuo999)


    Hello, this is the plugin that I was looking for!

    I have a client who needs to exchange file between registered users and administrator.

    I am using Multiverso plugin for achive that, but we need to send noticiactions when a new file is uploaded by an user, when it is modified, etc.

    And the same for de admin, send notification to user when upload a file, modify, etc.

    I added a new notification for the administrator and selected below Custom Post Type “New File Published”.

    So, when I log in as an user and plublish a new file no email is coming to the admin.

    The test email is working fine

    What could it be?

    Thanks!

    Regards

    • This topic was modified 7 years ago by Luis.

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @chuo999,
    Thanks for your message.

    How are files being added? Are they via the WP Admin or via a front-end form?

    Thread Starter Luis

    (@chuo999)

    Hello, thanks for your answer.

    Via front end form by registered users.

    They add a new custom post, title, description, select a file and click on “Publish”

    • This reply was modified 7 years ago by Luis.
    elmirage001

    (@elmirage001)

    Hello! I’m having the same issue with the “WP Adverts” plugin. Users submit an ad which goes to a Custom Post Type.

    In Notifications I have selected “Notification For” the custom post type ‘Classified’ Published.

    Send Me a Test Email –> Works Fine

    When an ad is placed it goes to published but no email notification is sent.
    Email Log only shows the “Test Email”

    If I change the ad to Pending and then change to Published everything works fine and the “subscribers” all get the email notification.

    I deactivated all plugins except BNFW and WP Adverts and tested everything again and got the same results.

    Your plugin is the perfect solution to my needs if I can get it working.

    Thank you very much!

    Paul

    Plugin Author bnfw

    (@voltronik)

    Hi @chuo999 and @elmirage001,
    I’ve had reports of WP Adverts before. I think it has something to do with the way that they’re saving the posts. From memory, they’re not transitioning posts through draft and then to publish but instead from something like autodraft to publish and as such, BNFW can’t pick up the new posts and send out notifications for them.

    I think the only way to resolve is to ask the authors of those plugins to consider changing how their custom post types are saved via their front-end forms to something that BNFW can use. Unfortunately, I can’t change this from BNFW’s end because it will pick up all kinds of things happening on a site and send out notifications for them, including things you don’t want.

    Hope this makes sense.

    elmirage001

    (@elmirage001)

    Hi bnfw, thank you so much for giving me useful information so I can communicate it to the WP Adverts author.

    Thanks again and have a great day!

    Paul

    elmirage001

    (@elmirage001)

    Hi bnfw!

    Greg at WPAdverts has an area called Code Snippets where he has plugin code already written that Triggers “draft_to_pending” and “draft_to_publish” actions for BNFW.

    WPAdverts Snippets – BNFW Trigger

    I installed it and it works perfectly. I’ll be donating shortly.

    Thanks again!

    Paul

    Thread Starter Luis

    (@chuo999)

    Hi, I will check this in Multiverso plugin and come back if this issue is not resolved for me.

    Thanks very much for your comments!

    regards

    Eduardo

    Plugin Author bnfw

    (@voltronik)

    Hi @elmirage001,
    Thanks for sharing that snippet – it’s really great to see plugin authors working together on improving compatibility.

    I’ve now added a new document to the BNFW website regarding this: https://betternotificationsforwp.com/documentation/compatibility/wpadverts-plugin/

    If you like BNFW and the support, please feel free to leave an honest review.

    elmirage001

    (@elmirage001)

    Hi bnfw!

    To help support and as a thank you I just purchased your “Custom Fields Add-on – Single Site”. Thank you so much for adding the WPAdverts page on your site. I’ll let Greg know about it too. When I get caught up more I’ll definitely be leaving a nice review for BNFW!

    Paul

    Plugin Author bnfw

    (@voltronik)

    Hi @elmirage001,
    Not a problem at all! Thanks very much for your support.

    Thread Starter Luis

    (@chuo999)

    Hello, excuse me but I’m lost.

    I see in my plugin this code in functions.php plugin’s file:

    // WP Terms Saving	
    	wp_set_post_terms( $post_id, $_POST['mvCategory'], 'multiverso-categories' );
    	
    	// WP Post Saving
    	$file_information = array(
        'ID' => $post_id,
        'post_title' =>  wp_strip_all_tags( $_POST['fileTitle'] ),
        'post_content' => $_POST['fileContent'],
        'post_type' => 'multiverso',
        'post_status' => $_POST['mvStatus']
    	);
    	
    	$file_update = wp_update_post( $file_information ); 
    

    How can I trigger the file upload notification please?

    Thanks! kind regards

    Plugin Author bnfw

    (@voltronik)

    Hi @chuo999,
    You shouldn’t need to add any code to your site unless the author of the other plugin has asked you too. You should be able to edit all notifications within BNFW under the Notifications screen within your WP Admin. If your notifications aren’t triggering and you’ve installed the Post SMTP / Email Log plugin, you’ll need to get in touch with the other plugin author. Have you done this?

    Thread Starter Luis

    (@chuo999)

    The Author is not offering support anymore ??

    Thanks anyway, I will try another options or do it myself in a PHP custom system.

    • This reply was modified 7 years ago by Luis.
    Plugin Author bnfw

    (@voltronik)

    Hi @chuo999,
    Ah, ok. Best of luck!

    If you find anything, please feel free to update this thread to help others.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Problem with Custom Post Type notification’ is closed to new replies.