DISQUS

Community Page on DISQUS

what is this?

DISQUS Blog

The official Disqus forum. This is the place to receive beta support and offer suggestions.
« Back
Author

Integration of Disqus into sites that are not "blogs"

Started by siddhu · 1 month ago

However I have some very precise questions about the integration of Disqus into sites that are not typical "blogs", but use a blog type structure for content.

If a site has multiple different sections, do we have to set up different "accounts" on Disqus for each section of the site, or does your system just require the base URL for the site, and then lets us input the separate sections.

For example, one of the sites will have a blog, and also three completely different sections for audio production tutorials (each section features tutorials for different production software).

Another site for an artist client of mine will have a blog, a music section, and a video section. We want fans to be able to comment in each section, and on each posting in the respective sections.

How is this possible with Disqus?

The sites I'm interested in using are all Running ModX. A brilliant CMS paltform that is absolutely the best in terms of templating and separating code from content.

21 comments

  • Hi Siddhu,

    You can create multiple categories for different sections of a
    website. This is done here: http://disqus.com/extras/

    This allows you to structure your comments appropriately. You can see
    an example on our own site: http://disqus.disqus.com
  • This is cool, but I've not been able to figure out how you assign categories to the comments. I've been able to make categories, but the only category getting populated by comments is the General. Any advice?
  • We will be updating the documentation to describe the steps. If you
    are using the newest WordPress plugin, this is not yet possible.
  • Actually, I use Tumblr and Drupal. I can figure it out on neither. Thanks.
  • Yes but what about if I want everything to be on my site as opposed to Disqus?
  • The comments stay on your website.

    Have you tried the installation yet? It's straight-forward and
    explains it better than I could in words.
  • The installation available to me since I am not using one of your supported blogging softwares is the " Javascript code snippet for a custom integration".

    All this does is prove a link to my site's Disqus URL.

    Is there a different more full featured install or code that I can grab from somewhere?

    Is the only way to do an install on a CMS that you do not support via the API?
  • Daniel,

    Thanks for all you speedy replies!

    I've seen that FAQ before and seen that you refer to it on multiple occasions.

    But how does that help me with my questions as it is talking about working with a site that is offline not a fully functioning site?

    I'll ask my question again:

    Is the only way to do have a full featured install of Disqus on a site that is not on a supported CMS/blogging software such as Wordpress or MovableType via the API?
  • Hi Siddhu,

    You can use the Javascript code. Using the API is not necessary.

    This was mentioned in your last post: "All this does is prove a link
    to the my blog's Disqus URL." I assumed (perhaps incorrectly) that it
    was because this was a development site. Disqus displays that URL if
    we cannot access the URL of the page.

    This could be because:
    1) It is still local
    2) It is password protected
    3) The URL is invalid.

    Providing that parameter will bypass the URL validation. Let me know
    if I'm still entirely off-base.
  • Duh,

    User error!! My site was password protected so I tested the code on a different server and Voila...it works!

    Sorry but I did not realize that the site being password protected would make a difference (not much sleep in the last 48 hours!).

    So what is the step to get the comments to show up in the correct categories. What is there code that needs to be modified?
  • I found an earlier post via Google about my question regarding categories.

    It's here: http://disqus.disqus.com/some_basic_help/

    Daniel,

    In this post you mention modifying the javascript so that we can assign posts to categories.

    Could you give us those instructions here? It may save you having to re-answer over and over the same question. :-)
  • You can pass in this variable:

    var disqus_category_id = "###";

    Where ### is the numerical id of the category.

    For example, the category id for "Support Desk", 218, is found on its
    URL: http://disqus.disqus.com/c/218/
  • Do I add this code into my existing js code that was generated for me or somewhere else ? What do I do with this snippet?

    That's kind of what I was asking.

    Again thanks for your help.
  • Add it in the <HEAD> section, where the rest of your Javascript is. Make sure it's the right script tags.

    If you're not familiar with Javascript, I can elaborate.
  • Please elaborate!

    That's exactly what was confusing me.

    As there is no script being placed between the headers, just the JS code that was generated and is placed in the body of my HTML template, I don't understand where "var disqus_category_id = "###";" supposed to go.

    Obviously if it needs to be part of a larger chunk of code which can be found where?
  • <head>
    <script type="text/javascript">
    var disqus_category_id = "###";
    </script>
    </head>

    Looks like that.
  • You are the man! I'm loving life right now!
  • Hi Daniel,

    OK great. I followed your very simple instructions and placed the code in my template.

    The numerical ID for the category I want to use is 25594.

    The disqus url is: http://kamasutralovers.disqus.com/c/25594/

    The code I placed between the <head> tags is:

    <script type="text/javascript">
    var disqus_category_id = "25594";
    </script>

    However the comment still shows up in the general category (numerical ID = 25592) and not the music category.

    What am I doing wrong. It seems so simple!!
  • Hi siddhu,

    I forgot to note that if the thread was already created, it needs to
    be removed first.

    Proceed to disqus.com/dashboard and toggle "Manage Threads" and remove
    it first. Then reload the page. Hope that helps!
  • Mission Control we have lift off.

    Many thanks to you Daniel!

Add New Comment

Returning? Login