flarum / framework

Simple forum software for building great communities.
http://flarum.org/
6.4k stars 833 forks source link

Problem with post and discussion counters #1722

Closed manaszon closed 5 years ago

manaszon commented 5 years ago

Current Behavior If you create a discussion and then you delete it (permanently), the number of your posts and discussions will stay at 1 (if you had 0 at start) but you can't see the posts and discussion (of course). The post is not deleted from database neither.

Steps to Reproduce

  1. Create a new discussion
  2. Delete it permanently
  3. Check your profile

Screenshots At the start we have 0 posts and 0 discussions.

Then we create a discussion, so we have 1 post and 1 discussion. That's good.

But after we delete the discussion, we still have 1 post and 1 discussion.

Environment

franzliedke commented 5 years ago

Do we consider this a bug or a feature? At FluxBB, we always only incremented these counters (though a manual reset by admins was possible).

PeopleInside commented 5 years ago

Maybe admin should have a reset button under the user profile. I saw the same "issue" on my install ... for fix i need to edit the user database table... so maybe something for reset on user profile from admin should be implemented.

franzliedke commented 5 years ago

Also closing this as duplicate of flarum/issue-archive#321.