{"action":"created","issue":{"url":"https://api.github.com/repos/websharks/comment-mail/issues/149","labels_url":"https://api.github.com/repos/websharks/comment-mail/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/websharks/comment-mail/issues/149/comments","events_url":"https://api.github.com/repos/websharks/comment-mail/issues/149/events","html_url":"https://github.com/websharks/comment-mail/issues/149","id":112457485,"number":149,"title":"Turn off comment subscriptions on specific custom post types ","user":{"login":"bonest","id":15220746,"avatar_url":"https://avatars.githubusercontent.com/u/15220746?v=3","gravatar_id":"","url":"https://api.github.com/users/bonest","html_url":"https://github.com/bonest","followers_url":"https://api.github.com/users/bonest/followers","following_url":"https://api.github.com/users/bonest/following{/other_user}","gists_url":"https://api.github.com/users/bonest/gists{/gist_id}","starred_url":"https://api.github.com/users/bonest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonest/subscriptions","organizations_url":"https://api.github.com/users/bonest/orgs","repos_url":"https://api.github.com/users/bonest/repos","events_url":"https://api.github.com/users/bonest/events{/privacy}","received_events_url":"https://api.github.com/users/bonest/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/websharks/comment-mail/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/websharks/comment-mail/milestones/2","html_url":"https://github.com/websharks/comment-mail/milestones/Next%20Release","labels_url":"https://api.github.com/repos/websharks/comment-mail/milestones/2/labels","id":1210301,"number":2,"title":"Next Release","description":"Release Candidate by October 1st, 2015","creator":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":11,"state":"open","created_at":"2015-07-15T23:16:27Z","updated_at":"2015-10-21T00:24:38Z","due_on":"2015-10-07T04:00:00Z","closed_at":null},"comments":10,"created_at":"2015-10-20T20:50:21Z","updated_at":"2015-10-21T07:17:58Z","closed_at":null,"body":"Hi.\r\n\r\nIf you use Woocommerce, then Comment-mail subscription form is shown on the reviews tab.\r\nIf you use any other plugin that creates a custom post type, and uses comments you have the same problem.\r\n\r\nI have a big issue with this, and I own a PRO license, I really need a way to disable the subscription form for comments to specific post types. \r\n\r\nI really need a quick fix for this because I have a plugin that has to go live, that use comments, and it has its own notification system. And I have to put this plugin live today.. Tomorrow at the very latest. :-("},"comment":{"url":"https://api.github.com/repos/websharks/comment-mail/issues/comments/149802005","html_url":"https://github.com/websharks/comment-mail/issues/149#issuecomment-149802005","issue_url":"https://api.github.com/repos/websharks/comment-mail/issues/149","id":149802005,"user":{"login":"bonest","id":15220746,"avatar_url":"https://avatars.githubusercontent.com/u/15220746?v=3","gravatar_id":"","url":"https://api.github.com/users/bonest","html_url":"https://github.com/bonest","followers_url":"https://api.github.com/users/bonest/followers","following_url":"https://api.github.com/users/bonest/following{/other_user}","gists_url":"https://api.github.com/users/bonest/gists{/gist_id}","starred_url":"https://api.github.com/users/bonest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonest/subscriptions","organizations_url":"https://api.github.com/users/bonest/orgs","repos_url":"https://api.github.com/users/bonest/repos","events_url":"https://api.github.com/users/bonest/events{/privacy}","received_events_url":"https://api.github.com/users/bonest/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T07:17:58Z","updated_at":"2015-10-21T07:17:58Z","body":"Thank you for including me in your discussion. I can tell by reading the communication that you understand the issue.\n\nJason you suggested that I could remove the form in Advanced mode.\n\nBut this is not quit enough, since the plugin also hooks into the comment_post action which is fired after the comment has been inserted.\nI guess this adds the subscription to the notification queue.\n\nSo even if the form is not shown, I have to be sure that comment_mail does not send notifications.\n\nI tried last night to see if I could find a way to remove the actions on specific post types that the comment_mail is triggered from.\n\ncomment_form_must_log_in_after\ncomment_form_top\ncomment_post\ncomment_form\n\nBut I did not manage to get it to work, so I am hoping for a quick fix from you guys. \n\nKind Regards\n\nHenrik\n\n> Den 21/10/2015 kl. 04.58 skrev Raam Dev <notifications@github.com>:\n> \n> I'm fine with them being enabled for post types only by default then.\n> \n> Cool. :-) So we should add a new option in Comment Mail → Config. Options → Comment Form towards the bottom called Enable Comment Form for Custom Post Types (Comma-Delimited) that allows supplying a comma-delimited list of CPTs (just like Comment Mail → Config. Options → Auto-Subscribe Settings → Auto-Subscribe Post Types (Comma-Delimited)) and the field should include only post by default, correct?\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/websharks/comment-mail/issues/149#issuecomment-149767921>.\n> \n\n"}}