I’ve moved to pipDisqus from the official Disqus plugin which I have used on my blog for several years. pipDisqus seems to work well with much faster page load speeds, thanks!
However since installing I have seen a big rise in spam comments that come through on the WordPress comment system (not Disqus). Not sure how the spammers are getting through. But weird that this wasn’t a problem before and is now, any ideas?
]]>Hey there,
Have just the comments page on the home page, Buddy and BB in other pages – pipdisqus won’t affect those?
Love the silly name. ??
]]>Hello..
Thanks for your awesome plugin. Before this, i was using generatepress, and disqus comment show.
Today, i change to newspaper theme (TagDiv theme). Add form comment via tagdiv composer in single template, but disqus not showing up.
I cleared/purge all cache, but still, not working.
Can you suggest what should i do?
Thanks
]]>Will a Gutenberg block be available in the near future? I couldn’t find a way of adding Disqus comments.
]]>Hi,
Is there a way of being able to display X number of recent Disqus comments within a widget via a shortcode (or similar)? Or will this require an additional plugin to do something like this?
Many thanks,
Martyn
]]>This is a great and extremely useful plugin!
I’d like to suggest a feature that allows specifying a user’s role that can see the admin links. Currently the Settings menu is visible to anyone with ‘edit_posts’ capability, however the link goes to a blank page.
Here is a patch that does two things:
1. Change default permissions to moderate_comments
.
2. Add another settings field that allows this to be changed.
8c8
< Version: 1.5
—
> Version: 1.5-tag-capa
113c113
< if (!current_user_can(‘edit_posts’) || empty($options[‘disqus_shortname’])) {
—
> if (!(current_user_can(pipdisqus_get_moderator_capability()) || current_user_can(‘manage_options’)) || empty($options[‘disqus_shortname’])) {
135c135
< add_options_page(‘pipdisqus’, ‘pipDisqus’, ‘edit_posts’, ‘pipdisqus’, ‘pipdisqus_options_page’);
—
> add_options_page(‘pipdisqus’, ‘pipDisqus’, ‘manage_options’, ‘pipdisqus’, ‘pipdisqus_options_page’);
158a159,166
> add_settings_field(
> ‘disqus_capability’,
> __(‘Moderation Permission’, ‘pipdisqus’).’ (?)’,
> ‘disqus_capability_render’,
> ‘pipdisqus_pluginPage’,
> ‘pipdisqus_pluginPage_section’
> );
>
173a182,188
> function disqus_capability_render() {
> $disqus_capability = pipdisqus_get_moderator_capability();
> ?>
> <input type=”text” name=”pipdisqus_settings[disqus_capability]” value=”<?php echo esc_attr( $disqus_capability ); ?>”>
> <?php
> }
>
180a196,203
> function pipdisqus_get_moderator_capability() {
> $options = get_option(‘pipdisqus_settings’);
> $disqus_capability = ‘moderate_comments’;
> if (isset($options[‘disqus_capability’])) {
> $disqus_capability = trim(sanitize_text_field($options[‘disqus_capability’]));
> }
> return $disqus_capability;
> }
Our Disqus comments broke some time ago using the standard Disqus plugin. When they finally released an upgrade recently we tried updating to see if that fixed it and still the comments won’t apper. Only see a flash of of the Disqus logo and then nothing.
Used Asset Cleanup to shutoff all other enqueued javascript on the page linked above and still it wouldn’t work. Tried with your plugin and am getting the same result. Console shows a few weird errors that I’ve previously assumed meant the plugin was compromised, but now i’m not so certain.
Errors in console:
Failed to load resource: net::ERR_NAME_NOT_RESOLVED magnetic.t.domdex.com/sync/liveramp:1
Failed to load resource: net::ERR_CONNECTION_REFUSED liveramp2waycm-atl.netmng.com/cm/:1
More worrisome is that when I search for these domains I get hacker / malware info sites.
These errors only appear when the main Disqus plugin or your plugin are installed and activated. In your plugin if I removed the shortname I get this error instead:
site.js:1 Uncaught TypeError: ‘caller’, ‘callee’, and ‘arguments’ properties may not be accessed on strict mode functions or the arguments objects for calls to them
at HTMLDocument.<anonymous> (site.js:1)
I changed the shortname to an old website’s and get the same errors above, so it’s not related to the shortname / account.
Any idea what all of this is?
]]>Hello, i got a question.
I want to display comment counts con my archives and i do so with disqus JavaScript (count.js). This works, but also adds a to the load of the site, which doesn’t finish loading up until all counters get fetched. If you have 20 posts this can take a while.
My idea was to install the official disqus plugin and import all the comments to the database, then get the counts with get_comments_number()
That way i can remove count.js and cut back page load by whole seconds.
Is this my best bet? What would you do in this case?
]]>Is this plugin WordPress Multisite compatible? I like the idea of replacing WordPress comments system -wide to save on resources.
]]>Please see:
https://screencast.com/t/vkKiSI4kl0
Summary:
Some of our posts have the post status post_locked. Comments for these instances are not showing. Would love to whitelist our custom post status’s through a filter.
Going to hard code the change in now, but if I update it will break it. Please let me know if it’s something you guys could do.
Cheers
Hudson
@atwellpub
@inboundnow