dorzki / slack-notifications

Get WordPress notifications to your team's Slack channel.
https://wordpress.org/plugins/dorzki-notifications-to-slack/
GNU General Public License v3.0
41 stars 27 forks source link

How about WP comments based on Disqus? #21

Open gerardofallani opened 6 years ago

gerardofallani commented 6 years ago

Hello! I'm dealing with a WordPress site I've created for training teachers of Italian as second language. I've grouped them through a Slack team and I've installed your Slack Notifications plugin, to receive notifications for new posts and new comments (that is all we need). By the way, in the WP site there's the Disqus plugin, that enhance the commenting system, and I've noticed that Slack Notifications plugin doesn't work with Disqus. In the meantime I've deactivated Disqus (and got back to WP original comments). Of course, now everything works fine. But... we're very sorry about that. Since Disqus is very popular, I'm asking if you might consider to integrate it into Slack Notifications. Thanks for all your work (and for your attention).

DorZuberi commented 6 years ago

Hello Gerard, Unfortunately, I can't help you with that, and let me explain to you why.

The Disqus plugin embeds an external form, although it is not an iframe the processing of the comment data is done on their server. So each time someone is leaving a comment, no hook is fired on your website.

However there is an option called "Syncing" on your WordPress plugin settings page, try enabling it and it will sync your Disqus comments to WordPress and it might to the trick.

Please try it and let me know if it worked?

gerardofallani commented 6 years ago

Thanks, Dor. I tried, just gave a shot, but didn't solve the problem. This can be because of my poor experience in dealing with APIs and stuff like that. But I'm gonna give another try.

DorZuberi commented 6 years ago

I'm sorry, but i don't think i can help you in this case as this is an external script.

I'll try contacting Disqus's support to see if the maybe have some kind of JS hooks.

DorZuberi commented 6 years ago

Hi @gerardofallani, So there is a way to do this, but i need to see how to interact with Disqus's plugin.

I will keep you updated.

gerardofallani commented 6 years ago

Well, you've already helped me so much. But I'll keep following. Thanks more :)

gerardofallani commented 6 years ago

Well, you've already helped me so much. But I'll keep following. Thanks more :)

Via dell'Anguillara, 8 - 50122 Firenze Tel. +39 055 280 928 Cell. + 39 335 691 6611 Email: g.fallani@gmail.com

On Tue, Feb 13, 2018 at 10:42 AM, Dor Zuberi notifications@github.com wrote:

Hi @gerardofallani https://github.com/gerardofallani, So there is a way to do this, but i need to see how to interact with Disqus's plugin.

I will keep you updated.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dorzki/Slack-Notifications/issues/21#issuecomment-365208334, or mute the thread https://github.com/notifications/unsubscribe-auth/AMTF88cF3I1pAVNj6-vPHSId53Bssj7zks5tUVjygaJpZM4SAGg9 .