Comment counts 1 short

Hi --

All of the comment counts on my Vanilla forum (2.1b) in my Stats Box are displaying off by 1.. 0 comments = -1, 2 =1, etc. Is there a known fix for this?

Comments

  • replace the-1 with 0 in the stat box plugin

  • Perfect thanks.. any idea why that was in there?

  • no, but it happened to me and that is how I fixed it :)

  • peregrineperegrine MVP
    edited June 2013

    aha - another question asked about a plugin that doesn't mention the author of the plugin or the title of the plugin in title.

    suggestions

    • 1 ask your question under the plugin.
    • 2 put the name of the plugin in the title if you are going to make it impossible to find the discussion the easy way (number 1) by placing it in the correct area. arrgh!

    since the title doesn't refer to the plugin there is no tag and question is not located under the plugin - this will be asked endlessly because the discussion will be lost in space.

  • I think he was using hgtonight's statsbox plugin. But the vote plugin does it too...

    http://vanillaforums.org/discussion/23781/feedback-for-plugin#latest

  • peregrineperegrine MVP
    edited June 2013

    well then he should add a link under the stats box plugin to this discussion if he wants to help anybody else find the darn answer.

    but that might be asking too much of someone. :(

  • Sorry guys! I was using the Statsbox plugin my apologies!

  • I think it is confusing because it requires that you click ask a question from the plugin's page. Maybe there should be a notice explaining this?

  • peregrineperegrine MVP
    edited June 2013

    I think it is confusing because it requires that you click ask a question from the plugin's page. Maybe there should be a notice explaining this?

    well, ask the question under the plugin, change the category to feedback and post the link.
    or post a link under feedback discussion that already exists - so that @hgtonight is aware of it.

    it was indeed a question originally, wasn't it?

    It's not overly challenging.

    done.

  • Just noticed this. Thanks for the mention @peregrine.

    Remove the -1 from line 43 if class.statsbox.plugin.php. I will fix it once i get back to my computer.

  • @hgtonighthgtonightsaid:Remove the -1 from line 43 if class.statsbox.plugin.php. I will fix it once i get back to my computer.

    Thanks !!

  • Version 1.2.1 fixes this.

Sign In or Register to comment.