Posted on Friday, May 12, 2017
1. What is DISQUS?
DISQUS is the commenting system which is popular in the field of blogging site. It makes much easier for the web publishers to manage comments as they do not require developing, integrating and maintaining comments in their websites.
2. Why to use?
We often need our website to allow user comment to have communication with them. So, instead of designing, developing and maintaining our own comment system, it will be much better to use that already exists which will save our time enormously and allowing us to focus only on our main idea i.e. blogging for instance.
Further, DISQUS is a very popular system used by millions of publishers.
3. Steps on integrating it:
Following are the steps on how to integrate Disqus:
i. Create a Disqus account. Click here to sign up.
Note: A verification email will be send to your email so you need to verify.
ii. After sign up, you will be directed to new page (Account Created) with two anchor elements:
iii. Click on “I want to install Disqus on my site”.
iv. In the new page (Register Site)
v. Again, in the new page
a. Select a plan:
On Basic section, click “Continue on Basic” (it is free :D). You can choose other depending on your site requirements.
b. Select Platform:
Click “I don’t see my platform listed, install manually with Universal Code” from the bottom of the page.
c. Install Instructions:
Copy the code from the label 1 on your views file that you want the disqus to load.
Now, you need to update only the following configuration variable section. Do not edit other section. Look at an example below:
var disqus_config = function () {
this.page.url = "http://www.topman.com.np/Blog/Details/@Model.WorkId";
this.page.identifier = "Blog/@Model.BlogId";
};
“http://www.topman.com.np/Blog/Details/@
Model.BlogId”
where BlogId value will be dynamically loaded for different blog."Blogs/@Model.BlogId"
https://help.disqus.com/customer/portal/articles/472098-javascript-configuration-variables
https://help.disqus.com/customer/en/portal/articles/2158629
http://stackoverflow.com/questions/36605638/why-are-disqus-comments-not-loading-over-https
http://stackoverflow.com/questions/10936984/what-happens-if-someone-else-uses-my-disqus-shortname