Scribbish Spam Comments in Typo
We've been getting a bunch of comment spam lately and they are still displayed when correctly marked as spam in Typo 4.0.3 with the Scribbish 2.0 theme. I believe this is fixed in Scribbish 3.0, but I'm not sure if it's compatible with our version of Typo. Here's a small patch to the Scribbish theme that only displays published comments instead of all comments.
<ol id="comments" class="comments">
- <% for comment in @article.comments -%>
+ <% if @article.published_comments.any? -%>
+ <% for comment in @article.published_comments -%>
<li class="comment" id="comment-<%= comment.id %>">
<div class="author">
<%= content_tag(:div, gravatar_tag(comment.email)) if config_value(:use_gravatar) and comment.email %>
<%= comment_html(comment) %>
</div>
</li>
+ <% end -%>
+ <% else -%>
+ <li class="dummy_comment" style="display:none">No comments</li>
<% end -%>
</ol>
People still use Typo?
Looks like it.
I believe we were on it before Mephisto came out and we haven’t had enough problems with Typo to look for a replacement.
Sorry. Bad joke. I meant no harm. Apologies.
No harm done. No apology necessary.
Why did people move away from Typo? We just use it as a blogging tool, and it seems to work fine for us. What deficiencies are we not seeing?
Thanks I am new to rails and looking to move to Typo after one too many WordPress hacks. When you loose your entire site you realise that those guys don’t have a clue what they are doing.
Thanks I am new to rails and looking to move to Typo after one too many WordPress hacks. When you loose your entire site you realise that those guys don’t have a clue what they are doing.