Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Comments count

edited August 2010 in Vanilla 2.0 - 2.8
I really don't understand why my description of the post is considered and counted as comment #1? It's a bit confusing, because when there is actually no comments, the comment counter shows 1 comment already. Is there a quick way to fix that and not count the first comment?
Tagged:

Comments

  • Options
    The post count plugin doesn't work properly. It only starts counting when you made your first topic. @Tim said he'll fix it, we just gotta be patient :)
  • Options
    If you want to show the number of actual comments in your BOOKMARKED panel, open the file \applications\vanilla\views\modules\discussion.php and change line No. 10 to read:

    echo '<span>'.(($Discussion->CountComments) - 1).'</span>';
  • Options
    @iznk Great tip, but remember that you can use custom views with your theme, there is no reason to edit the default file.

    Copy the said file into /themes/views/modules/ , then edit it ;)
  • Options
    Oh, nice! Thanks!
Sign In or Register to comment.