• Resolved Adam_1

    (@adam_1)


    Hi,

    Love the plugin!

    I am struggling to get the notifications to work with YITH.

    I have “YITH Badge Management” plugin which automatically populates under the “Notification for” section on your plugin setting within the section “Custom Post Type – Badge”

    However, it does not send a notification for any changes to these badges.

    The plugin appears to work fully for all other notification types.

    I have also tested on 2015, and deactivated all plugins.

    Any thoughts?

    THEME: Storefront (2.1.2) Child
    WORDPRESS: 4.6.1

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jack – BNFW

    (@voltronik)

    Hi @adam_1,
    Thanks for your message.

    It sounds like the badges might be using a different set of statuses to standard WordPress posts in order to be published.
    Do you know what these might be?

    Also, what notifications are you using on this custom post type?

    Thanks,
    Jack

    Thread Starter Adam_1

    (@adam_1)

    Hi Jack,

    Thanks for the quick reply!

    I’m afraid I do not not know if the Yith Badge Management plugin uses different statuses but I will have a look into this now.

    I was initially trying # ‘Badge’ Scheduled # but have since tried all available options and to no avail.

    I also have an email logger which is not registering any emails being sent when using Custom Post Type – ‘Badge’.

    Thank you
    Adam

    Plugin Author Jack – BNFW

    (@voltronik)

    Hi Adam,
    Are you able to test with another custom post type that either you’ve set up just to make sure that custom post type notifications are working for you?

    It’s possible that the YITH Badge Management plugin isn’t using standard WordPress techniques to add badges so won’t trigger notifications if this is the case.

    Let me know how you get on with the statuses.

    Thanks,
    Jack

    Thread Starter Adam_1

    (@adam_1)

    Hi Jack,

    I have tried Custom post type ‘product’ which all seems to work perfectly.

    I think you must be right with YITHs statuses.

    I’ve found the following in the functions, does this look right to you?

    'edit_' . $singular_base           => true,
                'read_' . $singular_base           => true,
                'delete_' . $singular_base         => true,
                'edit_' . $plural_base             => true,
                'edit_others_' . $plural_base      => true,
                'publish_' . $plural_base          => true,
                'read_private_' . $plural_base     => true,
                'delete_' . $plural_base           => true,
                'delete_private_' . $plural_base   => true,
                'delete_published_' . $plural_base => true,
                'delete_others_' . $plural_base    => true,
                'edit_private_' . $plural_base     => true,
                'edit_published_' . $plural_base   => true,

    There’s more there than i thought were standard but not 100% i’m in the right place here.

    Apologies for my rusty knowledge.

    Adam

    Plugin Author Jack – BNFW

    (@voltronik)

    Hi @adam_1,
    Good to know that the issue is limiting to a 3rd party plugin and not your site.

    That code looks like it’s for user capabilities to me as opposed to post statuses.
    Try searching for something like get_post_status or wp_insert_post in the plugin code?

    Thanks,
    Jack

    Thread Starter Adam_1

    (@adam_1)

    Hi Jack,

    I searched through everything and no new post statuses are declared.

    I contacted YITH and they said the plugin uses the standard default post statuses.

    Any ideas?

    Really appreciate the help so far.

    Cheers,
    Adam

    Plugin Author Jack – BNFW

    (@voltronik)

    Hi @adam_1,

    If it’s using anything other than ‘draft_to_publish’ then the new post notification won’t pick it up.

    Are you able to find out which post status transition they’re using?

    Thanks,
    Jack

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘YITH Integration’ is closed to new replies.