Previous Thread
Next Thread
Print Thread
Hop To
Possible bug in counting posts
#261603 08/11/2018 2:28 PM
Joined: Oct 2007
Posts: 280
Likes: 2
Enthusiast
OP Offline
Enthusiast
Joined: Oct 2007
Posts: 280
Likes: 2
I've configured our board so that new members have to have four posts approved before they can post without moderation. This was done to catch spammers before they post to the board. Recently a possible bug was discovered.

We sometimes have new users who will post the same thing several times. They obviously haven't read the terms (not unusual), so when their post doesn't show up, they post it again. We recently had a new member who did that three times. Our moderators will generally handle this by approving the first post and deleting the other two. However, when checking the member's account, it lists 3 posts, not one, even though two were deleted.

ISTM the post count is set when a post is made (before it's approved) and not unset if the post is later deleted. This would mean that the post count doesn't accurately reflect the members' actual post counts. Shouldn't post count be decremented with each post deletion?

All our system details are in my signature.

Last edited by Baldeagle; 08/11/2018 2:29 PM.

The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

UBBThreads 7.7.3
Web Server Apache/2.4.41
PHP Version 7.2.23
MySQL Version 5.6.45
Database Size 2.06 GB
Re: Possible bug in counting posts
Baldeagle #261604 08/11/2018 3:20 PM
Joined: Dec 2003
Posts: 6,146
Likes: 22
Online Yawn
Joined: Dec 2003
Posts: 6,146
Likes: 22
This has been the case for a long time with prior versions..
The permission just counts raw initial post counts moderated or not, deleted or not and increments the post count for the user
So it works just like you found.
If you have set the first 5 posts moderated after that not..
Then all the user needs to do is post 6 posts where the sixth post shows.
Even if 5 of the posts were deleted by moderators.
The only feature that resets the member post counts is in the rebuilder area of the cp.(Rebuild Post Counts)

Which becomes another issue.
When you finally run the rebuilders long time members complain when they had like 5000 posts and now show only 3000( as a example).Due to deleted posts over time.

It really should be part of the cache system that runs it on a regular basis.
So members don't notice it so much.

It probably is not considered a bug per say but a design flaw or enhancement since it has been there since the 7.x series started.
I can only recall from memory one member posted a issue with this design.in the past several years.

Last edited by Ruben; 08/11/2018 4:08 PM. Reason: Added Comment.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: Possible bug in counting posts
Baldeagle #261605 08/11/2018 3:41 PM
Joined: Oct 2007
Posts: 280
Likes: 2
Enthusiast
OP Offline
Enthusiast
Joined: Oct 2007
Posts: 280
Likes: 2
Thanks for the info.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

UBBThreads 7.7.3
Web Server Apache/2.4.41
PHP Version 7.2.23
MySQL Version 5.6.45
Database Size 2.06 GB

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Followed Threads
by FREAK - 07/13/2020 9:13 PM
Can't Delete or Add New Forum
by FREAK - 07/13/2020 8:25 PM
Non-Admin users can't see attached pictures
by jjjjj - 07/11/2020 8:09 PM
[NOTABUG] Report Post bug..
by Morgan - 07/05/2020 1:48 PM
Trial Subscription question.
by Ruben - 07/03/2020 2:34 PM
Who's Online Now
4 members (auelboard, Ruben, FREAK, 1 invisible), 67 guests, and 42 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4