Jump to content

Post count bug?


Recommended Posts

I just realized that KingPhilip has over 8,000 posts. Last I noticed he had significantly less, somewhere around 2,000. If you view the list of his posts there's only 134 pages, at 15 per page that's about 2010.

 

Is this a bug with SMF, or was someone messing with the database, or what?

Link to comment
https://forums.phpfreaks.com/topic/208915-post-count-bug/
Share on other sites

It does seem excessive but, KingPhilip had been a mod (?), so allot of posts could be out of view or even just simple 'thread moved' posts. I haven't time atm or I'd run a query or two and take a look.

 

I know for a fact that something like 30% of my posts are those 'topic moved' things.

Link to comment
https://forums.phpfreaks.com/topic/208915-post-count-bug/#findComment-1091250
Share on other sites

The totals are all a bit mixed when you look at the actual db.

 

mysql> select posts from smf_members where member_name = 'thorpe' limit 1;
+-------+
| posts |
+-------+
| 23201 | 
+-------+
1 row in set (0.00 sec)

mysql> select count(id_msg) from smf_messages where poster_name = 'thorpe' limit 1;
+---------------+
| count(id_msg) |
+---------------+
|         22931 | 
+---------------+
1 row in set (0.01 sec)

mysql> select count(id_msg) from smf_messages where poster_name = 'thorpe' AND subject LIKE '%MOVED%' limit 1;
+---------------+
| count(id_msg) |
+---------------+
|          1515 | 
+---------------+
1 row in set (2.28 sec)

 

 

Link to comment
https://forums.phpfreaks.com/topic/208915-post-count-bug/#findComment-1091274
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.