Previous Thread
Next Thread
Print Thread
Hop To
Possible bug in counting posts #261603 08/11/2018 1:28 PM
Joined: Oct 2007
Posts: 267
Baldeagle Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: Oct 2007
Posts: 267
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 1:29 PM.

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

UBBThreads 7.7.3
Web Server Apache/2.4.37
PHP Version 7.2.19
MySQL Version 5.6.38
Database Size 2.23 GB
Re: Possible bug in counting posts [Re: Baldeagle] #261604 08/11/2018 2:20 PM
Joined: Dec 2003
Posts: 5,998
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,998
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 3: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 [Re: Baldeagle] #261605 08/11/2018 2:41 PM
Joined: Oct 2007
Posts: 267
Baldeagle Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: Oct 2007
Posts: 267
Thanks for the info.


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

UBBThreads 7.7.3
Web Server Apache/2.4.37
PHP Version 7.2.19
MySQL Version 5.6.38
Database Size 2.23 GB

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Mobile app?
by Baldeagle - 12/06/2019 9:32 PM
How do you change Text Line spacing?
by jorb - 11/23/2019 12:14 AM
What happened to FAQ or Forum Help
by Ruben - 11/20/2019 11:58 AM
Search feature encountering an Error message
by jorb - 11/20/2019 12:06 AM
UBB Dev
by JAISP - 11/03/2019 11:01 AM
Who's Online Now
0 registered members (), 91 guests, and 448 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
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
(Snapshot build 20191023)