Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 problem with % posts in profile
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Immanuel
New Member

64 Posts

Posted - 21 August 2002 :  05:27:00  Show Profile  Visit Immanuel's Homepage
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  Show Profile  Send ruirib a Yahoo! Message
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
Go to Top of Page

alex042
Average Member

USA
631 Posts

Posted - 21 August 2002 :  08:43:28  Show Profile  Send alex042 an AOL message  Send alex042 a Yahoo! Message
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?
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 21 August 2002 :  08:47:16  Show Profile  Visit HuwR's Homepage
I think this would classify as a Bug, since if their are no forum posts, it should not really be calculating a percentage.
Go to Top of Page

Eugen
Starting Member

7 Posts

Posted - 21 August 2002 :  08:51:21  Show Profile
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

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 21 August 2002 :  09:00:07  Show Profile
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.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 21 August 2002 :  09:09:00  Show Profile  Visit HuwR's Homepage
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.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 21 August 2002 :  09:25:44  Show Profile
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.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 21 August 2002 :  09:43:10  Show Profile  Visit HuwR's Homepage
no neither do I, I would just emove it if totalposts was 0
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 21 August 2002 :  09:47:19  Show Profile
I added:

if rs("M_POSTS") > 0 then
.
.
.
end if


around the section that displays the Posts count and link.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 21 August 2002 :  10:01:32  Show Profile  Visit HuwR's Homepage
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
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 21 August 2002 :  10:14:29  Show Profile
I've already removed the stats section, so that shouldn't matter anymore.
Go to Top of Page

James
Average Member

USA
539 Posts

Posted - 23 August 2002 :  20:57:54  Show Profile  Visit James's Homepage
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07