- Posts: 21
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- DISQUS Comments for Joomla!
- NOT FIXED (no count now though): IE7 & IE8 errors with this plugin
NOT FIXED (no count now though): IE7 & IE8 errors with this plugin
- Jack Bremer
- Topic Author
- Offline
- Junior Member
Less
More
15 years 5 months ago - 15 years 5 months ago #23842
by Jack Bremer
NOT FIXED (no count now though): IE7 & IE8 errors with this plugin was created by Jack Bremer
I am having huge problems with this plugin in IE7/8:
I get this error most times we refresh in IE7, and occasional (similar) errors with IE8:
Works BEAUTIFULLY in Firefox...
Any ideas, any more info you need?
Joomla v1.5.10
Disqus plugin v2.1
[UPDATE]Thought I had this fixed with details below, but still having "operation aborted" errors[/UPDATE]
I get this error most times we refresh in IE7, and occasional (similar) errors with IE8:
Works BEAUTIFULLY in Firefox...
Any ideas, any more info you need?
Joomla v1.5.10
Disqus plugin v2.1
[UPDATE]Thought I had this fixed with details below, but still having "operation aborted" errors[/UPDATE]
Please Log in or Create an account to join the conversation.
- Jack Bremer
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
15 years 5 months ago #23843
by Jack Bremer
Replied by Jack Bremer on topic Re: IE7 & IE8 errors with this plugin
OK, have fixed this with a PHP comment-out...
This gave me the clue: disqus.disqus.com/get_num_repliesjs_breaking_in_ie_7/
Go into the plugin's settings, and turn off (NO) both of these:
Display a comments counter/anchor link in listings (e.g. blogcategory)
Display a comments counter/anchor link in article view
Then go to:
/plugins/content/jw_disqus.php
Comment out the following (approx line 165):becomes:Sorted. Shame though - no more comments count.
This gave me the clue: disqus.disqus.com/get_num_repliesjs_breaking_in_ie_7/
Go into the plugin's settings, and turn off (NO) both of these:
Display a comments counter/anchor link in listings (e.g. blogcategory)
Display a comments counter/anchor link in article view
Then go to:
/plugins/content/jw_disqus.php
Comment out the following (approx line 165):
window.addEvent('domready', function(){
// Smooth Scroll
new SmoothScroll({
duration: 500
});
// Disqus Counter
var links = document.getElementsByTagName('a');
var query = '?';
for(var i = 0; i < links.length; i++) {
if(links[i].href.indexOf('#disqus_thread') >= 0) query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
}
var disqusScript = document.createElement('script');
disqusScript.setAttribute('charset','utf-8');
disqusScript.setAttribute('type','text/javascript');
disqusScript.setAttribute('src','http://disqus.com/forums/{$disqusSubDomain}/get_num_replies.js' + query + '');
var b = document.getElementsByTagName('body')[0];
b.appendChild(disqusScript);
});
/*
window.addEvent('domready', function(){
// Smooth Scroll
new SmoothScroll({
duration: 500
});
// Disqus Counter
var links = document.getElementsByTagName('a');
var query = '?';
for(var i = 0; i < links.length; i++) {
if(links[i].href.indexOf('#disqus_thread') >= 0) query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
}
var disqusScript = document.createElement('script');
disqusScript.setAttribute('charset','utf-8');
disqusScript.setAttribute('type','text/javascript');
disqusScript.setAttribute('src','http://disqus.com/forums/{$disqusSubDomain}/get_num_replies.js' + query + '');
var b = document.getElementsByTagName('body')[0];
b.appendChild(disqusScript);
});
*/
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Online
- Admin
Less
More
- Posts: 6218
15 years 5 months ago #23844
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Re: NOT FIXED (no count now though): IE7 & IE8 errors with this plugin
I will add options so people won't have to comment the code.
May I ask what other extensions you have on, cause this could me a conflict in JS originating from another extension...
May I ask what other extensions you have on, cause this could me a conflict in JS originating from another extension...
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jorge Talancon
- Offline
- New Member
Less
More
- Posts: 1
15 years 4 months ago #23845
by Jorge Talancon
Replied by Jorge Talancon on topic Re: NOT FIXED (no count now though): IE7 & IE8 errors with this plugin
Thank you very much for both the great plugin and the bug fix. Works perfectly!!!!
Please Log in or Create an account to join the conversation.
- FoxFinder
- Offline
- New Member
Less
More
- Posts: 1
15 years 2 months ago - 15 years 2 months ago #23846
by FoxFinder
Replied by FoxFinder on topic Re: NOT FIXED (no count now though): IE7 & IE8 errors with this plugin
I'm having the exact same problem. I have narrowed it down to the embeding of youtube videos in my articles.
If I remove the video, the plugin works in IE.
Any suggestions would be great.
BTW Great plugin!! if only everyone would use Firefox :D
Webpage error details
Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI:
If I remove the video, the plugin works in IE.
Any suggestions would be great.
BTW Great plugin!! if only everyone would use Firefox :D
Webpage error details
Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI:
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- DISQUS Comments for Joomla!
- NOT FIXED (no count now though): IE7 & IE8 errors with this plugin