| Author |
Post |
|
|
#1 Thu Nov 29, 2007 3:32 am
|
|
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
|
Hi,
I cleaned out (deleted) every post from my board when I changed it to another forum and even though I only made 1 post, this shows in the stats box:
This board contains 1 posts in 3 topics and has 3 registered members (2 are test accounts).
In Profile, it says I have 2 and if I do a search member's post, it only shows 1 post.
On the index page, it shows 1 in both Topics and Posts.
Any ideas?
|
|
|
#2 Thu Nov 29, 2007 3:48 am
|
|
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
|
I corrected the values via phpmyadmin to the correct value of 1 in the two affected tables (stats and members) and now shows the correct values in the stats box and profile. Was this the right thing to do?
|
|
|
#3 Thu Nov 29, 2007 7:13 am
|
|
Member
Registered: May 2005
Posts: 292
Location: Washougal, WA
|
Best to run this in admin SQL Toolbox. UPDATE usebb_stats SET content = 0 WHERE name = 'topics' OR name = 'posts' Changing usebb to what you have. Add: you can change post number in admin by edit members. « Last edit by William on Thu Nov 29, 2007 7:15 am. »
|
|
|
#4 Thu Nov 29, 2007 7:26 am
|
|
Member
Registered: May 2005
Posts: 292
Location: Washougal, WA
|
Something else that may come in handy http://www.usebb.net/community/topic-931.html (last post, 2nd code area) Also use in admin SQL toolbox.
|
|
|
#5 Thu Nov 29, 2007 10:38 pm
|
|
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
|
Thanks William,
Even though I had corrected (reset) the posts and topics count using phpmyadmin, I still ran the above query.
Know of a way to reset the "Next Autoindex" in the posts table to 0? I don't have any posts in there and the next one will be # 16. Not that it's really important but what the heck...
I'm a darn darn perfectionist... Gene
|
|
|
#6 Thu Nov 29, 2007 11:28 pm
|
|
Member
Registered: May 2005
Posts: 292
Location: Washougal, WA
|
Guessing, would have to do... 
|
|
|
#7 Fri Nov 30, 2007 12:23 am
|
|
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
|
Thanks! Worked great! Reset the topics count.
Gene
|
|
|
#8 Sat Dec 01, 2007 9:14 pm
|
|
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
|
Guess i can do the same with the user number? I have 2 members (admin and test account) but if I register a new account, it shows id=16.
Gene
|
|
|
#9 Sat Dec 01, 2007 9:58 pm
|
|
Moderator
Registered: Oct 2005
Posts: 425
Location: canada
|
Yes, you'll have to reset the Auto-increment amount down
|
|
|
#10 Sat Dec 01, 2007 10:30 pm
|
|
Member
Registered: May 2005
Posts: 292
Location: Washougal, WA
|
Yup, just use... ALTER TABLE usebb_members AUTO_INCREMENT = 3 As long there is only 2 members.
|
|
|
#11 Sat Dec 01, 2007 10:41 pm
|
|
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
|
Thanks William
I'm still learning... LOL!
Gene
|
|
|
#12 Mon Dec 03, 2007 6:31 pm
|
|
Developer
Registered: Apr 2004
Posts: 2180
Location: Belgium
|
I will read, check and eventually fix this bug (report) soon. No time for now, sorry.
|
|
|
#13 Mon Dec 03, 2007 10:45 pm
|
|
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
|
No big deal, only a very small annoyance...
Thanks, Gene
|
|
|
#14 Wed Dec 26, 2007 2:02 pm
|
|
Developer
Registered: Apr 2004
Posts: 2180
Location: Belgium
|
I quickly checked this bug but there doesn't seem to be any errors in the code concerning counting topics and posts. Just note that when pruning forums, user post counts are not recounted in v1. Moved to Help & Support.
|