disqus

how can i limit showing comments in disqus comment box

余生颓废 提交于 2019-12-05 12:21:23
I put a disqus comment box in my website, but that shows all comments at once. I want to configure the limit of showing comments. How can I do this? On this page: disqus, the missing manual disqus_per_page Number of comments per page. 0 for no limit. Default: 25. With Disqus 2012, there's no supported way to limit the number of comments shown on a page. By default the pagination begins after 50 comments, however. 来源: https://stackoverflow.com/questions/14102939/how-can-i-limit-showing-comments-in-disqus-comment-box

“Cannot read property 'appendChild' of null” with Disqus on Backbone website

半城伤御伤魂 提交于 2019-12-05 08:32:30
I have a website on Backbone. When I try to execute Disqus code i get Uncaught TypeError: Cannot read property 'appendChild' of null How can I fix it? Why is this happening? var disqus_shortname = 'mysite'; /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); console: undefined embed.js:1 Unsafe attempt to redefine existing module:

Disqus in Ionic APP

可紊 提交于 2019-12-05 07:25:45
I am trying to implement disqus commments in my ionic app. I know I have to host it on the domain its setup for which I believe I have configured correctly. Any assistance will be welcomed Here is the code in my app.js for the ionic app $scope.showComments = function () { $scope.currentView = "comments"; //loadComments(params["shortname"], params["url"], params["title"], params["identifier"]); // var disqus_title = "Venue 1"; var disqus_identifier = '/venue/' + $stateParams.id; var disqus_url = 'liverpool.li/venue/' + $stateParams.id; var url = "http://liverpool.li/app/disqus.html?"; $scope

How do I disable or hide the unwanted Disqus ads on my website?

不问归期 提交于 2019-12-05 03:33:47
问题 Imagine that one day, suddenly, random ads started appearing on your website... Recently Disqus started forcing unwanted ads inside of the Disqus comments, displaying those nasty ads on your website(s) without your knowing. It seems that they only target the sites with "big enough" daily traffic or use some other arbitrary criteria, so the ads do not appear on all the websites, but only on relatively busy ones. This way Disqus "forces" you to upgrade to the paid subscription plan - for the

disqus— change 'comment' word

和自甴很熟 提交于 2019-12-04 16:44:40
how i can change 'comment' word to 'review' from total number of comment [ 6 comment ] -> [ 6 review ] You do this on the Disqus website, in "Settings" > "Appearance" ( http://your-site-slug.disqus.com/admin/settings/appearance/ ). Almost at the bottom of that page, you have the "Comment count link" setting, where you can change the text for zero, one or more comments. This is updated GUI you can find it "Settings" > "General" and if you need to remove 'comment' word you can't so you have to add something like this 0 <span></span> 来源: https://stackoverflow.com/questions/4573684/disqus-change

Disqus: change captions after success with jQuery

一个人想着一个人 提交于 2019-12-04 16:06:43
Disqus automatically places defined captions upon request. For example: Add new Comment I've tried to change its value with jquery on ready(): $('#dsq-new-post h3').text('Paticipa con tu cuenta favorita'); No success :( ... how can i know when disqus script is finished parsing the data so i can change the caption value of h3? BTW, this is Disqus' call: (function(){ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = 'http://xxxxxxxx.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0])

All of the disqus comments are showing up on all the blog pages

有些话、适合烂在心里 提交于 2019-12-04 15:10:21
I've built a blog type app. in django. And I'm trying to integrate DISQUS for comments using montylounge's django-disqus . But comments from all the blog posts are showing up on every blog page. What could be the problem ? I'm not sure how the django module integrates, but from a Disqus point of view it sounds like you're not setting a unique value for the "disqus_identifier" variable on each page. You need to have the variable instantiated like this: var disqus_identifier = 'blogpost_<BLOG POST ID HERE>'; before you include the disqus javascript files. Amazing Angelo You can try this. In my

Why are Chrome exceptions for third-party cookies not working (results in inability to use Disqus)? [closed]

你。 提交于 2019-12-04 04:22:08
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . So Disqus has not been working for me for some time, and they finally, handily, added a little notification that it's due to third party cookies being blocked. Great, I said, let's take care of that. So I added an exception for disqus.com to Chrome's preferences, but it does not seem to be working. I did this vis Preferences -> Advanced -> Content Settings -> Manage Exceptions, where I have added an

Getting Equal Height Columns jQuery Plugin and Disqus to Play Nice

走远了吗. 提交于 2019-12-04 02:00:27
问题 I decided that a JS solution (The EqualHeights Plugin) to equal height columns would probably be best in this case, but I'm having trouble with Disqus. As you probably already know, Disqus loads asynchronously. That's great and all (well, not really), but because the comments are loading after everything else, including the plugin, they're being chopped off. I can't figure out how to get around this. I actually tried a CSS "hack" to get equal height columns, hoping it wouldn't conflict with

How do I disable or hide the unwanted Disqus ads on my website?

℡╲_俬逩灬. 提交于 2019-12-03 17:08:01
Imagine that one day, suddenly, random ads started appearing on your website... Recently Disqus started forcing unwanted ads inside of the Disqus comments , displaying those nasty ads on your website(s) without your knowing. It seems that they only target the sites with "big enough" daily traffic or use some other arbitrary criteria, so the ads do not appear on all the websites, but only on relatively busy ones. This way Disqus "forces" you to upgrade to the paid subscription plan - for the paid users these ads become optional (i.e. you can disable them in your Disqus admin panel). What to do