• Resolved rhorine

    (@rhorine)


    I have installed the “Series Engine” plugin to my WordPress site. This plugin creates custom post types with a slug of ‘message’. In Better Notifications, the new alert types for these custom ‘message’ posts are available. If I setup an alert for notification of new ‘message’ published, it does not trigger and I never get notified. Is there a log file for better notifications that might show what it is doing when a new post is published? Is anyone else successfully using this with the Series Engine plugin?

    Randy

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

    (@voltronik)

    Hi @rhorine,
    Thanks for your message.

    Can you install the WP Mail SMTP, or Post SMTP, or Email Log plugin to see if notifications are being sent out but not received?
    If they aren’t being sent out, it might be an issue with the hook that the Series Engine plugin is using in order to publish the ‘Messages’ inside their custom post type.

    Thread Starter rhorine

    (@rhorine)

    I installed the Email Log plugin. After adding a new ‘message’ via Series Engine, I did not see an email go out for the “new ‘message’ published” notification that I set up. I did a test email from that notification to make sure I got it and I did in fact receive the test email. I then went and updated a WordPress page because I have a notification setup for “Updated page”. That email did go out and was logged in the Email log plugin. Looking at the Email log plugin, it had a system info button. I clicked on that and one of the things it lists is all the registered post types. The last one was ‘enmse_message’ and not just ‘message’. The notification type shows “New ‘Message’ Published’ without the leading enmse_ in case that is helpful for you.

    Thanks
    Randy

    Plugin Author bnfw

    (@voltronik)

    Hi @rhorine,
    Ok, thanks.

    In that case, I think you may need to contact the Series Engine plugin author to ask what hook their plugin is using to add the posts from their custom post type (messages) to the database. It might be it uses a hook that doesn’t trigger the notification within BNFW, like other post types, such as the posts or pages do.

    Plugin Author bnfw

    (@voltronik)

    Closing due to inactivity. If you need further help with this, please feel free to re-open this thread.

    Thread Starter rhorine

    (@rhorine)

    I have not been able to get any information from the Series Engine developer yet as to what hook they are using to create their custom post types. They did tell me that the post type they create is “enmse_message”. I noticed that when I am in Better Notifications (with the Series Engine plugin activated), there are custom post type alert options for new “Message” post created, updated, etc. However, if I disable the Series Engine plugin and go back to the list of currently defined notifications in Better Notifications, the notification type shows ‘New enmse_message Published’ instead of ‘New Message Published’ as it was previously. If I then activate that plugin, this notification type changes back. I was wondering if that might provide any insight for you as to why the new post might not be getting triggered.

    Thanks
    Randy

    Plugin Author bnfw

    (@voltronik)

    Hi @rhorine,
    Hmm, are there any other post types with a title of ‘Message’ on your site?
    I wonder if there’s a conflict somewhere, even though, it’s unlikely that the post type slug will be the same.

    Thread Starter rhorine

    (@rhorine)

    I don’t think there are any other posts with that same post type. I did get this information from the developer yesterday. Hopefully this means more to you than it did me.

    Series Engine doesn’t function as a typical CPT-based plugin, but uses its own proprietary code and database structure for its content. It does create a post for the enmse_message type when a new message is created, but it doesn’t rely on a hook to accomplish that that they could latch onto.

    Thanks
    Randy

    Plugin Author bnfw

    (@voltronik)

    Hi @rhorine,
    Thanks for this.

    In that case, you won’t be able to use BNFW with the Series Engine plugin as BNFW relies on standard WordPress hooks in order to trigger notifications. Unless the developer is able to provide hooks that BNFW may be able to use, adding support for this may not be possible.

    Thread Starter rhorine

    (@rhorine)

    I was kinda expecting that would be the case, but wanted to run it by you anyway. Thanks for your willingness to help and respond in timely fashion.

    Randy

    Plugin Author bnfw

    (@voltronik)

    Hi @rhorine,
    No problem. Sorry I can’t help more at the moment but if you need anything else, just let me know.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Notifications not triggering for Custom Post type.’ is closed to new replies.