This project is read-only.

Discus has disappeared!!

Topics: Controls, Themes
May 3, 2012 at 11:47 AM

Hi Folks,

I've recently changed my theme from LiquidNautica to WildNature and I've noticed that the discus comments no longer appear on the blogs. You can see that discus to trying to load but then disappears when the comments should appear?

Does anyone have any ideas?



May 3, 2012 at 6:49 PM

First make sure your new theme supports disqus comments. Here is example from PostView.ascx in standard theme:

<% if (BlogEngine.Core.BlogSettings.Instance.ModerationType == BlogEngine.Core.BlogSettings.Moderation.Disqus)
   { %>
<a rel="nofollow" href="<%=Post.PermaLink %>#disqus_thread"><%=Resources.labels.comments %></a>
   { %>
<a rel="bookmark" href="<%=Post.PermaLink %>" title="<%=Server.HtmlEncode(Post.Title) %>">Permalink</a> |
<a rel="nofollow" href="<%=Post.RelativeOrAbsoluteLink %>#comment"><%=Resources.labels.comments %> (<%=Post.ApprovedComments.Count %>)</a>   
<%} %>
This checks if you are using disqus and adds disqus thread if you do. You can easily add this to your theme if is missing this code.