Author |
Topic |
|
Immanuel
New Member
64 Posts |
Posted - 21 August 2002 : 05:27:00
|
I am very new to having a website. I just installed 3.3305 less than a week ago. Today I removed it all and installed 3.4 instead. My forum wasn't official yet anyway. However testing 3.3305 I found out, that a users number of posts is not adjusted, when a thread/reply is deleted.
So this was one of the first things, I tested out in version 3.4. I made a member named Test. Test did a thread, wich he himself relied to 2 times. So:
Test had 3 posts = 75% of total I had 1 post = 25%
Now I deleted one of test's replies
Test had 3 posts = 100% I had 1 post = 33%
I deleted all of Test's thread
Test has 3 posts = 300% I have 1 post = 100%
While facts are: I have 1 post = 100%
------
I know the %-thing is new, but I think it still needs a little bit of finnishing touch.
Thanks for a great forum
Immanuel |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 21 August 2002 : 08:13:37
|
I think this results from then fact that, although the total post count is decremented when a delete occurs, the individual user post count is not. And this last part is how is has always been, since the understanding is that if a user post was made, it doesn't matter much whether it has been deleted or not.
Anyway, your observation may provoke a reflection on the need to update user's post count too when a deletion occurs. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 21 August 2002 : 08:43:28
|
quote: I think this results from then fact that, although the total post count is decremented when a delete occurs, the individual user post count is not.
This has been a manual operation on the admin page to update counts hasn't it? |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 21 August 2002 : 08:47:16
|
I think this would classify as a Bug, since if their are no forum posts, it should not really be calculating a percentage. |
|
|
Eugen
Starting Member
7 Posts |
Posted - 21 August 2002 : 08:51:21
|
Just an idea: maybe the "Update Forum Counts" does clear that? Although I'm not sure if it recalculates the amount of posts a user has...
Eugen
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 21 August 2002 : 09:00:07
|
This is certainly a bug or may be a design error. Keeping count of deleted posts at user level and forum level will help fix this problem. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 21 August 2002 : 09:09:00
|
quote: Originally posted by Eugen I'm not sure if it recalculates the amount of posts a user has...
Eugen
No it doesn't and is not supposed to, the user post count shows how many posts a user has made, not how many are currently in the forums.
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 21 August 2002 : 09:25:44
|
I removed the statistics part and left the link to view all non-archived posts by the user. There is really no way to accurately display that kind of stat. I do not see adding more db fields and extra processing just for 2 little stats. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 21 August 2002 : 09:43:10
|
no neither do I, I would just emove it if totalposts was 0 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 21 August 2002 : 09:47:19
|
I added:
if rs("M_POSTS") > 0 then . . . end if
around the section that displays the Posts count and link.
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 21 August 2002 : 10:01:32
|
it is the forum post count that sjould be checked not the user count, the problem is when M_POSTS > 0 but total forum posts is 0 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 21 August 2002 : 10:14:29
|
I've already removed the stats section, so that shouldn't matter anymore. |
|
|
James
Average Member
USA
539 Posts |
Posted - 23 August 2002 : 20:57:54
|
quote: Anyway, your observation may provoke a reflection on the need to update user's post count too when a deletion occurs.
I'm all for decreasing a user's post count if they, a moderator or the admin deletes their post manually. However, I think that normal deletion through the archive functions shouldn't affect the count. |
*Interested in Radio Control* *The RC Web Board - http://www.rcwebboard.com/* |
Edited by - James on 23 August 2002 21:00:04 |
|
|
|
Topic |
|