disqus not loading with universal code

353 views
Skip to first unread message

kayo

unread,
Apr 1, 2012, 10:41:48 PM4/1/12
to Disqus Developers
I've integrated the javascript universal code onto a live page and
set disqus_shortname, disqus_identifier, disqus_url, disqus_title.

Disqus just doesn't show up. I used firebug to ensure that disqus code
was being executed and that the above vars were correctly set.

The javascript snippet and vars is the only thing that needs to be
done, right?

kayo

unread,
Apr 3, 2012, 10:24:00 PM4/3/12
to Disqus Developers
Hi

I get the feeling like I've missed a step but can't put my finger on
it.
Gone through the universal code docs over again and still no luck.

Anybody got any suggestion?

neoascetic

unread,
Apr 3, 2012, 10:32:48 PM4/3/12
to disqu...@googlegroups.com
Did you create <div id="disqus_thread">?

kayo

unread,
Apr 4, 2012, 8:32:59 AM4/4/12
to Disqus Developers
Thanks for your reply. Yes, <div id="disqus_thread"> is included on
the top. I've again gone through the instructions on
http://docs.disqus.com/developers/universal, but cant find out whats
wrong. I've also inspected the dom in firebug to see if any content
was being injected into <div id="disqus_thread"> but there was none

Here is what the script on my page looks like. This is the *only*
disqus related code on just this single page of the site - I hope I
haven't missed anything.

<div id="disqus_thread"></div>
<p><script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR
WEBPAGE * * */
var disqus_shortname = 'example_shortname'; // required: replace
example with your forum shortname
var disqus_identifier = '/blog/support/support'; // identifier
var disqus_url = 'http://www.flash-banner-converter.com/blog/
support/support';
var disqus_title = 'Support';
(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><noscript>Please enable JavaScript to view the <a
href="http://disqus.com/?ref_noscript">comments powered by Disqus.</
a></noscript><a href="http://disqus.com" class="dsq-brlink">blog
comments powered by <span class="logo-disqus">Disqus</span></a></p>
Reply all
Reply to author
Forward
0 new messages