This panel will only appear for your first 0 posts

AI-generated summary

A user, meglio, reported that setting educate until posts to 0 didn’t disable the education popup as expected — instead, it displayed a panel saying “This panel will only appear for your first 0 posts,” which is logically incorrect. IAmGav suggested clearing the field entirely rather than setting it to 0. leonardo asked follow-up questions to diagnose the issue, suspecting a negative post count might have been introduced — possibly due to a topic-to-PM conversion — pointing to a code bug in topic_converter.rb. meglio agreed that negative counts shouldn’t be possible, and leonardo confirmed it’s a code bug missing a 0-check. Later, leonardo reported the issue has been fixed: negative post counts and related display glitches no longer occur.

I tried to disable the education popup by setting educate until posts to 0. However, the result is this:

1 Like

i might be mistaken, but try just clearing the box. dont put any value in.

2 Likes

Hi Anton!

two questions:

  • what were you composing? A new topic, or a reply in an existing topic?
  • By any chance, did you previously convert a topic to a private message in that forum?

I’m thinking that this caused your UsetStat.post_count (or topic_count) to become negative:

7 Likes

I don’t remember, sorry, was quite a time ago now. I mean, it’s obviously an issue in the code if it can become negative, right?

1 Like

yep, bug in the code; a 0 check is missing somewhere.
No worries; I’ll look into this soon.

4 Likes

hi Anton!
We fixed this in the past few days; you won’t see any more negative post count wonkyness :slight_smile:

5 Likes

This topic was automatically closed after 2 days. New replies are no longer allowed.