Disqus Comments not Working in Thesis 2

Disqus Comments not Working in Thesis 2Most of you must have seen me using the new Thesis 2 design on Best 2 Know and also Disqus Comments with it, but usually the Disqus comments does not properly work with Thesis 2, well it is pretty irritating that we install a new platform and try to improve everything, but the Disqus WordPress plugin unable to display Comments on the Posts or just display same comments on every posts

Well as far now I m Satisfied with the new Design and new Platform but the Disqus comments did take a time to get fixed, well the problem was actually pretty small, but I guess you might have heard it is the small things that takes time then the big things. Like that it took me sometime to fix it but it was fixed.

I even tried contacting the Disqus support thinking it was a problem from their side but it was my bad luck that they had the holiday for their support staff that day and it wasn’t going to be up for 3-4 upcoming days so I had to take the matters in my own hand, so I went in search of answer and then took the look at the source code and found out the problem was actually that thread ID was not getting Registered it used to undefined. So again went through the Plugins source code and found the solution to the problem.

Well without wasting anymore time let’s go and solve the Disqus Comment problem :

  1. Open disqus.php in the Plugin Editor
  2. Search for the below code :
    function dsq_identifier_for_post($post) {
        return $post->ID . ' ' . $post->guid;
    }
  3. Replace the above code with the below code :
    function dsq_identifier_for_post($post) {
    global $post;
        return $post->ID . ' ' . $post->guid;
    }
  4. Click on Update File button

I guess this might have helped you to solve the Disqus comment not working Problem you have got your comment system up and running perfectly.

I have also found an Alternative to it is Disqus Comment box for thesis 2.

If you do not have Disqus comment then I guess you should give it a try it is really good and I m currently really happy with it.

Subscribe Now

Enter your email address:

  • secondg

    Thank you so much! That was an easy fix and worked right away. Appreciate you taking the time to help :)

    Mike

    • http://www.best2know.info/ Ritesh Sanap

      Well, I also had same problem as others so I thought of helping them with posting the solution to solve the problem

  • http://www.preppypanache.com/ Rebecca {at} Preppy Panache

    All of a sudden my comments broke and after 12/30 they no longer show up and have the error message below. I tried your fix above, but I’ve been on thesis 2 since I started using disqus and unfortunately it didn’t help.

    Was wondering if you knew what this error meant:
    Warning: include_once(/home/preppypanahce/preppypanache.com) [function.include-once]: failed to open stream: Success in /home/preppypanahce/preppypanache.com/wp-content/themes/thesis/lib/core/skin/boxes.php on line 1968

    Warning: include_once() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/preppypanahce/preppypanache.com/wp-content/themes/thesis/lib/core/skin/boxes.php on line 1968

    • http://www.best2know.info/ Ritesh Sanap

      I would suggest to re-install your thesis 2 theme manually because it seems a file is missing or cannot be included for the theme to work., if it is still not resolved also try to re-install disqus wordpress plugin

      • Ramesh Singh

        I am also experiencing the same issue but not on all post. Tried your steps but it didn’t work.

        • http://www.best2know.info/ Ritesh Sanap

          If you can mention the link to your site, I might take a look at it.

© 2007-2013 Best 2 Know – The Ultimate Blogging Resource
The content is copyrighted to Ritesh Sanap and may not be reproduced on other websites.