Home » 2013 » April » 16
As you probably know I am using Disqus comment system. Everything was going well until I noticed that my comments were not being counted. I had six comments for a particular blog post and it was showing 0 comments. I immediately contacted Disqus. They sent me to the comment count code page. However, I had installed the comment count code but it was in the wrong place. Also, I was finding it very difficult to append the disqus_thread to my href link. I did not understand what they were talking about because Ucoz's code is different from what I was used to it looking like. I searched relentlessly online for some help. The only thing that came up was help with blogger or wordpress. Neither was beneficial to me. I was extremely frustrated. I asked for help through Ucoz's support forum and I was able to get the help that I needed. I wanted to share this to save someone all the trouble and frustration that I went through. It's really not that hard.

First, you have to add the code below at the bottom of your blog main page right before closing the </body> The blog main page is considered the index page. Make sure you change the disqus_shortname with your forum name login to Disqus and click on settings. There you will find your forum name highlighted in pink. In the code replace 'example' with your disqus shortname. Click save.

  1. <script type="text/javascript">
    var disqus_shortname = 'example'; // required: replace example with your forum shortname

    /* * * DON'T EDIT BELOW THIS LINE * * */
    (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);

Go to blog - Appearance of entries find this code | <a href="$COMMENTS_URL$">Comments ($COMMENTS_NUM$)</a>

and change to this  <a href="$ENTRY_URL$#disqus_thread">Comments</a> 

Click save. That's it! Your done! Your comment count link will now display your correct number count. I saw help all over the internet for help with this with other blogging platforms but nothing for Ucoz. So, if you are thinking about using Disqus with your Ucoz blog/site just know that you can!
Category: Blogging | Views: 2238 | Added by: Maketta | Date: 2013-04-16 Comments