- Posts: 3
COMMUNITY FORUM
Disqus comments count delayed!
- Toma Skubi
- Topic Author
- Offline
- New Member
Less
More
9 years 4 months ago #145265
by Toma Skubi
Disqus comments count delayed! was created by Toma Skubi
Hi
I using jw_disqus plugin on my joomla 3.4 site with core joomla article list
I enabled plugin and Display a comments counter/anchor link in (category) listings
Problem is that the comment counters displayed on blog_item list work's only when I manually insert below code before </body> tag
After that customization comment counter works but correct count value is refreshing after few minutes.
When I cut this code after</body> then only Add a comment link is displayed.
The counts not working
I've checked on default joomla theme and problem is that same!
Maybe I need to change my javascript code to correct use data-disqus-identifier
I using jw_disqus plugin on my joomla 3.4 site with core joomla article list
I enabled plugin and Display a comments counter/anchor link in (category) listings
Problem is that the comment counters displayed on blog_item list work's only when I manually insert below code before </body> tag
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'myshortname'; // required: replace example with your forum shortname
// var disqus_developer = 1; // Comment out when the site is live
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
After that customization comment counter works but correct count value is refreshing after few minutes.
When I cut this code after</body> then only Add a comment link is displayed.
The counts not working
I've checked on default joomla theme and problem is that same!
Maybe I need to change my javascript code to correct use data-disqus-identifier
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 4 months ago #145300
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Disqus comments count delayed!
Hi,
First of all, hacking the extension is not recommended at all. The plugin should work fine as you can see in our demo pages :
demo.joomlaworks.net/disqus-comments-category
demo.joomlaworks.net/disqus-comments-category/disqus-comments-article
Regarding the delay, this has to do with DISQUS service not the plugin.
First of all, hacking the extension is not recommended at all. The plugin should work fine as you can see in our demo pages :
demo.joomlaworks.net/disqus-comments-category
demo.joomlaworks.net/disqus-comments-category/disqus-comments-article
Regarding the delay, this has to do with DISQUS service not the plugin.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Toma Skubi
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
9 years 4 months ago - 9 years 4 months ago #145308
by Toma Skubi
Replied by Toma Skubi on topic Disqus comments count delayed!
Hi
Thanks for your help.
I don't know why you treat this as hacking your plugin:)
In my case your plugin not work after install.
Plugin is installed and enabled and don't work in category view, There is only Add a comment link in blog layout
But in article view plugin works fine!
Maybe you know what can by the reason of this.
The plugins start working in category view only when I add java code into my template file.
I am looking for solution how to use your plugin without any modyfication of my template.
Or need some information how to modyfi my theme to use jw_disqus
Thanks for your help.
I don't know why you treat this as hacking your plugin:)
In my case your plugin not work after install.
Plugin is installed and enabled and don't work in category view, There is only Add a comment link in blog layout
But in article view plugin works fine!
Maybe you know what can by the reason of this.
The plugins start working in category view only when I add java code into my template file.
I am looking for solution how to use your plugin without any modyfication of my template.
Or need some information how to modyfi my theme to use jw_disqus
Last edit: 9 years 4 months ago by Toma Skubi.
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 4 months ago #145328
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Disqus comments count delayed!
It is designed to work like that. As you can see in the demos i sent you, in articles list you should only get the comments counter not the comments list. Comments list is displayed only in article page.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Toma Skubi
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
9 years 4 months ago #145343
by Toma Skubi
Replied by Toma Skubi on topic Disqus comments count delayed!
Hi
Thanks again for your response.
I think that you don't understund my query!
Sorry for inaccurate description.
I try again :
demo.joomlaworks.net/disqus-comments-category - this option not work correct in my site
There is Add a comment link instead of correct comments count, translation also not working.
The correct comment count and translation start to work when I manualy add java code to my theme html.
I try to use your plugin without any custom code just enable and use your plugin.
I think that plugin not works correct because something block to synchronize plugin with my disqus account
Thanks again for your response.
I think that you don't understund my query!
Sorry for inaccurate description.
I try again :
demo.joomlaworks.net/disqus-comments-category - this option not work correct in my site
There is Add a comment link instead of correct comments count, translation also not working.
The correct comment count and translation start to work when I manualy add java code to my theme html.
I try to use your plugin without any custom code just enable and use your plugin.
I think that plugin not works correct because something block to synchronize plugin with my disqus account
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 4 months ago #145366
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Disqus comments count delayed!
Is there a link to the page with the issue?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.